5.9.8.005 Released

This updated contains fixes for slideshow, renderer, mobile, and pods.

NOTE: The pod fix corrects a case sensitivity issue when creating / updating pods. This update forces all pods to have lowercase names. This is a go forward fix and doesn't auto update any existing pods. When updating a existing pod with an uppercase character in the name, a new pod will be created that is lowercase. The uppercase pod will can be manually deleted.

Using the BlogCFC Renderer

What is the BlogCFC renderer?

The renderer is a way for BlogCFC to display dynamically generated content in a page or post. The renderer can process just about anything that you can write a handler for, for example, putting in an rss feed result into a page or displaying a twitter search result. This sounds complicated but in actuality, it is easy to accomplish. It is almost like creating a custom tag but in a CFC.

To create a renderer all that is needed is to create the custom renderer CFC and put it in the render folder. After that, refresh the BlogCFC cache and it will be ready for use.

As an example, let's say that this is the blog page content as entered in page edit form body:

view plain print about
1Check out the latest tweets about ColdFusion:
2    <br_twitter search="coldfusion" maxResults="10">

What would be rendered is this:

In the example above, "br_twitter" is the name of the renderer. The use of attributes is optional and not required. When BlogCFC processes the page/post, all attributes are passed to the renderer even if they are not declared in the CFC (attribute overloading).

Now let's go through what it takes to create that example renderer.

[More]