TWiki> Cenkes Web>BlogAddOnHome (12 Dec 2006, Main.TWikiContributor)EditAttach
Tags:
create new tag
, view all tags

Blog AddOn

A simple weblog application.

See TWiki.BlogAddOn for an introduction and installation instructions.
This topic is meant for administrators and serves as introduction springboard to BlogAddOn topics. You may safely delete this topic.

Start from here

  • BlogPost - overview of all posts with filtering and sorting options
  • BlogPostCreator - form to start new posts
  • BlogCategory - editable list of blog categories

Reference for administrators

  • BlogPostForm - form definition with post data fields
  • BlogPostTemplate - every new post gets settings from this topic
  • BlogPostViewTemplate - every post is displayed through this view template
  • BlogPostCommentTemplate - form template for comment box (see TWiki.CommentPlugin)
  • BlogAddOnStyles - default css styles for BlogPost and blog posts (BlogPostViewTemplate)

Note: Care must be taken when:

  • Renaming post topics: the comment topic needs to be renamed as well
    • The comment topic is created automatically when the first comment is submitted, using the syntax topic name + Comment.
  • Renaming categories: the comment topics are not updated automatically

Putting the blog post overview in a different topic

To put the overview in a topic, write:

%INCLUDE{"BlogPost"}%

You may set display defaults, for example for category and sort field, using additional parameters. Possible values are:

Parameter Possible values Default value
category Interesting, General (categories can be defined in BlogCategory) none
sort formfield(Title), formfield(Category), formfield(Author), created, modified none
limit any number no limit
sortdirection ascending, descending ascending

For example, to show latest 10 posts, sorted latest post on top, write:

%INCLUDE{"BlogPost" sortdirection="descending" sort="created" limit="10"}%

This will generate:

Sort by:  Title   Category   Author   Date   Last modified

Limit to: 
Category:   Subscribe


Safe and Sound

27 Aug 2008 - 19:49 in General
I have forborne from writing in this blog, preferring less visible corners, like MyParagraphs and my off line paper notebook for lack of notability in my everyday musings and general shortage of scribbling ...

Roller Skating Unprotected

30 Mar 2008 - 16:36 in General
As it happens, divine protection can play tricks on you. Naturally, you can't play tricks on it in return, but what you can do is require less statistically impossible miracles by not asking for trouble ...

Am I Religious

07 Mar 2008 - 20:26 in General
Yes and no. I've been trying to view some of my pages from a distance and concluded that the overabundance of clergyman's vocabulary required a shy explanation, both to myself and to the poor victims who ...

I'm in the Army Now... Not!

21 Feb 2008 - 21:32 in General
A few days ago I got my military ID the thing they give you after you've served or, as in my case, after you've jumped through the hoops in order not to serve. I feel pretty ugly about it all. In all ...

Elliptical Trainer

17 Jan 2008 - 22:11 in General
Ellipse. My belly is starting to look like one. Come to think of it, many parts of my body are. My face, on the contrary, is giving up its natural form for something more round. I remember in "Over the ...

Nethacked

21 Dec 2007 - 17:20 in General
It feels like the last week has just disappeared out of my life. There's a one word explanation for that Nethack. Once I used to be a passionate gamer. I would spend night after night solving quests ...
Comments: 1 - latest comment by YuriMalykhin - 21 Dec 2007 - 19:08

Love and choice

29 Nov 2007 - 21:32 in General
Here's the hard question: Can deep, selfless love be an excuse for hurting people? When thinking rationally, sometimes it's obvious we should deny a request when it's harmful for someone in the long run ...
Comments: 1 - latest comment by YuriMalykhin - 07 Dec 2007 - 19:27

Open Life

15 Nov 2007 - 15:44 in General
Open Life is a topic I want to spend some of my time on and a state of being I would like to spend much of my life in. What if you made your life completely and utterly open to everyone? Not only high ...

My Overall Status 20071109

09 Nov 2007 - 18:11 in General
Several people (including me) expressed some interest as to what exactly I am doing these days. My standard answer is "wasting my life", which is pretty much close to the real truth. The problem is my ...

Productivity, Getting Things Done and Meditation

04 Nov 2007 - 21:03 in General
For me the hardest part about overcoming my shortcomings, be it bad habits or something more serious, is recognizing one as such and determining if overcoming it is worth it at all. Actually, I don't think ...
Comments: 1 - latest comment by AndrewPantyukhin - 08 Nov 2007 - 22:29
Topic revision: r1 - 12 Dec 2006 - 12:40:11 - Main.TWikiContributor
 

Cenkes - IT Pro Bono