Custom Content Blocks - what are they

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.
Post Reply
drew
Forum Members
Forum Members
Posts: 72
Joined: Wed Jan 02, 2008 5:37 pm

Custom Content Blocks - what are they

Post by drew »

Hello everyone,


If I understand this feature correctly, CCB can be user defined and can be very useful for placement of custom content anywhere on a page, especially in the sidebar. The mechanics of placing the CCB is generally documented - the ability to render on a single page is less clear.

I have seen many discussions about the various content blocks (global, custom...). As far as I see, there is the "footer" global content block and its purpose is understood. But what about the "custom content block" (CCB), what are they exactly and for what purpose might they be used? Is a custom content block just a variant of a GCB? Must a custom template be created in order to have just one instance of a CCB on single page.

I checked the documentation and it is a bit vague on this topic. Other posts haven't really summarized how they can be used.

As always, thanks for your ideas.
faglork

Re: Custom Content Blocks - what are they

Post by faglork »

drew wrote: If I understand this feature correctly, CCB can be user defined and can be very useful for placement of custom content anywhere on a page, especially in the sidebar. The mechanics of placing the CCB is generally documented - the ability to render on a single page is less clear.

I have seen many discussions about the various content blocks (global, custom...). As far as I see, there is the "footer" global content block and its purpose is understood. But what about the "custom content block" (CCB), what are they exactly and for what purpose might they be used? Is a custom content block just a variant of a GCB? Must a custom template be created in order to have just one instance of a CCB on single page.
GCB : Same content on every page
CCB : page-specific content

If you want a CCB on the page, you have to put it in the corresponding template.

Example of use: You have some pages about some services you provide. For each service you offer a short tip on how to make most of this service. Create a CCB and place it in the sidebar. Style to suit.
Now, wehenever you create/edit a page (which uses the template with the CCB) you have an extra input area to add content - in this case the tip about the use of your service.

hth,
Alex
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Custom Content Blocks - what are they

Post by Dr.CSS »

I take it you are talking about {content block="new content block"}...

If so it's so you can add more than one content edit box in your template...
Post Reply

Return to “CMSMS Core”