Menu manager 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"
Locked
marilyn

Menu manager help

Post by marilyn »

Hello,

I am new to CMS Made Simple. I have set up my first template which I brought in from Themes. This template came (in the zip folder) with a css file, tpl file, images, but no menu file. The menu it is using is not listed in the Menu Manager. Here is the code within the temple file which references the menu: {cms_module module='menumanager' collapse='1'}

Does anyone know what is happening? I want to try another menu and if I don't like it, I want to be able to come back to the original one. But I don't know where the original is located. There is no menu in the Menu Manager.

Thanks for all your help.
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am

Re: Menu manager help

Post by Gregor »

Hello,

Welcome to CMSMS.

Did you look in the Menumenager inside the 'File' tab? By default you don't see a databasetemplate, only file template.

The way I call the menu:

Code: Select all

<!-- Start Navigation -->
      <div id="menu_vert">
         <h2 class="accessibility">Navigation</h2>
         {menu template='cssmenu.tpl'}
      <hr class="accessibility" />
      </div>
      <!-- End Navigation -->
Hope this gets you on the way,
Gregor
marilyn

Re: Menu manager help

Post by marilyn »

Gregor,

Yes, I did look in the File tab. There were 3 menu files. It's just, none were added to the Database Templates. I thought that until a menu was 'added' from the File tab to the Database Templates, none existed. I wonder if CMS has a default menu.

I did end up using a menu other than what came with the template. I used the same code as you posted...before I had read your posting. What's that saying, "Great minds think alike."

Thanks for you help.

Marilyn
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Menu manager help

Post by kermit »

marilyn wrote: This template came (in the zip folder) with a css file, tpl file, images, but no menu file. The menu it is using is not listed in the Menu Manager. Here is the code within the temple file which references the menu: {cms_module module='menumanager' collapse='1'}

Does anyone know what is happening? I want to try another menu and if I don't like it, I want to be able to come back to the original one. But I don't know where the original is located. There is no menu in the Menu Manager.
the theme you chose uses the default menu template.

marilyn wrote: I wonder if CMS has a default menu.
simple_navigation.tpl (one of the three default file-based templates) is used if template is not set in the {cms_module module='menumanager'} or {menu} tag.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Menu manager help

Post by cnymike »

Another fundamental question, but where exactly are the default menu templates located... ie: If I wanted to look at or modify the code for simple_navigation.tpl, how do I get to that template in admin? I've looked and looked but do not see it listed anywhere except in layout > menu manager > file templates, but the only action possible at this point is to "import template to database".

I did find this thread,
http://forum.cmsmadesimple.org/index.php/topic,12168.0.html

but I'd like some clarification on where the 3 default templates reside and how they can be -directly- accessed rather than having to import them into the database, name them something and then having to call them by a different name than the original.

Michael
Last edited by cnymike on Sat Jan 12, 2008 3:12 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Menu manager help

Post by calguy1000 »

That is the suggest way of doing things, because that way your templates won't be overridden on your next upgrade.

Unfortunately menu manager has no way of changing 'default' templates (I really should do that some time) so that you could set a database template as 'default'.

But if you really want to modify the files, they'll be in modules/MenuManager/templates
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Menu manager help

Post by cnymike »

I think it would be helpful it this were spelled out more clearly in the documentation wiki. Perhaps I'll add this somewhere.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu manager help

Post by Dr.CSS »

Most times using a default one is ok but if you need to make changes it's best to move/import it as you will always have a clean one to learn/reuse in case of a wrong change, I've one install with 45 diff. menu templates I've made, some times I go to modules/MenuManager/templates to see which one I'm going to use for a new template...
Locked

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