Re: [AIDES] modification d'affichage smartsections comme Portfolio | Titre du sujet : Re: [AIDES] modification d'affichage smartsections comme Portfolio par tungsten sur 14/05/2007 15:42:51
Citation : jeankrikri a écrit: Il faut que tu édites les template correspondant à smartsection_categories_table.html dans Administration>Template
Voici un exemple de code qui te permets d'afficher l'image de la catégorie
<!-- Ajout affichage categorie image -->
<{if $category.image_path}>
<img class="smartsection_category_image" src="<{$category.image_path}>" alt="<{$category.name}>" width="<{$category_list_image_width}>"/>
<{/if}>
C'est à ajouter dans le template après
<!-- Start categories loop -->
<{foreach item=category from=$categories}>
<tr>
<td valign="middle" class="even" align="left">
Je veux bien mais dans mes templates de SMARTSECTION, je n'ai pas de smartsection_categories_table.html mais seulement smartsection_category.html !!? Est-ce normal ?
|
|