Design appearance using default Templates
From Joomla! Documentation
This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Articles in this Series
Start Here:
Hands-on a Joomla! site:
- Use a site that has already been set up.
- Install a copy of Joomla! on your own computer, known as localhost
- Use the Demo on the Joomla! site.
Adding and altering Articles:
Editing Articles:
- Hands-on adding links to other pages
- Hands-on adding a table
- Hands-on adding a picture
- Hands-on splitting a long article
- Manipulating Articles using the Front-end
Setting up a Joomla! site:
- Background: get to know the Back-end
- Background: controlling user access to a Joomla! Site
- Background: design the content - Categories
- Background: design appearance using Menus and Modules
- Background: design appearance using default Templates
- Hands-on setting up a Joomla! site
Administration:
Doing and learning more:
Most content is of relevant to both versions. Originally written for Joomla! version . In process of being updated:
The aim of this document is to help you to understand how the graphical design of a Joomla! site is achieved using a Template. This is background to creating a site because the content and the appearance of a Joomla! web site are handled separately.
Templates shipped with 1.6, 1.7, or 2.5 are different from those available to 1.5 - so this will need a lot of changes.
Background to creating a new Joomla! 2.5 web site[edit]
There are four aspects to designing a new Joomla! web site. These also apply to planning to make alterations(including upgrading versions J1.5 to J2.5+) to an existing site or planning for transferring a site that already exists in another form into the Joomla! CMS.
- The content hierarchy:
- Who you expect to use the site and what you want them to be able to do
- The layout of the menus and the position of some functionality on the page
- The graphical design of the whole site
Who is it written for[edit]
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.
Templates and the appearance of a site[edit]
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 thus the appearance is designed separately. You do not have to hand-craft each page and 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.
For version 1.6[edit]
I am not sure this is going to work because the templates are different - but text left here to try
Change a Template to demonstrate that appearances change[edit]
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.
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)
Change templates[edit]
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[edit]
- 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![edit]
- Beez
- http://docs.joomla.org/Beez
- Makes use of CSS (Cascading Style Sheet) fomatting. It needs experience to do the customization
- RHUK_Milkyway
- http://docs.joomla.org/Tutorial:Customising_the_Milkyway_template
- This is the system's default template. It has only a few configurations.
- JA_Purity
- http://docs.joomla.org/Ja_purity
- 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[edit]
RHUK_Milkyway and JA_Purity allow some changes to be made from Edit in Template Management
RHUK_Milkyway[edit]
- 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
- Refresh the Site page to see the results
- Or
- Click Preview (which Previews what the page would look like when the changes are made.)
JA_Purity[edit]
- Make the Default Template JA_Purity
- Click on the name of the Template or Click Edit
There are more options for change than with the other Templates. Try them in the same way - remember to Apply the change before a Preview.
Other Editing with the Template [Edit] screen[edit]
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 for they are beyond the scope of this document. These files are, however, documented elsewhere.
What is a Template and where is it located?[edit]
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 yourself. 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[edit]
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 but is covered in the on-line resources listed below.
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, at least for part of the web site. Some background using CSS is helpful too. There are some detailed accounts in the on-line documents and books.
Planning your site[edit]
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.
And remember that you can change Templates after you have created the site.
Further information[edit]
Basic information on Templates
More detailed aspects
Books
- See Books and references All books have material on Templates. The most detailed is in Joomla! Bible
--Lorna Scammell March 2011