WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Link to top page ?
  • Print
Pages: [1]   Go Down

Author Topic: Link to top page ?  (Read 3911 times)

Offline Tinke

  • Posts: 32
Link to top page ?
« on: October 30, 2009, 08:25:25 AM »
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>&laquo; Go Back</strong></a>';

I'm not very good at English. I hope you understand.  :-D :-D

Regards,
Tinke
Logged

Offline Tinke

  • Posts: 32
Re: Link to top page ?
« Reply #1 on: October 30, 2009, 09:36:31 AM »
WOOW !
Just installed my WB 2.8 and droplets are good!

Thank you for developers Bakery Website!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Link to top page ?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2