Page 1 of 1

Custom Content Blocks - what are they

Posted: Wed Mar 12, 2008 1:59 am
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.

Re: Custom Content Blocks - what are they

Posted: Mon Jun 09, 2008 4:33 pm
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

Re: Custom Content Blocks - what are they

Posted: Mon Jun 09, 2008 5:12 pm
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...