Blog

The blog module provides snippets and functionality to allow the site owner to create and maintain a blog within their website. The blog structure isn't limited to just categories and posts, through the use of clearFusionCMS documents it's possible to place each blog category at almost any location within the site, giving you complete freedom to structure the site to best suit your target market.

Initial Setup

Integrating with Search

The blog module adds additional fields, blog.title, blog.subtitle, blog.summary, blog.story, blog.tags, blog.meta_title, blog.meta_description and blog.meta_keywords which can be indexed by the site search. However before blog posts can appear in search results you must to select which of these fields are indexed and which are used for tagging posts.

Select Settings then Search then Search Settings and add the blog fields to the appropriate search fields. Next select the Tag Fields setting and add the blog.tags field to it.

For the changes to take effect the content has to be reindexed, select the clearFusionCMS settings group, Rebuild Search and finally Reindex Content. It can take several minutes to rebuild the search data depending on the size of your website.

Default CSS

The blog module includes a default style sheet to get you started, just add the following above </head> in your template to include it:

<link href="system/modules/blog/blog.css" rel="stylesheet" type="text/css">

While the default CSS provides a useful stating point in most cases you will want to refine the style for your site.

Settings

From the dashboard select Settings and then the Blog settings folder, from here you can set the physical size for each of the possible sizes for the blog featured image as well as the constraints for the social media image which is published via Open Graph meta data.




TOP