WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: M.Boxma on November 23, 2009, 12:48:55 PM

Title: show_menu is tripping
Post by: M.Boxma on November 23, 2009, 12:48:55 PM
Dear Bakers,

Ive created a show_menu on a html page, but the menu is tripping.

http://bakker.ictlimburg.nl/

Code: [Select]
    <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>
       
       

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...
Title: Re: show_menu is tripping
Post by: marathoner on November 24, 2009, 03:24:33 AM
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).
Title: Re: show_menu is tripping
Post by: kweitzel on November 24, 2009, 06:54:50 AM
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
Title: Re: show_menu is tripping
Post by: M.Boxma on November 26, 2009, 10:48:28 AM
How do i get the menu on the right place?

Could someone help me with this plz
Title: Re: show_menu is tripping
Post by: erpe0812 on November 26, 2009, 12:42:21 PM
Quote
page_menu is not a standard menu call. Why aren't you using show_menu2?

replace the code with a sm2 code and you can format the output easy using css:
http://websitebakers.de/sm2/

rgds

erpe
Title: Re: show_menu is tripping
Post by: M.Boxma on November 27, 2009, 10:25:09 AM
Ok... im totally lost.. in this situation...... can some one help me with this please:) ive added the file on the site

[gelöscht durch Administrator]