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.
Menu manager help
Re: Menu manager help
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:
Hope this gets you on the way,
Gregor
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 -->
Gregor
Re: Menu manager help
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
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
Re: Menu manager help
the theme you chose uses the default menu template.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.
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.marilyn wrote: I wonder if CMS has a default menu.
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
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
Re: Menu manager help
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
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.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Menu manager help
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
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.
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.
Re: Menu manager help
I think it would be helpful it this were spelled out more clearly in the documentation wiki. Perhaps I'll add this somewhere.
Re: Menu manager help
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...