Mixa_RU Posted December 3, 2015 Share Posted December 3, 2015 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 More sharing options...
NemoPS Posted December 4, 2015 Share Posted December 4, 2015 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 Link to comment Share on other sites More sharing options...
Mixa_RU Posted December 6, 2015 Author Share Posted December 6, 2015 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 More sharing options...
NemoPS Posted December 7, 2015 Share Posted December 7, 2015 Nope, never used it 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