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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 »
  • hardlink Menu
  • Print
Pages: [1]   Go Down

Author Topic: hardlink Menu  (Read 3615 times)

paulvincent

  • Guest
hardlink Menu
« on: June 04, 2009, 06:52:44 PM »
Hello Communiy,

i´ve got one more question: I have a "hardcoded" menu, every link is like this:

Quote
<li><a href="index.php" id="start"><span></span>Start</a></li>

The problem comes with all pages which are in the folder "pages", like:

Quote
<li><a href="/wb2/pages/vita.php" id="vita"><span></span>Vita</a></li>

but WB doesn´t accept this kind of linking, but the curious thing is: If i manually type the correct link in the browser adress bar, for example http://www.thomaswiegand-saenger.de/wb2/pages/klangfarben.php all other hardcoded menu links work for this session. If I restart the browser, the same game again, no pages beside "start (index.php)" are found. Can you explain that behaviour?

The page is online at: http://www.thomaswiegand-saenger.de/wb2
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: hardlink Menu
« Reply #1 on: June 04, 2009, 08:51:52 PM »
Build the URL's with the complete path then if you really need them hardcoded:

Code: [Select]
<li><a href="<?php echo WB_URL;?>/pages/vita.php" id="vita"><span></span>Vita</a></li>
cheers

Klaus
Logged

paulvincent

  • Guest
Re: hardlink Menu
« Reply #2 on: June 04, 2009, 10:58:23 PM »
works!

thanks!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • hardlink Menu
 

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