How to Change the Footer in Joomla
One of the most commonly requested changes to an installation of the Joomla content management system is how to change the footer information or delete it altogether. As Joomla is freely offered under the GPL License, you can edit or remove the copyright information as long as the information remains within the platform's php source code. This article assumes that you are using a default installation of Joomla version 1.5.15 with the default template rhuk_milkyway. Please note that if you implement a different template into your Joomla installation, the paths described in this article will change where appropriate.
- Difficulty:
- Moderate
Instructions
Things You'll Need
- Computer
- Internet connection
- FTP client
Changing the "Powered by" Footer
- 1Download a copy of your index.php file from your \templates\rhuk_milkyway directory to your local system and make a backup copy. Open the original file with Notepad or your favorite editor and locate the following text starting at around line 158:
<p id="power_by">
<?php echo JText::_('Powered by') ?> <a href="http://www.joomla.org">Joomla!</a>.
<?php echo JText::_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a>
<?php echo JText::_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
</p> - 2Remove the "Powered by," "Valid," or "and" text, simply by deleting the text between the single quotes leaving only (' ') and save the file. Do not delete any code as you may decide at a later date that you would like to put some text in this area.
- 3To retain the link functionality and change only the text and link destination, we can use eHow as an example of a different link by changing <a href="http://www.joomla.org">Joomla!</a> to <a href="http://www.ehow.com">eHow</a> and saving the file.
- 4To delete the link functionality permanently, delete one or more of the default links by simply removing the encompassing code and text <a href="http://www.joomla.org">Joomla!</a> altogether.
- 5Upload your new index.php file and check your results.
Changing the Copyright Footer
- 1Download a copy of your en-GB.mod_footer.ini file located in the \language\en-GB directory to your local system and make a back up copy of it. Open the original file and locate the following text:
-
FOOTER=Footer
FOOTER_LINE1=Copyright © %date% %sitename%. All Rights Reserved.
FOOTER_LINE2=<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License.</a> - 2To remove all traces of the copyright information, delete all of the text and code to resemble the lines below. Save the file and upload it to your website.
-
FOOTER=Footer
FOOTER_LINE1=
FOOTER_LINE2= - 3To edit the copyright information, examine the FOOTER_LINE1 code closely. To remove the "Copyright" text and its symbol, simply remove the following: Copyright ©. To remove the date or site name, remove the percent signs and appropriate corresponding text. For example, remove the date by deleting %date%.
- 4Similar to the edits described in "Powered By" footer instructions, refer to line FOOTER_LINE2= and change the text and link destination to what and where you desire. Often, the original code is changed to point to back to your website similar to <a href="http://www.yourdomainname.com">Your Website</a>.
- 1
Tips & Warnings
- Experiment with changing both footers. Add additional text or hotlinks or perhaps an image and see how you can make them appear differently.
- Save yourself some pain and back up your original files before making edits to them.