[TYPO3-english] Variables in RTE?
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 blabla bla". Thanks! David ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Variables in RTE?
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 blabla bla". You can implement your own marker, so you could create a HTML marker 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 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Variables in RTE?
Thank you Xavier but where can I find this documentation related to that feature? Is it in RTE documentation or in TYPO3 one? Thanks! David -Message d'origine- De : typo3-english-boun...@lists.typo3.org [mailto:typo3-english-boun...@lists.typo3.org] De la part de Xavier Perseguers Envoyé : mardi 10 janvier 2012 14:59 À : typo3-english@lists.typo3.org Objet : Re: [TYPO3-english] Variables in RTE? 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 blabla bla". You can implement your own marker, so you could create a HTML marker 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 ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Variables in RTE?
Hi, David. Thank you Xavier but where can I find this documentation related to that feature? Is it in RTE documentation or in TYPO3 one? Googling for "typo3 rte markers" gave me this: http://typo3.sfroemken.de/typo3-tutorials/tipps-und-tricks/variablen-im-rte.html It is in German, but code is understandable. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Variables in RTE?
Hi, >> Thank you Xavier but where can I find this documentation related to >> that feature? Is it in RTE documentation or in TYPO3 one? > > Googling for "typo3 rte markers" gave me this: > http://typo3.sfroemken.de/typo3-tutorials/tipps-und-tricks/variablen-im-rte.html > > It is in German, but code is understandable. I would NOT do that, it's insecure from a security point of view. Instead, I was thinking about something like that: Adding a button: http://typo3.org/extensions/repository/view/rtehtmlarea_dummyplugin/current/ Keep custom tag: http://www.van-tomas.de/blog/how-to-enable-custom-tags-in-typo3-rte/ And this extension seems to do exactly what you want: http://typo3.org/documentation/document-library/extension-manuals/de_custom_tags/0.6.2/view/1/3/ Kind regards -- Xavier Perseguers Release Manager TYPO3 4.6 TYPO3 inspiring people to share! Get involved: http://typo3.org ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english