carlitos666 Posted February 5, 2013 Share Posted February 5, 2013 Bonsoir, Petiti bidouillage apparemment assez simple mais je n'y arrive pas... Je dois afficher pour les Catégories une image/logo de 980x230 pixels Pour les Sous-catégories une image/logo un peu moins large de 980X150 pixels J'ai créé un second type d'image dans le BO / préférences / images que j'ai nommé "sub_category" pour les sous-categories mais maintenant je ne sais pas quoi modifier exactement dans category.tpl <!-- Category image --> {if $category->id_image} <div class="align_center" id="imagecategory"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} Merci à tous Link to comment Share on other sites More sharing options...
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