Editing and Saving Templates
Next, let’s make a small change to the Front Page template.
First, expand the "Templates" node of the Test Weblog hierarchy.
Double click the Front Page template.
The Template
Editor opens with the Front Page template.
Scroll down
to the bottom of the template and, just before the closing </BODY> tag,
enter the text "Copyright Your Name
<$CurrentDate format="yyyy"$>"
Note:
<$CurrentDate$> is a built in template tag that prints the current date. The
"format" attribute tells the tag to print the year of the current date.
Thus, when the weblog is published, <$CurrentDate format="yyyy"$> will be
replaced with the current year. i.e. 2004.
After entering the text,
click the save button on the Template Editor’s toolbar.
Finally, publish the weblog and view the changes as described previously.
Next...