Auto 'Back' button on nested pages.

Permalink
Hi Guys, this might or might not be possible.

I have a site that I want to build in Concrete, but on third level pages we want a 'back' button to appear instead of displaying the third level in the navigation.

Is this possible?


Thanks

 
creativeorange replied on at Permalink Reply
creativeorange
I use a javascript back button.

<!--- HTML Version. You can use your own graphic-->
<a href="#" onClick="history.go(-1)">Back</a>


<!-- Form Button--->
<input type=button value="Back" onClick="history.go(-1)">

My only warning is that is only goes to the previous page in the browser history so if someone enters your third level page from a third party link and they hit the "back" button, they go back to the previous site. It also gets wonky when you using it as your developing otherwise, it works nicely!
syntagm replied on at Permalink Reply
syntagm
Although this is an old reply I just used it and it works.
Thank you to the original contributor....?Chris
jordanlev replied on at Permalink Reply
jordanlev
If you want the "back" button to link to the parent page, you can add some code to your page type template:
http://c5cookbook.com/recipes/link_to_parent_page...

-Jordan