bMenu Problem
Posted: Mon Sep 22, 2008 7:48 pm
I am having trouble with bMenu and hoping someone has a suggestion.
I am running CMSMS 1.4.1 and installed bMenu 4.6.
Menu is not formatting in the module. Nothing happens when I change attributes. I have used bMenu successfully on several sites and there has been a preview in the module. I have reinstalled module and sill have the same problem.
Here the code in my template...I don't think this is the problem...since I am not seeing formatting in the preview.
Any suggestions would be GREATLY appreciated.
Thanks for reading.
The following is in the head:
{cms_module module="bMenu"}
The following is in the body:
{menu template="new" start_level=""} [/color]
{cms_module module="bMenu" styleid="60"}
The "new" menu template code:
{* CSS classes used in this template:
#menuwrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}{/foreach}
{repeat string="" times=$node->depth-1}
{/if}
I am running CMSMS 1.4.1 and installed bMenu 4.6.
Menu is not formatting in the module. Nothing happens when I change attributes. I have used bMenu successfully on several sites and there has been a preview in the module. I have reinstalled module and sill have the same problem.
Here the code in my template...I don't think this is the problem...since I am not seeing formatting in the preview.
Any suggestions would be GREATLY appreciated.
Thanks for reading.
The following is in the head:
{cms_module module="bMenu"}
The following is in the body:
{menu template="new" start_level=""} [/color]
{cms_module module="bMenu" styleid="60"}
The "new" menu template code:
{* CSS classes used in this template:
#menuwrapper - The id for the that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the
.menuparent - The class for each that has children.
.menuactive - The class for each that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="" times=$node->depth-$node->prevdepth}
{elseif $node->depth prevdepth}
{repeat string="" times=$node->prevdepth-$node->depth}
{elseif $node->index > 0}
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
current == true}
haschildren == true}
url}"{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}{/foreach}
{repeat string="" times=$node->depth-1}
{/if}