Page 1 of 1

Howto insert template within template

Posted: Fri Jan 18, 2008 4:57 pm
by mkaminski
This may be a dumb question, but how does one insert a CMSMS template within another? For example, I would like to have a main template that calls upon other templates, such as footer, header, etc.

Thanks

Re: Howto insert template within template

Posted: Fri Jan 18, 2008 5:01 pm
by calguy1000
Global content blocks.

Re: Howto insert template within template

Posted: Fri Jan 18, 2008 9:39 pm
by mkaminski
That doesn't really help me, because if I add a header, the WYSIWYG editor strips my HTML and BODY tags, etc. There's no way to call on a template like you can normally with smarty?

Re: Howto insert template within template

Posted: Fri Jan 18, 2008 9:52 pm
by calguy1000
well, you can create .tpl files and 'include' them sure.

Re: Howto insert template within template

Posted: Wed Jan 23, 2008 9:24 pm
by cyberman

Re: Howto insert template within template

Posted: Thu Jan 31, 2008 2:12 am
by agdemack
mkaminski wrote: That doesn't really help me, because if I add a header, the WYSIWYG editor strips my HTML and BODY tags, etc. There's no way to call on a template like you can normally with smarty?
Just to clarify ... the template editor doesn't use WYSIWYG. So you can use global content blocks in your templates with whatever HTML tags you want.