Ptitmickey Posted June 23 Share Posted June 23 Bonjour, J'ai un problème d'affichage de caractère spécial dans un titre de catégorie : https://shop.nzdesign.ch/3-chevalet-d-eveil Je précise que c'est le seul endroit où la catégorie ne s'affiche pas correctement, vous pouvez voir que dans le fil d'ariane ou dans le menu principal, c'est correct. J'ai aussi tenté de réenregistrer la catégorie comme indiqué dans un autre post. Mon site est configuré correctement en UTF-8 et le serveur aussi. Merci d'avance pour votre aide. Link to comment Share on other sites More sharing options...
Eolia Posted June 24 Share Posted June 24 il n'y aurait pas un filtre Smarty dans le tpl ? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 24 Share Posted June 24 Il y a 1 heure, Eolia a dit : il n'y aurait pas un filtre Smarty dans le tpl ? Oui ll doit certainement manquer un nofilter <h1 class="h1">{$category.name nofilter}</h1> Link to comment Share on other sites More sharing options...
Ptitmickey Posted June 24 Author Share Posted June 24 Bonjour, Merci pour vos rélponses. J'utilise le template par défaut "Humingbird". Dois-je apporter une modification au fichier ? ../themes/hummingbird/templates/cms/category.tpl {** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {extends file='page.tpl'} {block name='page_title'} {$cms_category.name} {/block} {block name='page_content'} {block name='cms_sub_categories'} {if $sub_categories} <p> {l s='List of sub categories in %name%:' d='Shop.Theme.Global' sprintf=['%name%' => $cms_category.name]} </p> <ul> {foreach from=$sub_categories item=sub_category} <li> <a href="{$sub_category.link}"> {$sub_category.name} </a> </li> {/foreach} </ul> {/if} {/block} {block name='cms_sub_pages'} {if $cms_pages} <p> {l s='List of pages in %category_name%:' d='Shop.Theme.Global' sprintf=['%category_name%' => $cms_category.name]} </p> <ul> {foreach from=$cms_pages item=cms_page} <li> <a href="{$cms_page.link}"> {$cms_page.meta_title} </a> </li> {/foreach} </ul> {/if} {/block} {/block} Link to comment Share on other sites More sharing options...
Eolia Posted June 24 Share Posted June 24 hum... on n'est pas dans /cms mais dans /category Link to comment Share on other sites More sharing options...
Ptitmickey Posted June 27 Author Share Posted June 27 Peut-être pouvez-vous préciser lequel de ces fichiers doit être modifié ? 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