cautbur Posted October 4, 2016 Share Posted October 4, 2016 I am upgrading a module to 1.7, a front controller uses a template, i want to extend customer/page template in order to only change content and title block because is a module that add a account button with a custom page like the estandar ones in 1.7 version. When i use {extends customer/page.tpl} and redefine my own blocks (content and title) to fit to an standar account page, PS give me a page renderded inside other one. I explain it. Seem like PS render a page in wich the content is the full page that I want to render. How i correctly extend a standar template for create a new page with my own content but the same structure that the other accounts pages. I think the correctly way is to extend templates instead of rewrite the entire html on mypage. Thanks and best regards. Link to comment Share on other sites More sharing options...
AnonymousUser Posted November 11, 2016 Share Posted November 11, 2016 Did you ever find a solution to this? Link to comment Share on other sites More sharing options...
DD_DD2 Posted November 14, 2016 Share Posted November 14, 2016 Hi, Have you tried out the recommended change : Make sure you use the new way of calling templates: fetch(module:modulename/views/template.tpl). from http://build.prestashop.com/news/module-development-changes-in-17/#assets 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