Apy jqurey menu trouble

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
pola090
New Member
New Member
Posts: 2
Joined: Wed Aug 18, 2010 8:07 pm

Apy jqurey menu trouble

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Apy jqurey menu trouble

Post 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...
pola090
New Member
New Member
Posts: 2
Joined: Wed Aug 18, 2010 8:07 pm

Re: Apy jqurey menu trouble

Post by pola090 »

thank you very much for your reply.
Post Reply

Return to “The Lounge”