separate menu headings

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"
Post Reply
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

separate menu headings

Post by Tracy »

I am trying desperately to set up two separate navigation menus still. Good lord! I have accomplished the styling part in only 30hrs! But it still doesn't reflect 2 menus with different links. I've used the menu manager templates and my own CSS for the dropdown top menu and the side menu.

Here is my page link http://www.zendog.ca/index.php?page=meditation

I have this {menu template='Sidemenu' number_of_levels="1"} in my template just to close the links while I was playing with the styling.  I don't want a multilevel menu on the left side here. Just simple links. I've tried things like start_level="7" start_page="menuname" etc.

I don't know where to go from here? Yes I have read all of the documentation numerous times. To be honest for a beginner it is all not so easy to follow. I am asking for some help here please anyone.
Thankyou
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: separate menu headings

Post by KO »

So do you want to have different links on left that are not on top links? you could use "section header" and uncheck/remove "show in menu". Then call it with menu call:

{menu template='Sidemenu' start_level="2" start_page="yousectionheaderalias"}

Or maybe something else?
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: separate menu headings

Post by Tracy »

thanks for your help. I'm making progress. I added this to my template {menu template='Sidemenu' start_level="7" start_page="sidemenu"}

Then I added my new content/menu items with the sidemenu as the parent, clicked show in menu and they are all there working now but there is no distinct current page any more as I had before. Do you think I'm getting the parent one mixed up?

http://www.zendog.ca/index.php?page=sidemenu
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: separate menu headings

Post by KO »

I think you are confused with start_level and mixed up it with page hierarchy numbers. start_level="7" means you it's 6th child for that page. Which I'm sure you dont have if looking at source. That would mean like 7.1.1.1.1.1.1.1 in hierachy.

If you put start_level=2 it would give
7.1
7.2
7.3
and so on if start_page="sidemenu" is 7 in hierarchy

If it's "Show in menu" in page options is not checked it would not be shown in main top menu.
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: separate menu headings

Post by Tracy »

OMG! That's Oh My God!  ;D I think I got it. Please have a look again for me and tell me if it looks ok to you.

http://www.zendog.ca/index.php?page=why-bother

Tracy
Thankyou so much for the help!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: separate menu headings

Post by Nullig »

I think you got it.

Welcome to the revolution!

Nullig
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

[Solved]Re: separate menu headings

Post by Tracy »

Thankyou very very much. Is this really the only way to do this from my own designed template? I know if I would have started from scratch with one of the CMSMS templates it would have been much simpler.
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: separate menu headings

Post by KO »

Nice! I think you got it.

As you gain experience you will find that it's easier to design template from scratch rather than change what somebody else has done and debug what is causing problems in your version. In first templates I did, I always kept the default templates available and looked/copied info from them. Nowdays it's just putting right smarty tags in place when porting html design to become cmsms template.
thoms
Forum Members
Forum Members
Posts: 84
Joined: Tue Dec 25, 2007 5:56 pm

Re: separate menu headings

Post by thoms »

Did you read the very good tutorial at
http://themes.cmsmadesimple.org/menu_ma ... tions.html

Perhaps you then better understand the menu modul.

Thomas
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: separate menu headings

Post by Dr.CSS »

@Tracy

Did you notice that the answer on that page is way down, has to do with the  ...

Looked even worse in IE6...
Post Reply

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