WebsiteBaker Support (2.8.x) > Templates, Menus & Design

hardlink Menu

(1/1)

paulvincent:
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>
--- End quote ---

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>
--- End quote ---

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

kweitzel:
Build the URL's with the complete path then if you really need them hardcoded:


--- Code: ---<li><a href="<?php echo WB_URL;?>/pages/vita.php" id="vita"><span></span>Vita</a></li>
--- End code ---

cheers

Klaus

paulvincent:
works!

thanks!

Navigation

[0] Message Index

Go to full version