simplified menu

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
admsh

simplified menu

Post by admsh »

i just started working with CMSMS two days ago and already i have a website running with a complete custom design. this is really an amazing piece of software.

this might be a silly question with a very simple solution - i just couldn't find anything on this anywhere.

i want to create a menu at the bottom of the page that only shows top-level pages (parent pages) but not sub categories from any level. i've been trying to edit the template in the menu manager, but frankly i have no idea what to do with that code.

any help will be greatly appreciated  ;D
alby

Re: simplified menu

Post by alby »

admsh wrote: i want to create a menu at the bottom of the page that only shows top-level pages (parent pages) but not sub categories from any level. i've been trying to edit the template in the menu manager, but frankly i have no idea what to do with that code.
Depend of your hierarchy.
Try with param: number_of_levels="1"
Look to here for other info

Alby
javathunderbird

Re: simplified menu

Post by javathunderbird »

try this:

{menu number_of_levels = '1' template='your_bottom_menu_template.tpl'}

Parameters

    * (optional) number_of_levels="1" - This setting will only allow the menu to only display a certain number of levels deep.

With my best,
Jim
admsh

Re: simplified menu

Post by admsh »

this is fantastic! thank you so much...
can one also only show a specific level? say only level 3 but not 1 or 2?  :o
Pierre M.

Re: simplified menu

Post by Pierre M. »

Hello admsh,

I think there is a startlevel or so attribute too. (or collapse or so, as for {sitemap} ?).
Look for doc in the menu manager in the admin. It explains the options/attributes of {menu}
Have fun !

Pierre M.
Locked

Return to “CMSMS Core”