Hello,
Just started going deeper to CMSMS and I bumped into a problem.
The documentation doesn't help since it's for the previous version.
Question is: How to add a template inside another template in a similar way as the {Navigator} -tag does?
For example, there's 5 different page layouts, and everyone has some shared elements like the navigation (which is handled with the Navigator) and a footer. I'd also like to have some of the scripts in a separate shared file.
How do I add the separately created Footer template to the page templates?
I tried to experimet and got it working with the {Navigator} -tag even if the Footer-template is a Core::Generic -template.
So I'm just asking how to do it properly?
Template inside Page-template?
Re: Template inside Page-template?
Checked Simplex template:
This seems to work too (and might be more obvious):
Check this too:
http://www.cmscanbesimple.org/blog/the- ... gn-manager
Maybe no need to separate all stuff.
Code: Select all
{global_content|strip name='Simplex Footer'} {* generic Design Manager template *}
Code: Select all
{include file='cms_template:Simplex Footer'}
http://www.cmscanbesimple.org/blog/the- ... gn-manager
Maybe no need to separate all stuff.