Difference between revisions of "Customising the JA Purity template/header/search"
From Joomla! Documentation
< J1.5:Customising the JA Purity template | header
m (Applied tutorial template and removed categories) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
− | + | {{:Customising the JA Purity template/tutorialtemplate|index.php, template.css and icon-search.gif|<pre> | |
− | + | <location of template>/ | |
− | + | index.php | |
− | + | css/ | |
− | + | template.css | |
− | + | images/ | |
− | + | icon-search.gif | |
− | < | + | </pre>}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </pre> | ||
==HTML and PHP Files== | ==HTML and PHP Files== | ||
=== ja_purity/index.php === | === ja_purity/index.php === | ||
Line 47: | Line 39: | ||
</source> | </source> | ||
==Image Files== | ==Image Files== | ||
+ | ===icon-search.gif=== | ||
==Javascript Files== | ==Javascript Files== | ||
===ja_purity/js/XXXXX.js=== | ===ja_purity/js/XXXXX.js=== | ||
<source lang="javascript" line start=""> | <source lang="javascript" line start=""> | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 15:11, 15 January 2011
The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
This article is a stub and needs to be expanded. If you can provide information or finish this article you're welcome to do so. Please remove this message afterwards or replace with {{inuse}} while making major edits. - Thank you. |
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 icon-search.gif, can be found in templates/ja_purity. If you've been following the tutorial, you can download a tutorial version of the template that installs to the templates/my_japurity folder. Inside the folder of the template, the files are located as follows:
<location of template>/ index.php css/ template.css images/ icon-search.gif
HTML and PHP Files[edit]
ja_purity/index.php[edit]
<?php if($this->countModules('user4')) : ?>
<div id="ja-search">
<jdoc:include type="modules" name="user4" />
</div>
<?php endif; ?>
CSS Files[edit]
ja_purity/css/XXXXX.css[edit]
/* Search */
#ja-search {
padding-left: 20px;
background: url(../images/icon-search.gif) no-repeat center left;
position: absolute;
bottom: 15px;
right: 0;
}
#ja-search .inputbox {
width: 120px;
border: 1px solid #333333;
padding: 3px 5px;
color: #999999;
background: #444444;
font-size: 92%;
}