GAELLE 3 Posted May 23, 2009 Posted May 23, 2009 BonjourJe souhaiterai oter les photos qui se trouvent en haut des rubriques sous categorie (voir fichier Capturergda2.JPG )mais garder ceux dans le fichier Capturergda1.JPGPouvez vous m'aider svp car je ne sais pas du tout ou chercher ? Merci Share this post Link to post Share on other sites
Atch 399 Posted May 23, 2009 Posted May 23, 2009 Salut, vous souhaitez uniquement supprimer l'image principale de la catégorie?Ouvrir category.tpl et chercher {$category->name|escape:'htmlall':'UTF-8'} {$nb_products|intval} {if $nb_products>1}{l s='products'}{else}{l s='product'}{/if} {if $scenes} <!-- Scenes --> {include file=$tpl_dir./scenes.tpl scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} id_image}-category.jpg" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if} {/if} {if $category->description} {$category->description} {/if} supprimer {else} <!-- Category image --> {if $category->id_image} id_image}-category.jpg" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if} V++Atch Share this post Link to post Share on other sites
GAELLE 3 Posted May 23, 2009 Posted May 23, 2009 MERCI mais non c'est l image principale de la sous catégories que je veux enlever (voir fichiers ci joints) . Une autre solution ?? Merci beaucoup Share this post Link to post Share on other sites
cyrtocara 1 Posted May 23, 2009 Posted May 23, 2009 Bonsoir,il suffit de modifier la catégorie concernée dans le BO grace au petit icone "modifier" présentà côté de la catégorie concernée "Accueil>Vêtements > Culottes"ou supprimer l'image "/img/c/31-category.jpg" via FTP mais à confirmer ;-P Share this post Link to post Share on other sites
jeckyl 499 Posted October 7, 2009 Posted October 7, 2009 Si on supprime l'image de la sous catégorie, cela n'apparaitra plus sur le listing des sous catégories.il vaut mieux modifier le fichier category.tpl du thème en retirant le code correspondant à la ligne 13. {else} <!-- Category image --> {if $category->id_image} getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if} Share this post Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now