
I'd like to add this code to Joomla position for footer
© <?php $startyear $curyear echo $startyear . (($startyear ! '-' . $curyear : '');?> www.example.com
but when I save Themler rems out the PHP portion to look like this...
<!--?php
$startYear = 2010;
$curYear = date('Y');
echo $startYear . (($startYear != $curYear) ? '-' . $curYear : '');
?-->
www.example.com
Is there anyway to add a dynamic copyright date to a Joomla template within the themler tenmplate?
I'd like to add this code to Joomla position for footer © <?php $startyear $curyear echo $startyear . (($startyear ! '-' . $curyear : '');?> www.example.com but when I save Themler rems out the PHP portion to look like this... <!--?php $startYear = 2010; $curYear = date('Y'); echo $startYear . (($startYear != $curYear) ? '-' . $curYear : ''); ?--> www.example.com Is there anyway to add a dynamic copyright date to a Joomla template within the themler tenmplate?