The Joomla! Forum ™

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Aug 20, 2005 3:21 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2352
Location: Lancaster, Lancashire, United Kingdom
Changing the footer copyright notice:

A quick note about copyright and your site
From the start let's make one thing clear - you own your site, the content of the site is yours and does not belong to anyone else. There is an obligation to maintain the copyright notice within Joomla's PHP source code but you are not obliged to allocate the copyright of your site to anyone but you in the publicly visible page footer

Now lets get on with answering the question at hand:

Essentially there are three ways to change this text.
1. Within your template's index.php file.
2. Within the /includes/footer.php file.
3. Within the language files.

A little explanation of how these methods are inter-related:

Each template set lives in its own sub-folder within /templates//
A template consists of:
  an index.php (not to be confused with the scripts index.php in the installation root.
  a css file usually css_template.css contained within /templates//css/
  additionally image files within /templates//images/

/includes/footer.php is part of the core distribution of the script.

Your template's index.php file 'includes' - programmer speak for merges - footer.php into the final output of the page.
footer.php itself retrieves the Copyright text from the languages files.

There are pros and cons to either of these strategies, which I will explain as I go.

1. Editing your template's index.php so as not to include includes/footer.php and to simply place your text directly into the template.
Pros: Quick easy and efficient. It will also survive any upgrade of the core installation.
Cons: If you change templates, or use multiple templates you will have to replicate your edits throughout multiple templates.
Find and remove this line from the file /templates//index.php

2. Editing includes/footer.php so it does not retrieve the copyright info from the language files. Instead enter your own details here.
Pros: Again fairly quick and easy - possibly more efficient as the info will be available throughout multiple template sets.
Cons: The includes/footer.php file is part of the core distribution - it gets overwritten when you upgrade your favourite CMS.

URL; ?>

Find and remove these lines, or similar from the /includes/footer.php file, and replace with your own html or php.

3. Editing the language files directly - so that footer.php retrieves your info.
Pros: does the job
Cons: less transparent to anyone who takes over from you as editor. Also prone to being overwritten when you upgrade your favourite CMS.
Specifics: edit the file /languages/english.php

Some people have suggested moving the includes/footer.php file, for example into your template's folder, and editing the template to include this file.
Pros: still fairly quick and easy, and will survive an upgrade of the core CMS.
Cons: only compatible with templates that have been edited to work this way. Other templates may cause an error when the file is not found in its default location.

Good news for the future:
In upcoming version 4.5.3 the footer is a module.
No need to hack any code any longer.

This is not my work - I have just aggregated and summarised the work of others.

Dean Marshall

minor edits by mod. 10/28/06
DISCUSSION of this thread can be done here:,49646.0.html

Dean Marshall Consultancy - six Joomla experts -

Joomla Experts - Joomla Support

Last edited by mcsmom on Sat Oct 28, 2006 11:27 pm, edited 1 time in total.

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group