WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Ogierini on June 30, 2009, 08:41:14 PM

Title: menu: child to parent code
Post by: Ogierini on June 30, 2009, 08:41:14 PM
Hi guys,

I would like to make this menu expandable (uitklapbaar) so that when I make new pages, that these pages will be the child of the parent.  :wink:


Can someone help out with what to use underneath this?

Code: [Select]
<div id="menu">
        <?php show_menu2(0SM2_ROOTSM2_START); ?>
    </div>


Thanks!
Kind regards Irene
Title: Re: menu: child to parent code
Post by: mr-fan on June 30, 2009, 10:55:41 PM
hi,

this site with all the possibilities of SM2 helped me personally o lot!

http://code.jellycan.com/sm2test/pages/parent.php (http://code.jellycan.com/sm2test/pages/parent.php)

regards martin
Title: Re: menu: child to parent code
Post by: Ogierini on July 01, 2009, 03:00:39 PM
Thanks, I saw this one allready....
It's quite complicated.....to implement
Title: Re: menu: child to parent code
Post by: Ogierini on July 02, 2009, 09:45:17 AM
morning.....

Can nobody help out? I am not a coder, so I don't completely understand how to make a drop down (horizontal) menu.

Sure hope to get some replies.....Kind regards Irene
Title: Re: menu: child to parent code
Post by: instantflorian on July 22, 2009, 08:36:35 PM
Well, I admit that show_menu2 configuration is not easy... but the explaniation with the examples is quite useful, so just try different parameters (the values in brackets).
show_menu2() without parameters generates nested unsorted lists of your site structure which can also styled by CSS.
For myself, I have not tested it yet, but Webbird wrote a moduke called "Easymenu", maybe this could be helpful for you.
http://www.websitebakers.com/pages/admin/admin-tools/easy-menu.php (http://www.websitebakers.com/pages/admin/admin-tools/easy-menu.php)
Title: Re: menu: child to parent code
Post by: Argos on July 25, 2009, 01:24:10 AM
Irene, you could look for a template that has dropdown menus, and just copy the menu and CSS, and adapt it for your template.