Page 1 of 1

customizing cssmenu.tpl

Posted: Tue Jan 29, 2008 10:35 pm
by reidjazz
I am attempting to get a simple site, http://www.zanichellientertainment.com/cmsms to display correctly in IE6, but am having trouble with the menu. I have a menu I like at http://www.cssplay.co.uk/menus/basic_dd.html, but there are some codes,

Code: Select all

<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
, for example, that I need to place in the cssmenu.tpl in Menu Manager and I'm not sure where they're supposed to go in the midst of all that code. If you view the source of the menu I'm attempting to replicate, you'll see where these codes are.

Could someone possibly be of some assistance with this?

Re: customizing cssmenu.tpl

Posted: Wed Jan 30, 2008 3:23 am
by Dr.CSS
When trying to figure out where to put things in the menu manager...

Try putting numbers in front and back of the diff. ul li items in the menu manager template like so...

1{repeat string="" times=$node->depth-$node->prevdepth}2
{elseif $node->depth prevdepth}
3{repeat string="4" times=$node->prevdepth-$node->depth}5
67
{elseif $node->index > 0}89
{/if}

etc. etc...

Then when you render the page look at the page source to see where they show up...

You have a certain reason not to use the default cssmenu.tpl?

Re: customizing cssmenu.tpl

Posted: Wed Jan 30, 2008 10:59 pm
by reidjazz
Mark,
Many thanks. I think I will try to use the default cssmenu.tpl, but I wanted to try to implement what Stu has going at his site...he's pretty amazing and I"m sure there has to be a way to implement some of his ideas with CMSMS.

Todd