J1.5

Customising the JA Purity template/left: Difference between revisions

From Joomla! Documentation

No edit summary
No edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
The original JA Purity template was provided from JoomlArt.com as a zip but the latest files have been installed along with Joomla.
The original JA Purity template was provided from JoomlArt.com as a zip but the latest files have been installed along with Joomla.
The relevant files, index.php and template.css, are in the following directories:<br />
The relevant files, index.php, template.css and bullet.gif, are in the following directories:<br />
<pre>
<pre>
     templates/ja_purity
     templates/ja_purity

Revision as of 11:06, 24 June 2009


The original JA Purity template was provided from JoomlArt.com as a zip but the latest files have been installed along with Joomla. The relevant files, index.php, template.css and bullet.gif, are in the following directories:

    templates/ja_purity
                 index.php
                 css/
                     template.css
                 images/
                     bullet.gif

If you've been following the tutorial you can download a tutorial version of the template that installs to the following directory:

    templates/my_japurity
                 index.php
                 css/
                     template.css
                 images/
                     bullet.gif

HTML and PHP Files

ja_purity/index.php

		<?php if ($this->countModules('left')): ?>
		<!-- BEGIN: LEFT COLUMN -->
		<div id="ja-col1">
			<jdoc:include type="modules" name="left" style="xhtml" />
		</div><br />
		<!-- END: LEFT COLUMN -->
		<?php endif; ?>

CSS Files

ja_purity/css/template.css

#ja-mainbody-fr #ja-col1 {
	width: 20%;
}
#ja-mainbody-fr #ja-col1 {
	width: 20%;
	float: left;
}
/* LEFT COLUMN + RIGHT COLUMN
--------------------------------------------------------- */
#ja-col1 {
	float: left;
	width: 24.99%;
	padding-top: 10px;
	overflow: hidden;
}

#ja-col2 {
	float: right;
	width: 20%;
	overflow: hidden;
}

#ja-col1 table,
#ja-col2 table {
	border-collapse: collapse;
	border-spacing: 0;
}

#ja-col1 ul li,
#ja-col2 ul li {
	padding-left: 15px;
	margin: 0;
	background: url(../images/bullet.gif) no-repeat 5px 50%;
}

#ja-col1 ul, #ja-col2 ul {
	margin: 0;
}

#ja-col1 ol, #ja-col2 ol {
	margin-left: 5px;
}

#ja-col1 .article_separator,
#ja-col2 .article_separator {
	display: none;
}

Image Files

  • bullet.gif

Javascript Files

ja_purity/js/XXXXX.js