Is there a way to limit the meny by items="" parameter, but then also expand each one of the items and show it's children?
So if I say something like:
{menu items="one,two" number_of_levels="2"}
I expect:
* One
* Blue
* Green
* Two
* Square
* Round
But I only get the parents...
MenuManager: limit by items="", but also show the children?
-
- Forum Members
- Posts: 14
- Joined: Tue Jun 10, 2008 4:12 pm
Re: MenuManager: limit by items="", but also show the children?
bump
I'd also like to know this (selecting specific menu items but also showing their children).
I tried also played around with a menu template and added an {if} condition to check on $node->alias, but with the same results as above. Any help with either approach would be appreciated.
I'd also like to know this (selecting specific menu items but also showing their children).
I tried also played around with a menu template and added an {if} condition to check on $node->alias, but with the same results as above. Any help with either approach would be appreciated.
Re: MenuManager: limit by items="", but also show the children?
No sorry atm there is no way to do this with item= the new CMSMS ver. 1.4 beta may let you, but you can put the items under a section header or some how group them then call start_level= and show_siblings=...
Look in menu Help for parameters usage...
Look in menu Help for parameters usage...
-
- Forum Members
- Posts: 14
- Joined: Tue Jun 10, 2008 4:12 pm
Re: MenuManager: limit by items="", but also show the children?
OK, was afraid of that. I'll play around with some smarty in the menu manager a bit more before I give up and change my content structure. I'll post any progress if I find some.
Thanks for your quick response yet again mark
Thanks for your quick response yet again mark

-
- Forum Members
- Posts: 14
- Joined: Thu Mar 01, 2007 3:14 am
Re: MenuManager: limit by items="", but also show the children?
Hi,
I think I have the same problem and submitted some code for inclusion.
http://forum.cmsmadesimple.org/index.ph ... 454.0.html
I added a parameter for "minimum levels" to show. So I can make at least 2 levels to show.
Clicking on the second level will expand out the 3rd level just like normal...
I'll clean it up and submit it the way Calguy has specified in a sticky at the developer's forum...
Edward
I think I have the same problem and submitted some code for inclusion.
http://forum.cmsmadesimple.org/index.ph ... 454.0.html
I added a parameter for "minimum levels" to show. So I can make at least 2 levels to show.
Clicking on the second level will expand out the 3rd level just like normal...
I'll clean it up and submit it the way Calguy has specified in a sticky at the developer's forum...
Edward