Question about showing 'child' menu on some pages, not others
Posted: Thu Jan 18, 2007 1:53 am
I'm new to CMSMS, but wasn't able to find the answer to this anywhere in the documentation or the forums...
I'm creating a web portal (http://www.greenstylemag.com) that will have a number of different page layers. I'm using the Softened Cells template with a few custom tweaks. The main menu is the one that came with Softened Cells, and the 'child' menu is "list_children" from the user handbook, with a couple of style tweaks.
My problem is this:
I have two menus set up. One is the main menu, across the top of the site just under the header image. I also have a 'child' menu that currently only shows the children of the parent section that you are in. The current hierarchy looks a bit like this:
1. Home
2. LifeStyle
2.1 Interior Design
3. Blog
4. Get Involved
4.1 Charities
5. Store
When you click on, say, "lifestyle", the Interior design link shows up in the child menu on the left, as it should. But then if you click on "interior design", nothing shows up in the child menu (as there are no child pages yet, I'm guessing that if there were, those would show up). But, I want it to always show the child menu of the main parent, and not going deeper into the hierarchy in that menu. So, if you click on "lifestyle", "interior design" shows up, and then if you click on "interior design", "interior design" will still be showing up in the 'child' menu (along with any other children of the parent "lifestyle").
I also want to have it so that if a page doesn't have any child pages (such as the home page), something else (another module) can be placed in the area that the child menu is in. I know that I can do this part of it by setting up a separate template just for the home page that doesn't have that module, but is there any way to do it so that I don't need to work with two separate templates (just to make changing/editing the style/templates easier)?
Thanks in advance for help/ideas/solutions.
I'm creating a web portal (http://www.greenstylemag.com) that will have a number of different page layers. I'm using the Softened Cells template with a few custom tweaks. The main menu is the one that came with Softened Cells, and the 'child' menu is "list_children" from the user handbook, with a couple of style tweaks.
My problem is this:
I have two menus set up. One is the main menu, across the top of the site just under the header image. I also have a 'child' menu that currently only shows the children of the parent section that you are in. The current hierarchy looks a bit like this:
1. Home
2. LifeStyle
2.1 Interior Design
3. Blog
4. Get Involved
4.1 Charities
5. Store
When you click on, say, "lifestyle", the Interior design link shows up in the child menu on the left, as it should. But then if you click on "interior design", nothing shows up in the child menu (as there are no child pages yet, I'm guessing that if there were, those would show up). But, I want it to always show the child menu of the main parent, and not going deeper into the hierarchy in that menu. So, if you click on "lifestyle", "interior design" shows up, and then if you click on "interior design", "interior design" will still be showing up in the 'child' menu (along with any other children of the parent "lifestyle").
I also want to have it so that if a page doesn't have any child pages (such as the home page), something else (another module) can be placed in the area that the child menu is in. I know that I can do this part of it by setting up a separate template just for the home page that doesn't have that module, but is there any way to do it so that I don't need to work with two separate templates (just to make changing/editing the style/templates easier)?
Thanks in advance for help/ideas/solutions.