[TYPO3-english] Variables in RTE?

Xavier Perseguers xavier at typo3.org
Tue Jan 10 14:59:16 CET 2012


Hello,

> Is it possible to store variables in RTE to post process them in FE?
> For example, a footer in tt-content that contains the current year like
> "Copyright <current_year> blabla bla".

You can implement your own marker, so you could create a HTML marker
<copyright/> that is typically added with a toolbar button and that, at
runtime, is handled by your own PHP code to basically output date('Y');

This is part of the documentation IIRC or you find examples by googling
for them.

HTH

-- 
Xavier Perseguers
Release Manager TYPO3 4.6

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org



More information about the TYPO3-english mailing list