[TYPO3-dev] Plain text version for outputing an extension
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Tue Oct 16 09:42:43 CEST 2007
Pierre Rouwens schrieb:
> Hi there,
>
> I have to implement a plain text version rendering for my extension to
> use it with direct mail.
> I've searched into the code source and find a hook :
> $TYPO3_CONF_VARS['EXTCONF']['direct_mail']['renderCType'][]
I think the hook is meant to render CTypes (eg text w/image) not subtypes
like plugins (the CType is "list").
> So i just wanna know which is the best way to implement this stuff ?
> this hook, typoscript or anything else ?
You could make a TSsetting (for your plugin) that tells you that you want
text rendering. And with a TS condition you actually set it. Ususally you
would check for the page type 98.
Masi
More information about the TYPO3-dev
mailing list