Kouadjio Posted March 17, 2010 Share Posted March 17, 2010 Bonjour j'essaie en vain de mettre les sous catégories sur le thème Moon mais je n'y arrive pas, est ce que quelqu'un pourrais m'aider? merci d'avance Link to comment Share on other sites More sharing options...
Maury Girard Posted March 17, 2010 Share Posted March 17, 2010 BonjourJe vous invites à nous donner plus de détails pour résoudre votre incidentExempleUne impression d'écran , le lien du site , etc... Link to comment Share on other sites More sharing options...
Kouadjio Posted March 17, 2010 Author Share Posted March 17, 2010 En fait j'ai plusieurs catégories mais les sous catégories n'apparaissent pas, mais les produits apparaissent,je n'arrive pas a modifier le category.tpl du thème Moon de manière à ce que les sous catégories apparaissent et non les produits.Voici le category.tpl du theme Moon : {include file=$tpl_dir./breadcrumb.tpl} <!-- Left --> {if $category->active}{include file=$tpl_dir./errors.tpl} {if $products} {include file=$tpl_dir./product-list.tpl products=$products} {elseif !isset($subcategories)}{l s='There is no product in this category.'} {/if} {else}{l s='This category is currently unavailable.'}{/if} Link to comment Share on other sites More sharing options...
Kouadjio Posted March 21, 2010 Author Share Posted March 21, 2010 Vraiment personne ne peut m'aider?????? Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 22, 2010 Share Posted March 22, 2010 Il suffit de reprendre le fichier category.tpl du thème par défaut : {if isset($subcategories)} <!-- Subcategories --> {l s='Subcategories'} {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} {/foreach} {/if} Link to comment Share on other sites More sharing options...
Kouadjio Posted March 22, 2010 Author Share Posted March 22, 2010 J'ai rajouté le code du theme d'origine voila ce que ca donne voir l'image en capture, dois je modifier ensuite quelque chose dans le css? de plus quand je retire tous les produits de la catégorie principale plus rien n'apparait Link to comment Share on other sites More sharing options...
toph-69 Posted March 22, 2010 Share Posted March 22, 2010 bonjour juste une question si tu mets le themes d'origine non modifié, tes sous catégorie s'affiche ? Link to comment Share on other sites More sharing options...
Kouadjio Posted March 22, 2010 Author Share Posted March 22, 2010 oui elles s'affichent normalement Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 23, 2010 Share Posted March 23, 2010 Ca y est ! Tu es arrivé a afficher les sous-categories. Felicitations ! Link to comment Share on other sites More sharing options...
toph-69 Posted March 23, 2010 Share Posted March 23, 2010 je crois que non elle s'affiche juste sur le thème par défaut pas avec celui qu'il utilise ^^ si tu donnais le code de ta page categorie.tpl ca serai plus facile ou le lien du site afin de voir ce qui manque +++ Link to comment Share on other sites More sharing options...
Kouadjio Posted March 23, 2010 Author Share Posted March 23, 2010 Oui tout à fait elles s'affichent avec le thème d'origine, et je vous envoie l'url de mon site en PM Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 23, 2010 Share Posted March 23, 2010 Bonjour,Je ne comprends pas... Tu n'es pas arrivé a afficher les sous-catégories sur ta page catégorie ? A moins que j'ai mal vu la copie d'écran... Link to comment Share on other sites More sharing options...
Kouadjio Posted March 23, 2010 Author Share Posted March 23, 2010 Si j'ai reussit mais elle ne s'affiche pas comme les produits du dessus... Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 23, 2010 Share Posted March 23, 2010 Alors al faut faire de la css. As tu contacté le créateur de ce thème ? Peut etre n'a t'il pas prévu d'afficher les sous catégories. Link to comment Share on other sites More sharing options...
Kouadjio Posted March 23, 2010 Author Share Posted March 23, 2010 je l'ai contacté il m'a répondu une première fois avec la même réponse que vous il fallait rajouter le bout de code...je l'ai recontacté sans réponse à ce jour. Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 23, 2010 Share Posted March 23, 2010 Alors à vous de jouer pour rendre ce bout de html compatible avec votre thème.PS: si ce sujet est clos. N'oubliez pas de mettre "[résolu]" devant le sujet... Link to comment Share on other sites More sharing options...
Kouadjio Posted March 23, 2010 Author Share Posted March 23, 2010 c'est loin d'etre resolu..... Link to comment Share on other sites More sharing options...
Joël Gaujard Posted March 23, 2010 Share Posted March 23, 2010 Alors que puis je faire pour t'aider ? 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