Vertical EllNav depth bug in "Savusavu"

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Garamond
Forum Members
Forum Members
Posts: 15
Joined: Tue Mar 21, 2006 7:55 pm
Location: Finland

Vertical EllNav depth bug in "Savusavu"

Post by Garamond »

Hi, I was running my site succesfully with "Fiji" on my demo server but now I installed "Savusavu" on my production server and copied old content to it. Everything seems to work fine except that split EllNav prints wrong css class to 2nd active depth level. The menu item is

Code: Select all

li.active01
when it should be

Code: Select all

li.active02
The result doesn't look good as you may see when looking at the attachment.

0.12.1 Change log tells there were some bugfixes in depth issues, but can someone tell how to undo those bugfixes, since they don't seem to work with my installation? Or any other repair suggestions?

The code in my page template looks like this:

Code: Select all

{cms_module module='menumanager' template='ellnav-accessible.tpl' start_level='2' collapse='1'}
[attachment deleted by admin]
Last edited by Garamond on Wed Apr 05, 2006 8:24 pm, edited 1 time in total.
Garamond
Forum Members
Forum Members
Posts: 15
Joined: Tue Mar 21, 2006 7:55 pm
Location: Finland

Re: Vertical EllNav depth bug in "Savusavu"

Post by Garamond »

I managed to fix the problem by removing "-1" from the row 21 of ellnav-accessible.tpl so it looks like this now:

Code: Select all

<li class="active0{$node->depth}"><dfn>{$node->hierarchy}: </dfn><h3 class="clearfix">{$node->menutext}</h3>
Everything seems to work fine now, but since I don't have a clue how that template really works (as I'm not a programmer), I'm just wondering if I may face some other problems due to that modification.

Could someone give any comments about that?

Thanks
Post Reply

Return to “CMSMS Core”