文档介绍:Template Creation
Wednesday, 13 October 2004
Introduction
This tutorial will aid you in the creation of simple Joomla! templates without the use of web page creation
software such as Dreamweaver and FrontPage. All templates will be created in xhtml transitional format. If
you do not have any prior html or css knowledge you may have some difficulty with this tutorial. I
mend help with any questions as this is not a html or css tutorial. Also this
tutorial is for templates to be used with Joomla! Stable and above only.
One thing to note about this tutorial is that I use images to show you the code. I do this so you will have to
type it out. In having you do it this way you learn faster by typing the code yourself rather than just simply
copying and pasting.
Examples
There are two example templates included in the zip file that you can download here. The first example
() is an empty template for you to start with. The second example
() is a very simple template with both the file and the file
commented heavily so that you can refer to them both for help. This will be the end result of this tutorial.
PSPAD
You can use text pad as your editor of choice. I would mend, however, that for the purpose of this
tutorial you should download PSPad. This is what I will be using throughout this tutorial.
Getting Started
Before we can get started you need to have PSPad installed. If not, do so from the link above.
If you already have it installed open the and the file that was included
with this document. Once opened proceed to Understanding a Template.
Understanding a Template
First thing that needs to be understood is how a basic template is layed out. The following is basically how
every template starts.
Template Overview
Created on г. 10:25 Page 1 of 14
Template Dissection
There are a