, Guest!
Already a Member? Login or Register.

Menu



Showcase


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 
welby


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.

welby

 

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



Posts: 625
 
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>


David


FlexCMS v3.2 Has Been Released!
 

Post Message 




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

MEMBERS




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

Processing Time: 0.11880 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS