Jump to content

[RESOLU] Afficher le contenu d'une page cms


@rthur
 Share

Recommended Posts

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 by @rthur (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More