Design appearance using default Templates: Joomla! 1.5
From Joomla! Documentation
Revision as of 13:22, 13 January 2011 by LornaS
GSheader The aim of this document is to help you to understand the graphical layout of a Joomla! site as background to creating a site.
- 1 Who is it written for
- 2 Introduction
- 3 Change a Template to demonstrate that appearances change
- 4 Changes to Templates using Template Manager
- 5 What is a Template and where is it located?
- 6 More about Templates
- 7 Planning
- 8 Cross-references and further information
Who is it written for
Everyone: who is going to create a Joomla! site.
- It will also be useful to someone who is going to alter a Joomla! site
- It is written on the assumption that you do not have experience of designing the appearance of a site.
Some aspects of Templates are beyond the scope of this document but there are links to helpful web documents at the end.
What is meant by the appearance of the Site? This may be an obvious question and even the answer sounds obvious, at least superficially.
A Joomla! site separates the management of the graphic design of web pages from the content. And it is designed separately. You do not have to hand-craft each page but the pages are loaded into an already defined structure. You may already have experienced this in editing an article. When you create an article, it is placed somewhere in the content heirachy, positioned on a menu and much of the appearance of the text is controlled by the Joomla! system.
The layout and the appearance of the menu is handled by the Joomla! system through Templates.
The Templates themselves consist of a series of files to which we will return later.
Change a Template to demonstrate that appearances change
You can see how the appearance of a site can be changed by using different Templates which illustrates the separation of appearance and content.
- Use a web site with content.
- The localhost site with the sample content is a useful example. (cross ref to Back-end and to localhost doc).
Joomla! ships with three Templates. You can see what these look like by changing the Default Template in localhost.
- Login to the Back-end of the site with the Sample data
- Login to the Front-end of the site itself in a different Tab or window (so you can look at both)
Look at the Front-end of the site and note:-
- the colours
- the layout of the Menus
- the layout of the screen
What you see depends on which Template is in use. (Joomla! ships with MilkyWay but the Template used for most of the screen illustrations in this series of documents is JA_Purity)
In the Back-end, use Template Manager:-
- Pull down the menu called Extensions
- Choose Template Manager
Using Template Manager you can alter the Default.
Screen of Template Manager - JA_Purity is the Default. The Help pages are useful.
Notice that you can:-
- set the Default
- Edit the Template
The Default Template is the one in use and usually applies to the whole site. Changing the Default Template alters the appearance of the site.
Alter the Default
- Click on the radio button to select one of the Templates
- Click the Default button on the menu
To see the result of this:-
- Click Preview
- This shows the site with the different Default Template
You can also:-
- View the Front-end - and refresh it
- It will have a different appearance although the content will be the same.
Look at each of the three Templates in turn to give you an idea of the differences.
Summary of Templates shipped with Joomla!
- Makes use of CSS (Cascading Style Sheet) fomatting. It needs experience to do the customization
- This is the system's default template. It has only a few configurations.
- It is highly configurable and includes a large number of parameters. It has the most flexibility without having to modify the code behind it.
Changes to Templates using Template Manager
RHUK_Milkyway and JA_Purity allow some changes to be made from Edit in Template Management
- Make the Default Template RHUK_Milkyway
- Click on the name of the Template or Click Edit
This opens the Use Template [Edit] screen.
With RHUK_Milkyway some colours can be altered.
- Try a different colour
- Click Apply
- Either and then refresh the Site page to see the results
- Click Preview (which Previews what the page would look like when the changes are made.)
- Make the Default Template JA_Purity
- Click on the name of the Template or Click Edit
Here there are more options for change. Try them in the same way - remember to Apply the change before a Preview.
Other Editing with the Template [Edit] screen Note that there are also options on the Toolbar for Edit HTML and Edit CSS.
These give access to the files, so that changes can be made from the Template Manager. These facilities are not covered here. They are beyond the scope of this document. These files are, however, documented elsewhere - refs at end probably.
What is a Template and where is it located?
Templates are a series of css, xml, php, html and image files that work together They are stored in the templates directory of your site. On localhost you can see these files. If you are using an existing web site, you may not be able to view the files (they will be on a server that can usually only be accessed by a few people - for security)
- Use the localhost installation
- Don't edit or delete any of them - obviously.
The Templates are located under the templates folder. For each template there are a series of folders with the relevant files for controlling the appearance and the parameters for the changes that can be made in the Template Manager pages.
More about Templates
You do not have to use one of the Templates shipped with Joomla! If you want to use a different Template, you can:-
- Get one from the web and install it - they are sometimes free but you normally have to pay for them.
- Write a new one yourself
To buy one with a suitable design, you need to find it, download it and install it. So some computing skills and familiarity with the Back-end of Joomla! is needed for this. This is beyond the scope of the documents in this series.
To write your own is also beyond the scope of the documents in this series. You need coding skills and to be the sort of developer who writes their own code for part of the web site.(there are other resources that do- cross ref to setting one up for yourself)
This series is about creating a web site which uses core Joomla! and uses one of the Templates that ships with Joomla! So for planning the site, all you have to do is to decide which one has the best appearance for what you want to do.
Cross-references and further information
Basic information on Templates
- Joomla! Administrator's Manual - on-line
- Quick start guide Thisalso has something on your own design and writing your own templates.
More detailed aspects
Get one off the web
- one ref!
--Lorna Scammell January 2011