Creating a Basic Template for Joomla

One of the reasons that using Joomla makes it easy to create a website is the availability of templates that take care of all of the background stuff, so you can concentrate on the content. There is undoubtedly a consideration here, that any template you use will be someone else’s – and may not be quite what you are looking for when it comes to making your website yours. If you are fairly confident with coding, you can create your own templates and use Joomla the same way you do for content – as a management system which keeps everything in one place.

To create a (very) basic template for Joomla, you simply need to have an FTP client – or know how to use the File Manager of your cPanel – and the basic template files that make up every Joomla template. These files are:

  • Index.php – this creates the main body of your template, positions and a path to your stylesheet.
  • TemplateDetails.xml – this is the file that the Joomla software needs to read the information in your template
  • Css/template.css – this is the stylesheet itself. That means it carries all of the information that decides what your website looks like.

There are three basic templates that come with the Joomla application, and to see what the above files look like you can open any of the template files and familiarize yourself with the content of the files. There is a lot of detail in each of these and to list it all here would take up too much space, but if you are familiar with HTML code it will be recognizable to you.

In the index.php file, you will include any code which specifies the position of content – whether that be page titles, meta descriptions and tags, and so forth. It is this file that will govern the layout of your website.

In the templateDetails.xml file, a lot of information is required so that Joomla knows what to show. You can write this code yourself, or base it around the already-existing code for the templates that came with the software. The information in this file will tell Joomla which version of the software the template has been written for, what it is called, who created it and when, as well as a great deal of other information. This is where the licensing information is kept.

The final file that you need to edit is the CSS file. CSS stands for Cascading Style Sheet and is responsible for the colors, fonts and graphics used on your site. When you are editing the index file you will need to place a line of text pointing to the CSS file, so that your website knows where to load the stylesheet file from.

There are many guides on the Internet which will inform you on how to edit the specific information in the three separate files, and it is worth familiarizing yourself with these guides before you attempt to create any intricate template for Joomla. To begin with, it is worth simply playing with the code to see what kind of changes are possible.

Joomla: Website Creation for Beginners

The benefit of using a content management system (such as Joomla!) to set up a website is the ease it introduces to a process that, ordinarily, takes a lot of hard work and knowledge of a process that involves specialist information when done the “hard way”. If you use Joomla, you may not have the absolute freedom that a web designer enjoys, but you will be able to create quality websites which are easy to use and navigate.

To set up a website using Joomla – if you want to get the best out of it – it is best to start by setting up web hosting. It is possible to get free hosting, however this is not the best way to do things. Yes, it is free. But it isn’t very good, unfortunately. Free web hosting does have the benefit of being free, but you get what you pay for. Free web hosting tends to be less reliable, and may result in a lot of downtime, as well as poor functionality if you receive a lot of visitors to your site. A good, cheap web hosting provider will give you more reliability for a price you can afford.

Once you have organized web hosting, it is then a matter of installing Joomla on the hosting account. This is a simple process and involves downloading the Joomla software from their website and following the simple instructions that come with it. This is a step-by-step process and allows you to concentrate on bringing your specialist knowledge to the process. Your part in this is content provision – you write or create the content, and Joomla will manage it. Your web host will ensure its place on the Internet.

In addition, you will want to ensure that the content is displayed in a way which is going to attract the right kind of attention – so you want it to look good. This means finding a Joomla template that you are happy with. There are several sites which provide free templates. When you look at templates, what you will see is a general idea of how it will look – obviously the banners and finer details will change when you update the content and make other changes. What the template shows you is how the colors, fonts and other elements of your site will look like on screen.

There is plenty of support on the Joomla website itself – in the form of forums and FAQs, as well as a lot of partner sites which provide specialist advice and information so that novices can create a usable, high quality website without having to go from the beginning and learning how to write code. For someone looking to create a good website from scratch, Joomla is an option which allows you to concentrate on what you are good at and leave the technicalities to the experts.

Once the software and template are downloaded, they are highly customizable and can be edited without fuss so that you achieve exactly the right look.