Open Source Training has been teaching people how to learn Joomla for several years now and have found hundreds of beginner Joomla books. There are numerous tutorials on how to add sections and categories or explaining the difference between components and modules.
However, there are very few tutorials on how to build templates. There are two books and a handful of other resources scattered around the web. So, we set out to build the very best template class we could. Here are first five sessions of the class: Joomla templates are not rocket science. You can learn how to build and modify them. We can show you how. Interested?
In order to get started, you'll need to understand the five essential building blocks of every Joomla template. In the five tutorials below we guide you through them all:
- Part 1: Template setup and templateDetails.xml
- Part 2: Index.php
- Part 3: CSS / Cascading Style Sheets
- Part 4: Images
- Part 5: Security
These tutorials are part of our full Joomla Template Class available to all members. Click here to find out more.
Part 1: Template Setup and templateDetails.xml
Part 1: Session Notes
Copy and Paste:
Part 2: index.php
Part 2: Session Notes
Copy and Paste:
Part 3: CSS - Cascading Style Sheets
Part 3: Session Notes
Part 3: CSS Tutorial Links
Part 4: Images
Part 4: Session Notes
(Right Click - Save As - then save to your images directory for your template)
Part 5: Security
We need to make sure that your template is secure and not easily hacked.
There are two essentials steps we need to make that happen:
- Add this line to the very, very top of index.php. This means that only Joomla can run commands on the file – no outside scripts:
- Add a blank file called index.html to each folder. That means the main /test/ folder, plus /css/ and /images/. Why? To hide your folder contents. Without an index.html, anyone could see and browse all your files.
These tutorials you've just seen are part of our full Joomla Template Class available to all members. Click here to take your Joomla template skills to the next level.