kanasaikuat Posted December 20, 2014 Share Posted December 20, 2014 As per title, is there a better way to know which tpl current URL using? Instead of digging all the way to controller and check every single lines of codes. Link to comment Share on other sites More sharing options...
razaro Posted December 20, 2014 Share Posted December 20, 2014 On one page there could be multiple tpl used like for example category page. So no easy way to know all. But what you can see from page is name of controller that is used. If you check page html source you can see in body element id name of current controller and main tpl that is connected to that name. For modules in that id is made from module name and modules controller it uses. But in tpl there are often hooks with holds several modules attached, but that you can check in back office, Modules > Positions and search for name of the hook. Also use prestashop github search to find pats of code. Link to comment Share on other sites More sharing options...
selectshop.at Posted December 20, 2014 Share Posted December 20, 2014 (edited) Another way is to analyse the source code of the site at <link rel="stylesheet" Edited December 20, 2014 by selectshop.at (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