Page 1 of 1

Multiple content chunks on a page?

Posted: Wed May 17, 2006 1:42 pm
by Synchro
I'm new to CMSMS. I need to be able to place more than one item of content on a page - for example to have a two column layout with a separate content item in each. This doesn't seem to be possible using the normal content management mechanisms as far as I can see. All the 2-column templates I've found either have static or module-driven content (e.g. news) in any secodary content area.

One work around is to define my 'secondary' content items as global chunks, but that's really clunky and leads to lots of templates (and rather misses the point of a CMS).

Alternatively I could rely on a style and split the content within a content chunk - but then I have layout in my content.

Is there a dynamic module that allows me to pull in a specific content chunk (i.e. without its associated template) on a per-page basis?

Ideas?

Re: Multiple content chunks on a page?

Posted: Wed May 17, 2006 1:54 pm
by cyberman
Hi Synchro,

welcome on CMSms.

Don't know if I've understand right, but you can use more than one content block by inserting something like {content block="block1"} and so on. There are some other nice parameters available too.

Have your read the help file for {content} tag yet ?

Re: Multiple content chunks on a page?

Posted: Wed May 17, 2006 5:13 pm
by Synchro
Ah - excellent stuff, I've tried defining a chunk with 2 content blocks and it does work well. thaks very much for the pointer. I shall RTFM further!  :o

What happens if you have defined a content page with two content blocks and then assign a template that has only one block, or has a second block with a different name? Are the additional content chunks lost?

Re: Multiple content chunks on a page?

Posted: Fri May 19, 2006 6:00 pm
by cyberman
Synchro wrote: Are the additional content chunks lost?
Hmm, have tried with a CMS test installation version 0.11.2 and the additional content was lost. I'm afraid the current version will do it too  ::).