Separation of topmenu and undermenu

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
Saltefanden

Separation of topmenu and undermenu

Post by Saltefanden »

Hey everbody!

I would like to make a "new" menu for my website. The problem is that I don't know how to make a separation of the topmenu and the undermenu....

Let me draw it; the bulletmenu looks like this:


Topmenu 1
Topmenu 2 <-- the selected
- undermenu 1
- undermenu 2
- undermenu 3
Topmenu 3
--------------------------------------------------------------------------------------------------------------

I want a menu like this:

Topmenu 1 topmenu 2 (<-- selected) topmenu 3

"Content"

Undermenu 1
Undermenu 2
Undermenu 3

---------------------------------------------------------------------------------------------------------------

How can I make this?
Last edited by Saltefanden on Mon Apr 10, 2006 11:02 am, edited 1 time in total.
Saltefanden

Re: Separation of topmenu and undermenu

Post by Saltefanden »

rhug wrote: Let me phrase this in my own words, just to see if I got your point.
You would like to have a horizontal menu at the top. Depending on the selected topmenu you would like to see only the children of that topmenu. Right?!

I'm currently working on something similar: http://www.renehug.com/das_1/
If you click on "Kurse" or "Schule" a sidemenu appears.

Don't look at the rest. It is my test space where I screw around but I think in general I had the same issue as you.
Yes! That is what I want!
rhug wrote: Here the tag I use for the horizontal menu:

Code: Select all

{cms_module module='menumanager' template='EllNavHoriz' number_of_levels='1'}
and here for the vertical menu:

Code: Select all

{cms_module module='menumanager' template='ellnav-vert.tpl' start_level='2' collapse='1'}
I needed to change the horizontal menu template a little bit but it would work without any change.
I'm sure others use other menus to achive the same. Let's see what others come up with.

Rene
When I paste your code into a page, it just says:

string(78) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;EllNavHoriz""

?

by the way; the look i'm going for is this: http://brocken.dk/ivan/index.php?side=content_types
Saltefanden

Re: Separation of topmenu and undermenu

Post by Saltefanden »

Thank you! It works now!  :)

you can see it here: http://brocken.dk/ivan/
Locked

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