

With this snippet you can add a copyright notice with the current year to your TYPO3 page.
temp.copyright = TEXT temp.copyright.data = date:U temp.copyright.strftime =%Y temp.copyright.wrap= (c) | Typo3Wizard.com
The Formatsstrings for strftime can be found here




lib.footercr = COA
lib.footercr {
10 = TEXT
10.value= <div id=footer_copyright>©
20 = TEXT
20.value = {$webCreateYear}
20.wrap = |-
20.if {
value.data = date:U
value.strftime = %Y
isLessThan= {$webCreateYear}
}
30 = TEXT
30 {
data = date:U
strftime =%Y
wrap= | {$customerName}</div>
}
}
Add comment