we::blog beta
about
create weblog
news
tutorial
faq
contact
show template


login
nickname
password
remember
signup

nickname
password
retype password
e-mail
retype e-mail


recently modified weblogs
..............SOFEANNY...........
No Name
Dagboek
AussieAri's weblog
durianbelanda's weblog
the unbearable lightness of blog
Luahan & Gelodak di Jiwa
Tathiel's weblog
pojok seorang.orang
dan jendela pun berbisik...
No Name
10 SECOND HEART♠BREAK
julie.
DI SINI LOPPIESS
g|g|takBertatoo
~The Bloody Morning After~
Weblog Ukhti Ani..Proud To Be Muslimah..
Halu Insequence
bizz - a collection of great links!
HOUSE OF SYSTEM ADMINISTRATOR
newly created weblogs
sitiaisyah's weblog
xlabb's weblog
No Name
||~ the jo ann show ~||
Special dedicated to Jehan Miskin........
archived material
2000 December
2001 January
2001 February
2001 March
2001 April
2001 May
2001 June
2001 July
2001 August
2001 September
2001 October
2001 November
2001 December
2002 January
2002 February
2002 March
2002 April
2002 May
2002 June
2002 July
2002 August
2002 September
2002 October
2002 November
2002 December
2003 January
2003 February
2003 March
2003 April
2003 May
2003 June
2003 July
2003 August
2003 September
2003 October
2003 November
2003 December
2004 January
2004 February
2004 March
2004 April
2004 May
2004 June
2004 July
2004 August
2004 September
2004 October
2004 November
2004 December
2005 January
2005 February
2005 March
2005 April
2005 May
2005 June
2005 July
2005 August
2005 September
2005 October
2005 November
2005 December
2006 January
2006 February
2006 March
2006 April
2006 May
2006 June
2006 July
2006 August
2006 September
2006 October
2006 November
2006 December
2007 January
2007 February
2007 March
2007 April
2007 May
2007 June
2007 July
2007 August
2007 September
2007 October
2007 November
2007 December
2008 January
2008 February
2008 March
2008 April
2008 May
openlog

Tutorial for users who signed up after March 13, 2001

As of March 13, 2001 everyone who signs up for we::blog gets a template that predefines building blocks so that editing the template is easier without sacrificing the customizability that you had before. For anyone who signed up before, you can check out testlog (show template) to see how this works.

Here is how your template is structured. It is important to note that some "tags" are in this format [#tag] and some are in this format [$tag]. [#tag]s are predefined building blocks that can be customized by the advanced user by editing the translate_template directives in their <weblog> section. Don't modify these unless you know what you're doing!

First you need to have a link to the edit template form for your template. This link should show up only IF the user that's logged in IS the OWNER.

[IF $is_owner]
  <a href="[$edit_template]">edit template</a>
[ENDIF]

Every page in your weblog has a "main message". On the front page of your weblog is the main message that describes your weblog (the one that initially says "Edit this message to change the name of your weblog"). On all the comments pages, the main message is the post that the comments are on. You also need a link to post new messages or add new comments. That's what the [#post] is for.

[$message_title]
[$message_body]

last modified [#mod_datetime]

[#post]

This is how your front page is structured. Everything between [#main_page] and [/#main_page] defines your front page. Anything between [#messages] and [/#messages] defines the look of each post. Within a [#message], you define what a [#visible_message] looks like. In this case, we have a title followed by an [#edit] link followed by the message body followed by the message id, author nickname, posting time and comment link.

[#main_page]
  [#messages]
    [#date_header]
    [#hidden_message] 
    [#visible_message]
      [$message_title] [#edit]
      [$message_body]
      [$message_id] |
      posted by <b>[$author_nickname]</b> at 
      [$post_hour]:[$post_minute]    
      | [#comment]
    [/#visible_message]
  [/#messages]
[/#main_page]

Similar to how we defined the [#main_page] above, the following defines the look of all the comments pages. Notice there is no comment link in this example because by default we don't allow comments on comments.

[#comments_page]
  [#messages]
    [#hidden_message]
    [#visible_message]
      [$message_title] [#edit]
      [$message_body]
      [$message_id] | 
      posted by <b>[$author_nickname]</b> on 
      [#post_datetime] 
    [/#visible_message] 
  [/#messages]
[/#comments_page]

To list out your archived posts you use this (notice archived months only appear on the [#main_page]).

[#main_page]
  [#archives]
    <a href="[$link]">[$month_name] [$year]</a>
  [/#archives]
[/#main_page]

Are you still having trouble with your HTML template?

Check out we::blog news for more tips and additions to the service.

Check out the FAQ.

The FAQ sucks? Or you've got a question for the FAQ? E-mail me.

You'd love to see another tutorial? E-mail me.