Please explain how menus work

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
rmfred

Please explain how menus work

Post by rmfred »

Sorry for being so dense but I just can't wrap my head around how things work in this application.
Using default install of version 1.0.4 with template top simple nav + left subnav + one column.
In an effort to reduce everything to as simple as possible I've commented out breadcrumbs in the template and made all pages inactive except home and how cmsms works.

When I view the site the horz menu shows what you would expect...
->Home  | >How CMSMS Works

Now if I change to a template I've created the menu changes drastically. The css for the template has anything pertaining to lists removed so as not to conflict. The template has navigation: simple horizontal attached to it. I am using the same code for the menu area in "my template" as in the one described above.
I would expect to see a menu just like I described above?

Instead I get this: a H2 tag Navigation and the menu items are
->Current Page is 1:Home  |  2: How CMSMS Works

I don't understand.

I would paste code for you to see but I don't know what you would need and I don't have it online either.

Any help greatly appreciated. If you need code supplied please let me know.
TIA
rmfred

Re: Please explain how menus work

Post by rmfred »

It appears that the dfn tags need some css in order for them not to display Current Page is 1:Home
Now to see if I can code menu_horz to behave how I want it to... doubt if that will happen :)
Stoob
Forum Members
Forum Members
Posts: 17
Joined: Sat Mar 10, 2007 1:48 am

Re: Please explain how menus work

Post by Stoob »

I just figured this out.

The 3:1 code and "Current Page is:" code are located in...

/modules/MenuManager/templates/simple_navigation.tpl

Remove references to this:

Current page is {$node->hierarchy}:

-or-

{$node->hierarchy}
Locked

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