Jump to content

TEXTE d'EDITORIAL


Recommended Posts

Hello !

Dans le message, donc, du coup, j'ai été obligée de supprimer toutes les apostrophes, ce qui fait un peu bizarre.... mais j'ai encore dû zapper quelque chose, je pense.. lol ;-)

Share this post


Link to post
Share on other sites

Alors tu peux juste remplacer ceci:

{if $xml->body->$title}{$xml->body->$title}{/if}
{if $xml->body->$subheading}{$xml->body->$subheading}{/if}
{if $xml->body->$paragraph}
{$xml->body->$paragraph}{/if}



Par ceci:

{if $xml->body->$title}{$xml->body->$title|stripslashes}{/if}
{if $xml->body->$subheading}{$xml->body->$subheading|stripslashes}{/if}
{if $xml->body->$paragraph}
{$xml->body->$paragraph|stripslashes}{/if}



Et le tour est joué ??

Share this post


Link to post
Share on other sites

cause à effet : ==>

Fatal error: Smarty error: [in /home.10.34/annsecre/www/prestashop/modules/editorial/editorial.tpl line 7]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2300) in /home.10.34/annsecre/www/prestashop/tools/smarty/Smarty.class.php on line 1097

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