Menu Manager With Custom Theme Help

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
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Menu Manager With Custom Theme Help

Post by chugger93 »

So I downloaded a theme from oswd.org, and copied the source from the index.html into a new template.  Then deleted the stylesheet link and used {stylesheet}  then created a new stylesheet with the contents from the style.css and attached it to the new template.

So far so good, but I don't quite grasp the menu manager, seeing as I'm so new to cmsms.  Right now in the template is
something like:



Link One
Link Two
Link Three
Link Four
Link Five



How do I replace this so that I can get the menu manager so it will show the menu items I create in the admincp?
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Re: Menu Manager With Custom Theme Help

Post by chugger93 »

b.t.w, I tried  {cms_module module='menumanager'}

but all that did was put all the menu items (default ones that came with the installation) in plain text in a row and theres like 15 of em.  Not even close to what I want it to do...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Menu Manager With Custom Theme Help

Post by Dr.CSS »

You don't need all that for a menu just {menu} which will use whatever menu template you have set as default in menu manager which in default install is simple_navigation.tpl which will give you an UL LI...

So what you need is...


{menu template='simple_navigation.tpl' collapse='1'}


The reason for the collapse is to make it only show the relevant links of the page your on, it is the same menu template used in http://multiintech.com/defaultcontent/i ... msms-works...
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Re: Menu Manager With Custom Theme Help

Post by chugger93 »

hmmm

Well what about if I wanted subnavigation or submenu items I should say in my main navigation, like cmsms has by default?  For example I downloaded the forester theme from this website and it only allows in the main navigation to click on the main menu items.  When you hover over them, you don't get the drop down arrows to show the secondary menu items...

The code in the template is:



{menu template='Forester : minimal_menu'  number_of_levels='2', collapse=1'}



Which I figured would show the level 2 items since it says  "number_of_levels=2" but it doesnt....
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Menu Manager With Custom Theme Help

Post by Dr.CSS »

The collapse='1' will make it not show any menu items but the top ones, just remove that part, not all menu styles are set for drop menu types it all depends on how it was styled in the first place, like minimum menu template wont have the styling parts to make for a drop menu while cssmenu does...
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Re: Menu Manager With Custom Theme Help

Post by chugger93 »

I'm so confused with menu stuff.  Even after reading the documentation lol.  Guess I need more trial and error...

 I tried using just    {menu template='cssmenu.tpl'}

and I get this....
Attachments
help1.jpg
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Menu Manager With Custom Theme Help

Post by Dr.CSS »

So now it is bringing all the menu items to it, but you don't have the CSS to control it, each menu has it's own style sheet to control how it works, you will heed the simple horiz. one with some changes to the look of it to get what you want...
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Re: Menu Manager With Custom Theme Help

Post by chugger93 »

Why tho?  All I'm trying to do is duplicate the default menu's that come with the product.  I havn't touched or added any pages or menu's except for that "test" one.  Basically its as if it was just installed.  Anyways...with this downloaded theme..all I'm trying to do is see if I can duplicate the default menu system in this theme...with the child menu items, etc...

That should be fairly easy?  hmmm



update:  I get what your saying now... I have to attach the stylesheet for that menu.  So I attached "Navigation: CSSMenu - Horizontal"  and I don't get all the menu items on the same page.  It shows the menu like it should now..but no drop downs still.    Oh well... I got somewhat far..but.not enough..learned a bit too
Last edited by chugger93 on Wed Jan 06, 2010 9:12 pm, edited 1 time in total.
Post Reply

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