Bonjour,
Lorsque je souhaite faire une notification par email, j'ai le message suivant :
Fatal error: Smarty error: [in /mnt/149/sda/5/a/theolivier/phpwebphoto/template/yoga/theme/noir/mail-css.tpl line 5]: syntax error: unrecognized tag: background-color:#444; color:#fff; (Smarty_Compiler.class.php, line 455) in /mnt/149/sda/5/a/theolivier/phpwebphoto/include/smarty/libs/Smarty.class.php on line 1092
Qq peut-il m'aider ?
Merci d'avance.
Hors ligne
/template/yoga/theme/noir/mail-css.tpl :
smarty, le moteur de template utilisé dans piwigo, a une syntaxe particuliere pour les accolades:
http://www.smarty.net/manual/fr/languag … ldelim.php
il faut rempalcer { par {ldelim}, ou bien mettre ce que tu souhaite que smarty n'interprete pas (mais retranscrive litteralement) entre {literal} et {/literal}
Hors ligne
Cela fonctionne, impeccable
Merci bien.
Hors ligne