Multiple content chunks on a page?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Synchro

Multiple content chunks on a page?

Post 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?
cyberman

Re: Multiple content chunks on a page?

Post 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 ?
Synchro

Re: Multiple content chunks on a page?

Post 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?
cyberman

Re: Multiple content chunks on a page?

Post 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  ::).
Locked

Return to “CMSMS Core”