This way the correct year is always shown automatically. Unfortuantely its not working. Anyone have any ideas.
Thank you.
welby
Last Edit: December 12, 2009 @ 7:45pm by welby
DCSun Administrator
Posts: 611
December 12, 2009 @ 9:02pm
Welby,
The footer doesn't currently process PHP code, so that's why it's not working for you. You could add it to a Bottom Full block if you wanted, that would be one option. You could also use JavaScript instead, here's something that should produce the same output:
Code
<a href="[copyright_page_url]"><b>Copyright <script language="JavaScript"><!-- var Today = new Date(); var Year = Today.getYear(); if (Year < 1000) { Year += 1900; } document.write( Year ); //--></script><noscript>2009</noscript> MyWebsite.com. All Rights Reserved.</b></a>