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

menu: child to parent code

(1/2) > >>

Ogierini:
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: ---<div id="menu">
        <?php show_menu2(0, SM2_ROOT, SM2_START); ?>
    </div>
--- End code ---


Thanks!
Kind regards Irene

mr-fan:
hi,

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

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

regards martin

Ogierini:
Thanks, I saw this one allready....
It's quite complicated.....to implement

Ogierini:
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

instantflorian:
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

Navigation

[0] Message Index

[#] Next page

Go to full version