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]


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