How to do yearly update of copyright information

Written by Matt on 9 November 2009

Topics: Core tips

To do an automatic yearly update of the copyright notice on you site,
add the following snippet of code to your template’s index.php file:

Copyright &copy; 2005&nbsp;-&nbsp;<?php echo date(’Y'); ?>

Get notified about new tips & tricks for Joomla:

RSS

Click here to subscribe via RSS feed


subscribe

Click here to receive updates via email

Leave a Comment Here's Your Chance to Be Heard!

CommentLuv Enabled

Subscribe without commenting

Joomla! is the registered trademark of Open Source Matters, Inc and Joomlatips.com is not affiliated with or endorsed by Open Source Matters, joomla.org or the Joomla! project.