Page 1 of 1
Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 6:39 am
by sarah_h
Please excuse me if these questions are obvious. I'm having great fun finding out how to use CMS MS but at the same time I'm getting a bit confused as the design and layout of the site is a very important aspect and I need to get my head around this.
Ok, I'm using version 0.12.1 "Savusavu" and here are my questions:
- Can I use a horizontal *and* a vertical menu on the same page?
- Can I use images for the horizontal menu with hover and current link styling? (I'm presuming this is done in the CSS
- Can I (if I wanted too) create menu's without the menumanager i.e. hard code the menu's into each page? What would a menu page line look like? I know this is not the right thing to do but I'd like to try
- Lastly (not menu related), will the admin editors work on a MAC?
Thanks
Sarah
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 7:52 am
by Dr.CSS
I don't know bout the mac but yes you can put more than one menu on a page, you name them diff. and use style sheet ,CSS, you don't have to use more than one CSS per menu unless want to use it for another template, that's why there are so many diff. CSS, typo and such. I have used
images for menus.
Yes you can hand code a menu in the template, but that is what i love about this system is that the menus have proved to me to be the most easily customizable, built on the fly menus i've ever seen,
mark
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 8:41 am
by sarah_h
Thanks for your reply Mark, I think I can see how to add more than one menu now, but can you elaborate a little about how to use images as menu links. I hope you don't mind but could you show me an example of the menu code.
Yes you can hand code a menu in the template, but that is what i love about this system is that the menus have proved to me to be the most easily customizable, built on the fly menus i've ever seen
I like the sound of this! Oh, another question... I notice that there are several menus available as menuxxx.tpl how can I edit one of these or, better still, add one? Anyway I hope you can show me a bit of code re: image links.
Thanks so much
Sarah
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 8:57 am
by tsw
sarah_h wrote:
Can I use a horizontal *and* a vertical menu on the same page?
Yes, if you want to have submenu links in vertical menu (lets call it a submenu) you can use menumanager to show only top level links in the horz menu like this
Code: Select all
{cms_module module='menumanager' number_of_levels="1"}
it will only show first level menu nodes. For the submenu you can call like this
Code: Select all
{cms_module module='menumanager' collapse="1" start_level="2"}
(collapse makes sub sub items hide if not on the sub page)
sarah_h wrote:
Can I use images for the horizontal menu with hover and current link styling? (I'm presuming this is done in the CSS
Most of the time there is no need to use special images for link nodes, you can get better results with background images (with css) so you can make your text smaller and larger
sarah_h wrote:
Can I (if I wanted too) create menu's without the menumanager i.e. hard code the menu's into each page? What would a menu page line look like? I know this is not the right thing to do but I'd like to try
you can just write the link as html or use {cms_selflink page="page_alias"} and let cmsms create the link (there are lots of option for cms_selflink you can find all of them in extensions -> tags -> cms_selflink help link)
plus there is an option for menumanager to show only wanted nodes with 'items="contact,home"' option.
sarah_h wrote:
Lastly (not menu related), will the admin editors work on a MAC?
should work, but fckeditor gives way too much headache...
sarah_h wrote:
I notice that there are several menus available as menuxxx.tpl how can I edit one of these or, better still, add one?
in menumanager -> file templates use the copy button on the right to create your own editable copy of a template (bulltemenu.tpl is the default if menumanager doesnt have 'template="templatename"' option.)
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 9:28 am
by sarah_h
Hi TSW,
Thanks so much for your reply. I'm a little confused about your first reply. I had in mind two seperate menus on a page. The client wants a top menu with a few links (with image b/g's now that you've mentioned it!) and another seperate (not sub menu) further down the page. I imagine that I have to create another menu (make a copy of an existing one) and use that.
Does this sound right?
Sarah
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 12:44 pm
by tsw
I had in mind two seperate menus on a page
like having same links on two different places?
you can use some css magick and two calls for menumanager
first menu can be something like
Code: Select all
<div id="topmenu">
{cms_module module='menumanager'}
</div>
and have css like
Code: Select all
div#topmenu ul li
{
display:inline; /* this makes topmenu horisontal */
background-image: url(someimage.jpg);
}
and the second menu
Code: Select all
<div id="leftmenu">
{cms_module module='menumanager'}
</div>
and some css to style it the way you want.
here is a great article on ul li lists of links
http://www.alistapart.com/articles/taminglists/
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 1:29 pm
by Russ
sarah_h wrote:
...Lastly (not menu related), will the admin editors work on a MAC?...
Not sure if anyone answered this bit, but I use a Mac, but use Firefox as a browser. In Safari, quite a lot works apart from more advanced javascript like in FCKeditor. So best using Firefox for admin?
I presume you've had a look at the help from the MenuManager module?
Hope this helps,
Russ
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 1:40 pm
by sarah_h
tsw wrote:
I had in mind two seperate menus on a page
like having same links on two different places?
No, not quite. Both sets of links will be different, do you think this can be done?
Re: Some (stupid??) questions about menus ...
Posted: Thu Apr 27, 2006 1:41 pm
by sarah_h
Russ wrote:
sarah_h wrote:
...Lastly (not menu related), will the admin editors work on a MAC?...
Not sure if anyone answered this bit, but I use a Mac, but use Firefox as a browser. In Safari, quite a lot works apart from more advanced javascript like in FCKeditor. So best using Firefox for admin?
I presume you've had a look at the help from the MenuManager module?
Hope this helps,
Russ
Thanks for that, I read somewhere else that using FF was the best bet, FF and Camino I think it was.
Re: Some (stupid??) questions about menus ...
Posted: Fri Jul 20, 2007 4:15 am
by Dr.CSS
Bitboy
Sorry it took so long to get back to you...
Yes you can if the active page has the activemenu/menuparent/activepage/currentpage class setting applied to it then you just assign a new image to it in the CSS...
Re: Some (stupid??) questions about menus ...
Posted: Mon Dec 17, 2007 11:02 pm
by Datalynk
Is it possible to start the menu with the child elements of a parent?
If so how would you point the menumanager tag to the parent for which you want to show the child elements?
I have a website that needs to be split into two sites...
I was thinking the best way would be to create two parents (i.e. Parent 1, Parent 2) and create two seperate templates each calling seperate menu's based on this hierachy...
Is this possible?
Re: Some (stupid??) questions about menus ...
Posted: Mon Dec 17, 2007 11:44 pm
by Dr.CSS
In a default install there is a template that uses the main menu with just the top level menu items displayed and a second left menu with the second level menu items/children of the top level menu item that is clicked...
Example...
http://cmsmsdemo.multiintech.com/index. ... _left.html
Re: Some (stupid??) questions about menus ...
Posted: Tue Dec 18, 2007 2:55 am
by Datalynk
Thanks again for your help!
Also have fixed most of the FF compatability issues for
www.oysterltd.com/cms
Managed to get the menu's working as needed...