16/01/2010, 18:01:08
J'ai trouvé ma solution... pour mon problème no 2.... un erreur de débutant ;-)
Il me manquant des : >
Voir ma solution (plus bas).... Pour le point no 2... qui peut me répondre... au sujet des feuilles de style...
---------------------------------------------------------------------
{* CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
<ul class="art-menu">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" 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 $node->current == true}
<li><a href="{$node->url}" class="active"><span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </span></a>
{elseif $node->parent == true && $node->depth == 1}<li>
<a href="{$node->url}"> <span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}</span> </a>
{elseif $node->type == 'sectionheader'}
<li class="sectionheader">{$node->menutext}
{elseif $node->type == 'separator'}
<li style="list-style-type: none;"> <hr class="separator" />
{else}
<li><a href="{$node->url}" ><span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </span></a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}
--------------------------------------------------------------------------
Il me manquant des : >
Voir ma solution (plus bas).... Pour le point no 2... qui peut me répondre... au sujet des feuilles de style...
---------------------------------------------------------------------
{* CSS classes used in this template:
.currentpage - The active/current page
.bullet_sectionheader - To style section header
hr.separator - To style the ruler for the separator *}
{if $count > 0}
<ul class="art-menu">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" 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 $node->current == true}
<li><a href="{$node->url}" class="active"><span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </span></a>
{elseif $node->parent == true && $node->depth == 1}<li>
<a href="{$node->url}"> <span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}</span> </a>
{elseif $node->type == 'sectionheader'}
<li class="sectionheader">{$node->menutext}
{elseif $node->type == 'separator'}
<li style="list-style-type: none;"> <hr class="separator" />
{else}
<li><a href="{$node->url}" ><span class="l"></span><span class="r"></span><span class="t"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext} </span></a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}
--------------------------------------------------------------------------