WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Link to top page ?
(1/1)
Tinke:
Hello :-D
I have a little problem.
I should get a "go back link" to my layout, but I can think of no idea how to do this.
WebsiteBaker menu is like this:
Home
Products
- books
- comics
- Donald Duck
- Mickey Mouse
- Goofy
- novels
- videos
- other
Map
Contact
The question now is how I get on a link that will always link to a higher level.
if I'm Donald Duck page shows a link to comics page, if I'm Goofy page shows a link to comics page, if I'm videos page show link to Products page.
If I am the top-level link is not displayed.
This code does not work correctly.
echo '<a href="'.$_SERVER["HTTP_REFERER"].'"><strong>« Go Back</strong></a>';
I'm not very good at English. I hope you understand. :-D :-D
Regards,
Tinke
Tinke:
WOOW !
Just installed my WB 2.8 and droplets are good!
Thank you for developers Bakery Website!
Navigation
[0] Message Index
Go to full version