, Guest!
Already a Member? Login or Register.



Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > Footer question about copyright

FlexCMS Support Forum

Footer question about copyright
Started December 12, 2009 @ 7:45pm by welby
Post Message 

Posts: 34
Footer question about copyrightDecember 12, 2009 @ 7:45pm
I would like to add the following code in the footer for the Site Copyright Line:

<a>Copyright <?php echo date("Y"); ?> MyWebsite.com. All Rights Reserved.</strong></a>

This way the correct year is always shown automatically. Unfortuantely its not working. Anyone have any ideas.

Thank you.



Last Edit: December 12, 2009 @ 7:45pm by welby

Posts: 625
December 12, 2009 @ 9:02pm

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:

<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>


FlexCMS v3.2 Has Been Released!

Post Message 

Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!


All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07374 seconds.
Management Login

Powered By FlexCMS
Powered By FlexCMS