As an afterthought, it is possible to customise the Joomla Footer module that changes the year in the copyright clause automatically. Create a template override of mod_footer and edit the PHP code in the override file. That way future Joomla updates do not overwrite the custom code.
If the site uses Cassiopeia, the override file is templates/cassiopeia/html/mod_footer/default.php. Copy and paste the following code into default.php with your modifications:
If the site uses Cassiopeia, the override file is templates/cassiopeia/html/mod_footer/default.php. Copy and paste the following code into default.php with your modifications:
Code:
<?php/** * @package Joomla.Site * @subpackage mod_footer * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */defined('_JEXEC') or die;use Joomla\CMS\Language\Text;use Joomla\CMS\HTML\HTMLHelper;$lineone = 'Copyright © ' . HTMLHelper::_('date', 'now', 'Y') . ' Example Pty Ltd. All Rights Reserved.'?><div class="mod-footer"> <div class="footer1"><?php echo $lineone; ?></div></div>
Statistics: Posted by toivo — Sat Mar 30, 2024 10:32 pm