With a Post Template you can define the fields that will appear in Blog Post Builder when you create a blog post.
Making a Post Template is really easy. A tag has the following format:
$TAGNAME(fieldname)
For example:
$TEXT(My blog text)
This will add a text field with label "My blog text" to the Text tab in the Blog Post Builder.
Another example:
$LINK(A link that points to a website)
This will add a text field with label "A link that points to a website" to the Links tab in the Blog Post Builder.
Yet another example:
$IMAGE(A cool image)
This will add a image field with label "A cool image" to the Images tab in the Blog Post Builder.
You can combine and multiply tags freely. For example:
<a href="$LINK(A link)"><img src="$IMAGE(A image)" border="0"></a><BR>
$TEXT(My text)
This will add a link field to the Links tab, a image field to the Images tab and a text field to the Text tab.
$REF
The $REF tag is a special one, imagine the following template:
Subject: $TEXT(My subject)
Copy of subject: $REF(My subject)
When you enter "This is my subject" in the "My subject" field then the final blog post will be:
Subject: This is my subject
Copy of subject: This is my subject
As you can see the $REF tag simply copies the value of a existing field, in this case the "My subject" field.
$ALT
The $ALT tag is used to specify alternative (alt tag in html) text for a image. For example:
<img src="$IMAGE(A image)" alt="$ALT(A image)">
This template will cause a Image field to appear on the Image tab in Blog Post Builder. In addition to the Image field a Alt field will appear. If you fill in "mypic.jpg" in the Image field and "my little picture" in the Alt field then the final blog post will look like:
<img src="mypic.jpg" alt="my little picture">
More examples
For more examples take a look at the *.TXT files in the "templates/" directory.
Back to Table of Contents.