GiGam Posted March 9, 2016 Share Posted March 9, 2016 (edited) Hi there, I just started with prestashop. PREMISE: I have a module which .tpl is composed somehow like this:<PART CODE 1> <PART CODE 2> PROBLEM: In the header.tpl I'd like to hook the module .tpl code split in two, somehow like this: <div id="a"> <PART CODE 1> </div> .... <div id="b"> <PART CODE 2> </div> QUESTION: How can I do that? smarty {if isset($params)} could be an option? Thanks in advance! Edited March 9, 2016 by GiGam (see edit history) Link to comment Share on other sites More sharing options...
Nico Ratti Posted March 9, 2016 Share Posted March 9, 2016 Hi, why don't you split module.tpl in 2 file.tpl?? 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