Hi.
I have a site, it's navigation looks like:
1 - Home
2 - Decoration
2.1 - Decoration 1
2.2 - Decoration 2
2.3 - Decoration 3
I want to put a lot of articles in Decoration, so there will be a lot of pages under the number 2.
But this will make the navigation menu too long to show all of them.
I want to let the user just see the '2 - Decoration' page , in which page people will see all the sub-pages of it in {content} field.
I can just turn off the "Display in Menu" options in all 2.X pages, but I use {menu start_menu='Decoration' number_of_levels='2' } to show the subpages. Therefore these subpages won't be shown...
How can I make this happen? Thanks in Advance....
A page contains all sub-pages
Re: A page contains all sub-pages
Try {menu start_element=2} in the content.
(see the MenuManager help, "Extensions » Modules")
Regards,
D
(see the MenuManager help, "Extensions » Modules")
Regards,
D
Re: A page contains all sub-pages
Thanks Dee.
Tough I can't catch on how start_element works ( is it different from start_page?), I found show_all="1" , this actually gave me kinda help.
I Just turn off the 'Display in Menu' Options of these pages. and Show them forcedly in the content page.
Tough I can't catch on how start_element works ( is it different from start_page?), I found show_all="1" , this actually gave me kinda help.
I Just turn off the 'Display in Menu' Options of these pages. and Show them forcedly in the content page.
Re: A page contains all sub-pages
start_page takes a page alias, start_element takes a hierarchy position.
From the MenuManager help:
I think another option to hide the subpages from the main menu is to create a parent of type "Section Header" or simply hide the parent page from the menu.
Regards,
D
From the MenuManager help:
Turning off 'Display in Menu' and using show_all=true should work fine.# (optional) start_page="home" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
# (optional) start_element="1.2" - Starts the menu displaying at the given start_element and showing that element and it's children only. Takes a hierarchy position (e.g. 5.1.2).
I think another option to hide the subpages from the main menu is to create a parent of type "Section Header" or simply hide the parent page from the menu.
Regards,
D