24/03/2015, 17:55:02
voici mon gabarit :
Code :
[== Indéfini ==]
<h2 class="title">Liste complète des références :</h2>
<div class="NewsSummary">
<ul>
{foreach from=$items item=entry}
{if isset($entry->fields)}
{foreach from=$entry->fields|sort_object_array:'Client' item='field'}
<li>
{if $field->name == 'Client'}
{eval var=$field->displayvalue} :
{/if}
{if $field->name == 'ref_interne'}
{eval var=$field->displayvalue} :
{/if}
<a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">{$entry->title|cms_escape}</a>
{if $field->name == 'Lieu'}
{eval var=$field->displayvalue}
{/if}
</li>
{/foreach}
{/if}
{/foreach}
</ul>
</div>
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}