Customising the JA Purity template

From Joomla! Documentation

Revision as of 23:19, 26 June 2009 by Jwwicks (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Documentation all together tranparent small.png
Under Construction

This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
This article was last edited by Jwwicks (talk| contribs) 5 years ago. (Purge)


JA Purity is a highly customizable template available by default in standard Joomla 1.5 installations. JA Purity was designed by and features the following:

  1. Screen width configuration (Fluid/Narrow/Widescreen/Fixed in pixel or percentage)
  2. Multiple colors schemes (Red, Green, Blue and Black )
  3. Well Structured, xHTML/CSS validated and SEO-optimized source
  4. Cross-browser support for Internet Explorer 6+, Firefox, Safari, Opera

If you have a support question about the JA Purity template check for a solution on the following forum.

Before You Start

Before you start hacking away at the template you may want to do one of the following:

  1. Create a directory templates/my_japurity. Copy the original ja_purity directory to my_japurity. Go to the administrator/language/en-GB directory and copy en-GB.tpl_ja_purity.ini to en-GB.tpl_my_japurity.ini. Do the same in the language/en-GB directory. Open the templateDetails.xml file and change ALL references to the original ja_purity directory to the new directory my_japurity.
    1. <name>JA_Purity</name>
    1. <language tag="en-GB">en-GB.tpl_ja_purity.ini</language>
    1. <language tag="en-GB">admin/en-GB.tpl_ja_purity.ini</language>
    1. <param name="theme_header" type="folderlist" directory="templates/ja_purity/styles/header" default="" label="Header Themes" description="HEADER THEMES DESCRIPTION" />
    2. <param name="theme_background" type="folderlist" directory="templates/ja_purity/styles/background" default="" label="Background Themes" description="BACKGROUND THEMES DESCRIPTION" />
    3. <param name="theme_elements" type="folderlist" directory="templates/ja_purity/styles/elements" default="" label="Primary Elements" description="PRIMARY ELEMENTS DESCRIPTION" />
  2. Download the tutorial template. Once you download the archive, rename it as and then log into the Administration area of your Joomla site and install the template.

This will save you from worrying about any updates to the Joomla source that might overwrite your edits. This tutorial is based on the latest template version as of Joomla version 1.5.11.

Template Layout

Here's the directory structure for the template. Click to see a description of the directory contents (if available) <imagemap> Image:JA_Purity_directories.jpg default Ja purity directory structure desc bottom-left </imagemap>

Front Page

Click on the picture to see the descriptions (if available) <imagemap> Image:JA_Purity_Tutorial_Main.png|640px rect 19 9 220 67 Customise the Logo rect 253 9 1102 67 Customise the Header Background rect 1140 13 1197 34 Customise Accessibility rect 1113 40 1265 64 Customise Searching rect 0 76 279 657 Customise - Module Position Left rect 278 76 1002 657 Customise - Main Content Area rect 1002 76 1280 657 Customise - Module Position Right rect 0 657 1280 817 Customise - Spotlight Area rect 0 817 1280 1024 Customise - Module Position Footer rect 0 0 1280 73 Customise Header Area default Customising the JA Purity template desc bottom-left </imagemap>


JA Purity Tutorial Positions.png

Ja purity module position.png




Horizontal Navigation







User 1

User 2

User 3

User 4

User 5



CSS Files

Customisation - Basics

Administration Features

Enable Horizontal Navigation Menus

Customise Module Position and Content

Customise - Header Area
Customise - Module Position Left
Customise - Main Content Area
Customise - Module Position Right
Customise - Spotlight Area
Customise - Module Position Footer

Customise the Logo
Change the Position of Your Logo
Use one image for Header and Logo

Customise the Header

Customise the Header Background
Change the Size of the Header
Add or Change the Header Color Scheme

Customise the Favicon

Customise the Favorite Icon

Customise Horizontal Navigation Menus

Center the Horizontal Menus
Change the Color of the Horizontal Menus
Use a Gradient Image for the Background in the Horizontal Menus

Customisation - Intermediate

Customise Accessibility
Customise Searching

Customisation - Advanced

Customise Overrides

Known Issues and Bugs

  • Active Menu item not updating. SEE:
  • PROBLEM: When Joomla cache is enabled reference Joomla 1.5.10 and before) and clicking a menu item it doesn't change color. It is impossible to understand which is the active menu item. SOLUTION: for now the only solution is to disable the cache function in the mod_mainmenu: go to 'Tools>Module Manager' and select the 'Main Menu' module (type=mod_mainmenu). Under 'Parameters>Advanced Parameters' select 'Caching>No Caching'. SEE:

See also

Some information about this template