@rthur Posted December 23, 2020 Share Posted December 23, 2020 (edited) Bonjour, Je cherche à insérer le contenu d'une page cms avant mon footer. J'ai ajouté ce code au début de la page footer.tpl : {if $category.id == 10 OR $category.id == 25} {assign var=cms_content value=CMS::getCMSContent(16, true, true)} <div class="contentCms"> {$cms_content.content} </div> {/if} Mon problème est qu'il m'affiche le code html brut au lieu de le formater. Comment faire pour le formater au format html? Merci Prestashop 1.7.4.3 Edited December 26, 2020 by @rthur (see edit history) Link to comment Share on other sites More sharing options...
Rajameltine Posted December 24, 2020 Share Posted December 24, 2020 Bonjour, essayez ceci : {$cms_content.content nofilter} 1 Link to comment Share on other sites More sharing options...
@rthur Posted December 26, 2020 Author Share Posted December 26, 2020 On 12/24/2020 at 5:13 PM, Rajameltine said: Bonjour, essayez ceci : {$cms_content.content nofilter} Merci ca fonctionne ! 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