Howto insert template within template

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
mkaminski
New Member
New Member
Posts: 3
Joined: Fri Jan 18, 2008 4:22 pm

Howto insert template within template

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Howto insert template within template

Post by calguy1000 »

Global content blocks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mkaminski
New Member
New Member
Posts: 3
Joined: Fri Jan 18, 2008 4:22 pm

Re: Howto insert template within template

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Howto insert template within template

Post by calguy1000 »

well, you can create .tpl files and 'include' them sure.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
agdemack

Re: Howto insert template within template

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

Return to “Layout and Design (CSS & HTML)”