Jump to content

Is the a better way to know which tpl currently using?


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...