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

show_menu2 show subs + the poot page

<< < (2/4) > >>

Argos:
Eh... that is actually the default standard menu. It shows the complete menu regardless of where you are in the tree. Maybe show us your site, to make it easier to comment. And what is your menu call? Did you try basic
--- Code: ---<php showmenu2(0); ?>
--- End code ---
already?

c0de:

--- Code: ---<php show_menu2(0); ?>
--- End code ---

No... this shows all Root Items, i only want to show the Recent (Aktual?!) Root item, and its Sub Items...

Gr33tz

Argos:
OK, I understand now  :roll:


--- Code: ---show_menu2(0, SM2_CURR+1, SM2_ALL, SM2_ALL|SM2_CURRTREE);
--- End code ---

Or use the droplet:
http://www.websitebakers.com/pages/droplets/official-library/navigation/sitemapchild.php


BTW: here are the showmenu2 docs: http://www.websitebakers.de/sm2/

c0de:
Thx, i know the docs... they are horror xD

Your snipped also wont work... ok maybe i really will build a workaround, but thx

greetings

Argos:

--- Quote from: c0de on March 12, 2010, 01:59:47 PM ---Your snipped also wont work... ok maybe i really will build a workaround, but thx

--- End quote ---

It's not a snippet, it's a droplet, and to use it you first have to add it to the droplet repository in your admin.

But the menu call I gave you should work as well. So I don't understand what the problem is. Did you try the menu call?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version