-
Book Overview & Buying
-
Table Of Contents
Apache Roller 4.0 - Beginner's Guide
In this exercise, you'll learn to create and edit your first custom template via Roller's admin interface:
Open your web browser, log into Roller, and go to the Templates page, under the Design tab:

On the Add a new template panel, type mytemplate in the Name field, leave the default custom value in the Action field, and click on the Add button:

The mytemplate template you've just created will show up in the templates list:

Now click on the mytemplate link under the Name field, to open the mytemplate file for editing:

Leave the mytemplate value for the Name field, type mytemplate in the Link field, and type My First Template in Apache Roller! in the Description field:

Then replace the <html><body></body></html> line with the following HTML code:
<html> <body> Welcome to my blog, <b>$model.weblog.name</b> </br> This is my first template </br> My weblog's absolute URL is: <b>$url.absoluteSite...
Change the font size
Change margin width
Change background colour