surflibre Posted September 16, 2012 Share Posted September 16, 2012 (edited) Bonjour, Dans les versions jusqu'à 1.4.8.2, il était possible d'insérer du code php via un tpl en activant dans tools>smarty>Smarty.class.php ceci: public $allow_php_tag = true; Dans le tpl de thème : {include_php file='themes/my_theme/my_php_file.php'} Or dans la version 1.4.9, ce réglage à disparu, quelqu'un serait-il s'il y a un nouveau réglage ? Cordialement, Edited September 17, 2012 by lavive (see edit history) Link to comment Share on other sites More sharing options...
surflibre Posted September 17, 2012 Author Share Posted September 17, 2012 Bonjour, J'ai trouvé la réponse ici : http://www.prestasho...e-php-sur-1490/ Résumé : Dans config/smarty.config.inc.php" remplacer : require_once(_PS_SMARTY_DIR_.'Smarty.class.php'); global $smarty; $smarty = new Smarty(); par require_once(_PS_SMARTY_DIR_.'SmartyBC.class.php'); global $smarty; $smarty = new SmartyBC(); Donc problème [résolu] Cordialement, Link to comment Share on other sites More sharing options...
Publisher Posted October 26, 2012 Share Posted October 26, 2012 Does not work for me. Site is remaining white. 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