Page 1 of 1

Apy jqurey menu trouble

Posted: Wed Aug 25, 2010 6:34 pm
by pola090
Hello all  i am  trying to integrate the  apymenu  into cmsmade simple  template i have created myself it  works well of the cms  it works but integrating it into the cms everything goes hay wire  i will post the menu tpl code so  you can help me



{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}
type == 'sectionheader'}
{$node->menutext} {elseif $node->type == 'separator'}

{else}
type != 'sectionheader' and $node->type != 'separator'}href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{else}title="{$node->menutext}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->hierarchy}: {$node->menutext}
{elseif $node->type == 'sectionheader'}>{$node->hierarchy}: {$node->menutext}{/if}{/foreach}{repeat string="" times=$node->depth-1}
{/if}



pls hep

Re: Apy jqurey menu trouble

Posted: Wed Aug 25, 2010 7:44 pm
by Dr.CSS
That menu system is not really compatible with CMS Made Simple as it requires the menu to be written in JS not real html...

Re: Apy jqurey menu trouble

Posted: Fri Aug 27, 2010 2:02 pm
by pola090
thank you very much for your reply.