WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu is tripping
M.Boxma:
Dear Bakers,
Ive created a show_menu on a html page, but the menu is tripping.
http://bakker.ictlimburg.nl/
--- Code: --- <div id="container">
<ul id="left">
<?php if(SHOW_MENU) {/* Only shown menu if we need to */?>
<?php page_menu(0,1);?>
<?php }?>
<li></li>
<li><a href="/hagedoren/shop/categorie/317">tarwebrood
soorten</a></li>
<li><a href="/hagedoren/shop/categorie/318">wittebrood soorten</a></li>
<li><a href="/hagedoren/shop/categorie/319">kleinbrood</a></li>
--- End code ---
As you can see are the baker pages (home and test) arent good. But the html pages like tarwebrood soorten and wittebrood soorten are on the right place...
marathoner:
page_menu is not a standard menu call. Why aren't you using show_menu2?
I looked at your site and see that are using different subdirectories for these pages. Since I don't know what your page_menu does it's hard to say for sure but I'd guess it's because these pages are in different subdirectories (/pages and /hadedoren).
kweitzel:
This menu call opens a list within your hardcoded list. First use showmenu and the customise the output and remove the ul in showmenu. more can be found here:
http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php#anker3
cheers
Klaus
M.Boxma:
How do i get the menu on the right place?
Could someone help me with this plz
erpe0812:
--- Quote ---page_menu is not a standard menu call. Why aren't you using show_menu2?
--- End quote ---
replace the code with a sm2 code and you can format the output easy using css:
http://websitebakers.de/sm2/
rgds
erpe
Navigation
[0] Message Index
[#] Next page
Go to full version