Support for smarty template variables in header and footer
-
Hello,
i suggest you to add 2 lines of code in the init() function of the PrestaShopIntegration_FrontController class:
after:
parent::init();
add:parent::initHeader(); parent::initFooter(); parent::initContent();
In that way the smarty variables initialized in prestashop header, footer and content will be available using $prestashop_integration->getTemplateVars() (for example logo_url, logo_image_height, logo_image_width and so on…).
It will be wonderful if the widget could render a single prestashop template (like header.tpl or footer.tpl).
Thanks for the great work.
https://www.ads-software.com/extend/plugins/prestashop-integration/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Support for smarty template variables in header and footer’ is closed to new replies.