[solved]Hierarchical menu, but without superior page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Vin

[solved]Hierarchical menu, but without superior page

Post by Vin »

Hello,

CMSMS seems very promising to me, and I'm going to use it. However, I have a little question:

I want a 2-level hierarchical menu, with first level on the left and second level on the top. However, the first-level menu item, which has "descendants", doesn't actually contain any content, just sub-sections. Thus, I want the first descendant to appear first when clicking on the "parent" menu item.

Basically, I want a roll-over menu, but without rolling over and separated into two different menus.

I think I can achieve it by tweaking the template for menus in the Menu Manager, but I'd like to know whether there is a more elegant way to do this. Isn't there something for it in the Content Manager?

Sorry if something similar has already been posted there. I searched, but couldn't find anything on this subject.
Last edited by Vin on Fri Jan 19, 2007 7:37 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Hierarchical menu, but without superior page

Post by Dr.CSS »

Have you read the Help for Menu Manager?...

Extensions > Modules click the name of the module or Help across from it and you will find all the parameters it uses...

Sounds like the opposite of the way most site menus are set up, first level up top with children on left...

If you look at the default install of Top simple navigation + left subnavigation + 1 column, you can probably just switch the way the menus are called in the menu tags...
Vin

Re: Hierarchical menu, but without superior page

Post by Vin »

Yes, I've read the Help. Just wondering if I could assign the first "child" of the menu item as a link for the first-level menu. See, the parent item I want DOESN'T actually contain anything, no content, JUST its descendants. The parent item links to its 1st descendant.

The only thing I ask - Can it be done without customizing menu template in Menu Manager, just from content tab?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Hierarchical menu, but without superior page

Post by Dr.CSS »

The Content Type: drop down has Link in it that can point to any page or item that is linkable...
Vin

Re: Hierarchical menu, but without superior page

Post by Vin »

Thanks!

However, I have the feeling I've tried this before - but the slash in the URL used to be replaced with a dash (meaning that link-to-my/page was then link-to-my-page). Maybe a fix in 1.0.3...?

[edit]Eventually, I'm using the header_to_link menu template (from User Handbook), which seems to make maintaning the sections easier...
Last edited by Vin on Sat Jan 20, 2007 8:03 am, edited 1 time in total.
Locked

Return to “Layout and Design (CSS & HTML)”