Page 1 of 1

Nesting templates

Posted: Fri Oct 03, 2008 1:24 pm
by robbedoes
I have been playing with CMSMS for a while and I'm quite impressed what can be made with it.
There is one thing about CMSMS I don't like and that's the way templates are used.

When defining several page lay outs you have to write complete templates which are largely redundant.
So I'm looking for a way to create a kind of main template and several sub templates just for the content parts.

An example:

Main.tpl
OneCol.tpl
TwoCols.tpl
ThreeCols.tpl

Where OneCol, TwoCols and ThreeCols are the ones to choose from when writing new content.

Is this possible? Will such a thing be available in a future release? Or is there another approach?

For the rest: A GREAT PRODUCT!

Regards,

Rob

Re: Nesting templates

Posted: Fri Oct 03, 2008 4:49 pm
by duclet
You can do this with global content blocks. Put the redundant parts in a global content block and refers to it to the template.

Re: Nesting templates

Posted: Sat Oct 04, 2008 10:21 am
by robbedoes
Hi Duclet,

I changed my templates and content blocks according to your suggestion.
The results are exactly what I was searching for.

Awesome!!!