Skip to main content
Logo
There is a newer version of Contensis. Click to find out more and download the latest version.

Create a blog template

This article goes through the process of creating a template that can be used to create blogs. The template will consist of a sub template, a template with some additional properties, and a web control.

Nested template approach:
Using sub templates allows changes to be easily made, which in turn will affect each blog post that has been created from it.

Create a sub template

  1. Create a new sub template.
  2. Give your sub template a name (e.g. Blog-sub).
  3. Add the blogs record web control by right clicking within the sub template to bring up the Insert Web control menu, select Blogs and then select Record.
  4. The Blog Record web control settings window will appear. Make any changes that you need and click Save.
  5. Save the sub template and then Submit and Approve it.

Create a template to house the sub template

  1. Create a new Structured Content Template.
  2. Give your template a name (e.g. Blog-record).
  3. Select Properties from the Editor tab bar.
  4. Scroll down to Template Type and select Structured Content Template from the Type dropdown and Blogs from the Association dropdown menu. This tells Contensis that any page created using this template will be based on the Blogs structured content definition.
  5. Return to the Editor tab bar and drag the sub template you created in the previous section, by clicking and dragging the sub template icon into your template placeholder. The sub template and web control will be displayed within your template.
  6. Save the template and then Submit and Approve it.
  7. You'll need to assign your template to the folder where you want editors to add blogs to your site.

Blog Record web control

Insert Webcontrol > Blogs > Blog Record

For more customisation and details of the other settings within this web control, you can refer to our common web control settings list.

Enable Comments List

A checkbox allows you to toggle whether or not comments can be submitted and listed below the blog posts. If enabled, further options become available and allow you to grant permissions based access to blog comments:

Allow Anonymous Contributors

Use this checkbox to toggle whether or not contributors can comment anonymously on blog posts, without needing to log in.

Sign In Page

Browse to specify the URL of the page that will display the Logon control. When assigned, the path to the page will display underneath the buttons.

Sign Up Page

Browse to specify the URL of the page that will display the User Registration control. When assigned, the path to the page will display underneath the buttons.

User Profile Page

Browse to specify the URL of the page that will display the user profile form. When assigned, the path to the page will display underneath the buttons.

Moderation Type

Use the dropdown to set which groups of users can moderate comments from Editor Groups, Approver Groups or Custom Group. Selecting Custom Group will bring up a further dropdown with a list of available groups in the CMS.

Enable Blog Name

A checkbox allows you to toggle whether or not a title is displayed above the blog.

Enable Tags

Use this checkbox to toggle whether or not tags are displayed for blogs. You can tag your content using metadata keywords.

Enable Publish Date

A checkbox allows you to toggle whether or not the date of blog publication is displayed. Choose from dropdown options including Long Date, Short Date, and Year.