Page 1 of 1

New to CMSMS - Content Question

Posted: Wed Jul 26, 2006 7:29 pm
by eleven3
I was pulling out my hair trying to get the flexibility out of Joomla! that I desired.  After a quick trip over to opensourcecms, I tried the demo of CMSMS.  I'm hooked, it's so much more intuitive than the rat's nest of Joomla!.  Thanks to everyone involved on the project, it rocks.

With that being said, I build websites for an agency in Portland, and often times our designers come up with a far different layout than the standard header - left column - right column - footer layout.  So my question is this: is it possible to have multiple content blocks on a page?

I read through some posts but still do not have a clear answer.

Thanks a bunch.

Re: New to CMSMS - Content Question

Posted: Wed Jul 26, 2006 7:45 pm
by calguy1000
Your template currently defines the number of content blocks on a page.

To have more than one content block you just need to put syntax like this into your template (i.e: 5 content areas, a header, 3 columns, and a footer)

Code: Select all

<table>
<tr><td colspan="3">{content block="top"}</td></tr>
<tr><td>{content block="left"}</td><td>{content}</td><td>{content block="right"}</td></tr>
<tr><td colspan="3">{content block="bottom"}</td></tr>
</table>
I know I know, I shouldn't use tables, but for demonstration purposes, it's shorter.
Note:  One block must be just {content}  or some module stuff will break.

Re: New to CMSMS - Content Question

Posted: Wed Jul 26, 2006 7:58 pm
by eleven3
Ok that all makes sense.

(except all that table nonsense)

;)

Can names be anything I choose?

I appreciate the quick response.  Thanks.

Re: New to CMSMS - Content Question

Posted: Wed Jul 26, 2006 9:03 pm
by calguy1000
Yeah, the block names can be whatever you want, but one has to be the default, and just labeled {content}