bahbvee Posted June 23, 2020 Share Posted June 23, 2020 (edited) Hello! I've made a little module so i could easily save some variable's using: hookActionFrontControllerSetVariables() so that i can access them in my .tpl files like: {$modules.mymodule.var_name} Another module that i am using assigns his own template variables with $this->smarty->assign($templateVars). I want to send the variables set in my own module with them but i dont really know how to get that $modules object in there. Can someone point me in the right direction? Much appreciated. tldr: how can i get $prestashop.modules object in another module's php file. edit: im working in 1.7.6.5 Edited June 23, 2020 by bahbvee (see edit history) 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