starcom Posted February 21, 2014 Share Posted February 21, 2014 Bonjour, voila je ne trouve pas de solution à ce problème : J'ai crée une catégorie cms, j'ai mis une description avec photo, textes etc... Lorsque on clique dessus, la catégorie n'affiche seulement les liens contenus dans cette catégorie mais ni la description ni les photos, ce qui fait une page assez vide et pas très esthétique.... Surement un bout de code manquant permettant d'afficher la description.. Mais dans quel fichier ? et quoi rajouter ? Merci d'avance.. Link to comment Share on other sites More sharing options...
Amokless Posted February 21, 2014 Share Posted February 21, 2014 Bonjour, Une url peut être?? Cordialement, Math Link to comment Share on other sites More sharing options...
starcom Posted February 21, 2014 Author Share Posted February 21, 2014 oui oui sans pb merci... http://www.printmarseille.com/printonline/categorie/3-fabrication-enseigne-publicitaire-marseille Link to comment Share on other sites More sharing options...
Amokless Posted February 21, 2014 Share Posted February 21, 2014 (edited) Étrange en effet... Qu'avez vous mis exactement dans ce CMS? un Screenshot serait le bienvenue Les autres CMS fonctionnent très bien.... Edited February 21, 2014 by Amokless (see edit history) Link to comment Share on other sites More sharing options...
starcom Posted February 21, 2014 Author Share Posted February 21, 2014 (edited) Voilà désole je suis sur l'iPad .. Merci Edited February 21, 2014 by starcom (see edit history) Link to comment Share on other sites More sharing options...
Amokless Posted February 21, 2014 Share Posted February 21, 2014 C'est une catégorie Parente, du coup il affiche uniquement les liens vers les CMS dépendants de cette catégorie. Retirez tout les CMS dépendant de celui ci, ça devrais le faire. bien à vous, Math Link to comment Share on other sites More sharing options...
starcom Posted February 24, 2014 Author Share Posted February 24, 2014 Oui mais du coup si je fais cela dans mon menu horizontal je n'aurai plus de sous menu de ma catégorie "enseigne publicitaire" … non ? Link to comment Share on other sites More sharing options...
Amokless Posted February 25, 2014 Share Posted February 25, 2014 (edited) C'est exact... Il va falloir modifier le fichier CMS.TPL contenu dans votre dossier thème : Cherchez ce bout de code (moi c’était à la ligne 49): <p class="title_block">{l s='List of sub categories in %s:' sprintf=$cms_category->name}</p> <ul class="bullet"> {foreach from=$sub_category item=subcategory} <li> <a href="{$link->getCMSCategoryLink($subcategory.id_cms_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> </li> {/foreach} </ul> Remplacez le par ceci : <p class="title_block">{l s='List of sub categories in %s:' sprintf=$cms_category->name}</p> <div class="rte{if $content_only} content_only{/if}"> {$cms->content} </div> <ul class="bullet"> {foreach from=$sub_category item=subcategory} <li> <a href="{$link->getCMSCategoryLink($subcategory.id_cms_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> </li> {/foreach} </ul> Je n'ai aucun moyen de tester. Cela correspond il à vos attentes? Cordialement, Math Edited February 25, 2014 by Amokless (see edit history) Link to comment Share on other sites More sharing options...
starcom Posted February 25, 2014 Author Share Posted February 25, 2014 Bonjour Math, en effectuant la manipulation que tu m'as conseillé, les sous catégories ne s'affiche plus.. et la description non plus... en pièce jointe le rendu avant/après la modification... Donc toujours le problème, une autre solution ?? Merci. Link to comment Share on other sites More sharing options...
Amokless Posted February 25, 2014 Share Posted February 25, 2014 pouvez vous me fournir un accès ftp à votre serveur je vais faire les modification moi même... envoyez moi un message privé. 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