[TYPO3-4-3] TypoScript for Content Elements
Martin Holtz
typo3ng_2009 at martinholtz.de
Mon Feb 22 10:22:00 CET 2010
Hi Jigal,
> Problem:
> - TypoScript is only set on a page level
> - more and more pages have the same plugin more than once on the same page
> - not all options can be configured in flexforms
>
> Flexforms can be used to set configuration per content element.
> Unfortunately many settings are only available in the TypoScript
> configuration.
> Some extensions (e.g. cal) have a TypoScript field in the flexform but
> this is only a textarea (lacking the very nice TS editor).
>
> Posible solution:
> The option to add a TS template to a content element or the possibility
> to have a tab with all the options of the Template module.
>
> Any thoughts or other ideas on this?
as a short Workaround it should be possible to use a CASE for that:
Your plugin is defined in tt_content.list.20.tx_yourplugin_pi1 (ok,
tt_news and a few others has numbers)
Use:
tt_content.list.20.tx_yourplugin_pi1 = CASE
tt_content.list.20.tx_yourplugin_pi1 {
key.field = uid
default < plugin.tx_yourplugin_pi1
939 < plugin.tx_yourplugin_pi1
939.specialConfig = 1
}
untested
gruss,
martin
--
Martin Holtz - elemente websolutions http://www.elemente-websolutions.ms
http://wiki.typo3.org/Ts45min - TypoScript in "45" minutes
http://wiki.typo3.org/De:ts45min - (auch in Deutsch)
More information about the TYPO3-project-4-3
mailing list