[TYPO3-RTE] Download icons depending on filesuffix
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Feb 3 12:51:29 CET 2007
Gunnar Jonsson schrieb:
> Is it possible to make rte inserting an icon on download links depending on
> file format of the downloadable file suffix ?
> Like inserting a PDF-ikon, when the downloadable file is a PDF-file, while
> insert a Word icon if the file is a Word file or perhaps an Open Office icon
> if the file is a Open Office file and so on.
Hm, maybe no in the RTE itself, but in the FE. The field contents is not
displayed directly but rendered through the TypoScript html parser.
Maybe you can hook yourself into the link processing and create the img
tags on the fly.
Masi
More information about the TYPO3-project-rte
mailing list