Page 1 of 1

set id to the first link in menu?

Posted: Tue Jun 20, 2006 8:56 am
by RazorMedia
I have a menu which has got rounded corners and hover effects. See -> http://www.hrproduktion.se/index.php

I made it work by setting id="left" to the startnode.

Now i´m wondering how this can be done in CMSMS?

See CMSMS version (NOTE: only works in IE so far) -> http://www.hrproduktion.se/cmsmadesimple/index.php

Hope anyone can help me with this problem
/ Mikael

Re: set id to the first link in menu?

Posted: Wed Jun 21, 2006 2:08 pm
by Dr.CSS
use this as your background... bg.gif for the meny...
modify the menu template in menu manager to spitout your with something like this...
id}">id}" title="{$node->menutext}"{/if} href="{$node->url}">{$node->menutext}{/foreach}
then you can use the id to style each link in your menu...
should give you something like this, your paths and ids will vary...
Home
that's how i did this...
http://www.multiintech.com/index.php?page=imap_menu

Re: set id to the first link in menu?

Posted: Sun Jul 16, 2006 5:07 pm
by RazorMedia
How do i know which menu template to edit?

I´m using the {bulletmenu}. I figured i should edit the "bulletmenu.tpl" in Menu manager, but there´s no Edit function. So i edited the physical file "bulletmenu.tpl" in the file manager in the manners that you discribed, but no changes shows i when i view the code.

I guess i could copy bulletmenu.tpl so i can edit it in the menu manager - but then how do I make it link to the {bulletmenu} tag?

Please help me with this - I´m a bit confused.

Re: set id to the first link in menu?

Posted: Sun Jul 16, 2006 6:40 pm
by Dr.CSS
when you goto the Menu Manager page the second tab shows the default menu templates...
on the rite side you see what looks like 2 pieces of paper on top of each other, the universal "copy" that CMSMS uses, clik that and name it 'whateveryouwant' then you end up at the main menu manager page and now you see your new menu, if you clik the name (word) then it opens in a window that you can edit the menu in...

to use your menu template.. the tag...

{cms_module module='menumanager' template='thenameofyourtemplate'}

Re: set id to the first link in menu?

Posted: Sun Jul 16, 2006 8:38 pm
by Dr.CSS

Re: set id to the first link in menu?

Posted: Mon Jul 17, 2006 8:23 am
by RazorMedia
Excellent!

Thanx a lot!

Re: set id to the first link in menu?

Posted: Mon Jul 17, 2006 10:27 am
by Dr.CSS
want the files?...
i'll copy/paste them in some .txt files next day getting tired... been up all night working out the calendar on this page...

http://www.multiintech.com/index.php?page=cloudy