Jump to content

Modification images sous catégories


Recommended Posts

Bonjour

Je souhaiterai oter les photos qui se trouvent en haut des rubriques sous categorie (voir fichier Capturergda2.JPG )
mais garder ceux dans le fichier Capturergda1.JPG

Pouvez vous m'aider svp car je ne sais pas du tout ou chercher ? Merci

7951_9RG7IjTwJ0wiZPmGBkNQ_t

7953_KOu5A38SflRJKi4GfZb7_t

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 4 months later...

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}

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...