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 »
  • show_menu is tripping
  • Print
Pages: [1]   Go Down

Author Topic: show_menu is tripping  (Read 6265 times)

Offline M.Boxma

  • Posts: 45
show_menu is tripping
« 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...
Logged

Offline marathoner

  • Posts: 495
Re: show_menu is tripping
« Reply #1 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).
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: show_menu is tripping
« Reply #2 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
Logged

Offline M.Boxma

  • Posts: 45
Re: show_menu is tripping
« Reply #3 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
Logged

erpe0812

  • Guest
Re: show_menu is tripping
« Reply #4 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
Logged

Offline M.Boxma

  • Posts: 45
Re: show_menu is tripping
« Reply #5 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]
Logged

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

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