Jump to content

Recommended Posts

Hello everyone!

 

According official theme documentation there is no file with the name layout.tpl in theme files.

 

But in default bootstrap theme there is layout.tpl file.

 

  • What is the purpose of this file?
  • Is it alway necessary to have it while developing your own theme? Do I need it and why?
  • How Prestashop uses it during theme initialization?

I tryed to find more information but there is only a couple of short mentiones about.

 

Thank you!

Link to comment
Share on other sites

Looks like it's just used as wrapper to display the rest of the things. Like if you remove the header there, it will not display

 

Thanks Nemo!

 

Yes, I think the same: kind of just enter point for template parts......

 

Do you personnaly use it somehow?

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...