TYPO3: Copyright Notice with Automatic Year Update and Secondary Language Support

The following TypoScript shows how to make a copyright notice, which by itself updates the year to the current year.

  1. ## Copyright Notice [Begin]
  2. # Automatic year update
  3. lib.copyright = TEXT
  4. lib.copyright.data = date:U
  5. lib.copyright.strftime = %Y
  6. lib.copyright.wrap = <p id="copyright"> | &copy; Firma </p>
  7. # secondary language copyright notice
  8. [globalVar = GP:L = 1]
  9. lib.copyright.wrap = <p id="copyright"> | &copy; Company </p>
  10. [end]
  11. ## Copyright Notice [End]




Related Articles:

This entry was posted in TYPO3/TypoScript. Bookmark the permalink.

One Response to TYPO3: Copyright Notice with Automatic Year Update and Secondary Language Support

  1. sido says:

    thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaank

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>