Redirecting back to default.php

Permalink
Hi,
I am trying to figure out how to get non concrete5 page (html) redirect to default.php page in same theme folder.
I have create unique page called price.html (price list) sharing same theme folder with default.php and I was able to get link redirecting from default php to price.html with this code.
<a class="btn grybtn" href="<?=$view->getThemePath()?>/price.html" role="button"> View Our Price</a>

But I am unable to get price.html page redirect back to homepage (default.php) with this code....
<a class="btn wbtn" href="default.php#ourTeam" role="button">Go back</a>


And I am assuming its because the price.html do not have "loader or execute" any solution for this? suggestion or sharing your thought is appreciated. Thanks in advance. Bear with me, I am still learning how to build C5 theme myself.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi APrather,

What version of concrete5 are you using?

As an alternative to linking to an .html file, you could create a new page within concrete5 and add your price list using an HTML block (not the full .html content, just the price list).

This would allow you to set up your links within concrete5, instead of in your files.

Also, default.php is a template file, not a page in your site, so the link in price.html "default.php#ourTeam" won't be valid.
APrather replied on at Permalink Reply
Hi Thank you for replying...
I am using latest version of C5, (5.7.4.2) i think... You see i am creating one page template, Using hashtag (#section) on from the nav will bring to a specific section of content instead have to scroll and scroll.

So are you saying C5 does not have capable of adding hashtag feature, or developing one page theme?

Thank in advance.
MrKDilkington replied on at Permalink Reply
MrKDilkington
If you would like an example of a one page theme, I recommend looking at this one.
http://www.concrete5.org/marketplace/themes/long-story-short1...
APrather replied on at Permalink Reply
Well, I was hoping there was some manual or tutorial to learn rather than buying it. Thanks for help, Just found alternatives.