Loading...
 
Skip to main content

History: Blog Handler

Source of version: 1

Copy to clipboard
            This handler define the properties used to create blogs and blog posts.

! Complete example

{CODE(caption=>YAML)}
preferences:
 feature_blogs: y
objects:
 -
  type: blog
  ref: personal
  data:
   title: My Personal Blog
   description: Random daily thoughts and travel stories
   user: admin
   use_title: y
   allow_comments: y
 -
  type: blog_post
  data:
   blog: $personal
   title: Sample Post
   content: This post was created by the installation profile.
{CODE}

! Blog Object
||__Field Name__|__Mandatory__|__Value__
title|y|Blog title
description| |
user|y|Owner of the blog
public| |If other users are allowed to post in this blog
max_posts| |Amount of posts to display per page
heading| |Blog headline
use_title| |If blog posts have a title
use_find| |If search is enabled for the blog
comments| |If comments are allowed
show_avatar| |If the user avatar is displayed
||

! Blog Post Object
||__Field Name|__Mandatory__|__Value__
blog| |ID of the blog to post in
title| |Title of the blog entry
content|y|Content of the blog entry
user| |Name of the user who posted the entry. By default, blog owner will be used.
private| |If the blog entry is private
||
        

History

Information Version
Wed 26 of Feb, 2014 07:44 GMT-0000 Xavier de Pedro added geolocation to blog posts 7
Thu 16 of Oct, 2008 03:27 GMT-0000 Marc Laporte 6
Wed 24 of Sep, 2008 18:53 GMT-0000 Marc Laporte 5
Wed 17 of Sep, 2008 19:40 GMT-0000 System Administrator 4
Wed 17 of Sep, 2008 17:45 GMT-0000 System Administrator 2
Wed 17 of Sep, 2008 17:43 GMT-0000 System Administrator 1