The Writer's Block v3.8a Online Manual
Dec 2, 2006

Item templates

Item templates are (X)HTML pages that determine the look of a particular item on the page. They do not govern the look of the page itself: page templates do that.

Each template has its own special tags. Put a tag in a particular part of your template to automatically insert the appropriate content at that point. Tags are case-sensitive and use curly braces (above the square brackets on a keyboard). The names of these files must not be changed (don't even change the extension to .html).

The default template included with Writer's Block looks like poo. Get creative!

blog.htm

How each blog post looks on the front page.
{DATE}: date of the post, the format can be edited in Preferences.
{TITLE}: title of the post.
{BODY}: the text of the post.
{CATEGORY}: the category of the post. Prints "no category" if the post is not categorised, or else it prints links with the display names of the categories.
{COMMENT_COUNT}: the number of comments made so far.
{AUTHOR}: the display name of the user who made the post.
{PREV}: link to previous blog post.
{NEXT}: link to next blog post.

minipost.htm

How each Mini-Blog post will look. This is what is shown with the {MINIBLOG_CONTENT} tag in miniblog.htm.
{TITLE}: the title of the post.
{BODY}: the body of the post.
{AUTHOR}: display name of the Mini-Blog's and the post's author.
{DATE}: the date of the post, as the creator formatted it when the Mini-Blog was created.
{MINI_ID}: the ID number of the post.
{BLOG_URL}: the Mini-Blog's URL stirng.
{PREV}: link to previous blog post.
{NEXT}: link to next blog post.

comment.htm

Each individual comment in permalink.php will use this code.
{NAME}: name of speaker.
{COMMENT}: text of comment.
{DATE}: when the comment was made; the format can be edited in Preferences.
{P_URL}: the permalink URL of the individual comment. The tag outputs only a relative URL ("permalink.php?PostID=[ID]#C[CommID]") so that you can put it into a text link or an image link as you please.

Back to top

Writer's Block and related material is the original property of Desi Quintans, (GPL) 2005.
Documented by txt.page