I'd like to be able to use the Smarty {include} tag in my template to pull in another template. Is this supported in CMS2?
What I'm trying to do cannot be done with the template inheritance method that has been well documented in Rolf's help page (http://www.cmscanbesimple.org/blog/the- ... gn-manager).
Thanks,
Sanjay
Smarty {include} tag
Re: Smarty {include} tag
I was able to answer my own question after all. Yes it is supported and works great as long as there is no duplication of content block names between the templates.
Re: Smarty {include} tag
Example:
Code: Select all
{include|strip file='cms_template:SomeName'}
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -