hallo
i'm converting a new css template to the last version of cmsms
all work fine but the menu is a great problem for me
i have:
original template:
<!-- START NAV -->
<div id="nav" class="group">
<ul class="level-1 white">
<li class="home">
<a href="index.html">HOME</a>
<ul class="sub-menu">
<li><a href="home-version-2.html">HOME VERSION 2</a></li>
<li><a href="home-version-3.html">HOME VERSION 3</a></li>
-----------------------------------------------------------------------------
template in cmsms
<!-- START NAV -->
<div id="nav" class="group">
{menu}
</div>
<!-- END NAV -->
---------------------------------------------------------------------------
menu manager
{if $count > 0}
<div id="menuwrapper">
<ul class="level-1 white">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string='<ul class="unli">' times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string='</li></ul>' times=$node->prevdepth-$node->depth}
</li>
-----------------------------------------------------------
link = http://www.gianlucacompagno.com/grafica/
what i can do ?
thanks for help
giapippo
[solved] Menu in new css template
[solved] Menu in new css template
Last edited by giapippo on Wed Mar 20, 2013 1:32 pm, edited 1 time in total.
Re: Menu in new css template
the problem is similar
http://forum.cmsmadesimple.org/viewtopi ... 20&t=65193
but i can't find the solution
bye
http://forum.cmsmadesimple.org/viewtopi ... 20&t=65193
but i can't find the solution

bye
Re: Menu in new css template
auto solved
{if $count > 0}
<div id="nav">
<ul class="level-1 white">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string='<ul class="sub-menu">' times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string='</li></ul>' times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}
{if $count > 0}
<div id="nav">
<ul class="level-1 white">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string='<ul class="sub-menu">' times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string='</li></ul>' times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}