Jump to content

Theme extend file not working from modules - why?


Recommended Posts

The standard theme head.tpl file holds

{block name='head_seo'}
some code
{/block}

The smarty engine allows us to extend the file / block. This is done from product.tpl that inserts a canonical tag

But when i try to do the same from a modules .tpl it breaks and returns an error.

Why cant i make this work from a module .tpl when it works fine from the themes template files?

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