jaimesks Posted December 17, 2018 Share Posted December 17, 2018 How could you pass php variables to a tpl I'm trying to pass the variables from a php file to the footer.tpl can someone tell me the steps to be able to enter php code in the footer.tpl or pass the php variables to smarty Link to comment Share on other sites More sharing options...
Daresh Posted December 17, 2018 Share Posted December 17, 2018 You need a module for that, follow the tutorial from prestashop docs. Link to comment Share on other sites More sharing options...
jaimesks Posted December 17, 2018 Author Share Posted December 17, 2018 can you provide me with a link Link to comment Share on other sites More sharing options...
JBW Posted December 17, 2018 Share Posted December 17, 2018 Here for 1.7: http://doc.prestashop.com/display/PS17/Creating+a+PrestaShop+1.7+Module Link to comment Share on other sites More sharing options...
razaro Posted December 17, 2018 Share Posted December 17, 2018 Best to check documentation and default modules like for 1.6 https://github.com/PrestaShop/blocksocial/blob/master/blocksocial.php and 1.7 https://github.com/PrestaShop/ps_socialfollow/blob/master/ps_socialfollow.php 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