Jump to content

How correctly extend a template on a module


cautbur

Recommended Posts

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

  • 1 month later...

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