"Creating templates from scratch doesn't need to be hard

Dr Dobbs - Joomla Templates:

Alexander (Sasha) Sirotkin works on the LTE (Long Term Evolution) Project at Comsys Mobile. Alexander can be reached via e-mail at sasha.sirotkin@gmail.com.

Joomla is an open source content management system (CMS) that has all the functionality that you would expect -- banners, contacts, RSS feeds, polls, and much more. Because it was designed to be extensible, there are hundreds if not thousands of modules and components written for Joomla. It is mostly written in PHP, uses MySQL database as a back end, and released under GPL.

Joomla has a flexible and powerful template system which has a huge number of both free and commercial templates available for it. Unfortunately Joomla templates tend to be too colorful with a bit non-professional and childish look, which is generally not what you would want for a commercial website. I came across this problem while working on one of my projects. After checking literally hundreds of templates I had to consider ordering a custom template from one of the companies specializing in this area or creating one myself. While the former is probably the option that most commercial companies would chose, I decided to go with the latter mainly because all I needed was a plain and simple Google-style template and I figured out that it might be fun to learn something new in the process of writing it. For both of the above reasons I did not want to modify an existing template but rather preferred to write a new one entirely from scratch. As it turned out, it is indeed surprisingly simple and fun.

With this in mind, in this article I show how to write a minimal, yet functional Joomla template from scratch, starting with Joomla 1.0.x then 1.0.x templates to Joomla 1.5x which has a very different API."

Dr Dobbs - Joomla Templates

No comments: