[TYPO3-templavoila] include setup.txt from extension

Claudius Heitz typo3 at heitz.info
Mon Dec 3 16:02:09 CET 2007


> Hi!
> Claudius Heitz wrote:
>> In an FCE, I want to include a plugin, that has a lot of TypoScript 
>> definitions in its setup.txt. My solution until now was to copy the 
>> extension's TypoScript into the TypoScript field of my FCE, but this is 
>> not very convenient. Is there an easy way to include TS settings?
>> Perhaps something like
>> <INCLUDE_TYPOSCRIPT: source="FILE: EXT:commerce/static/setup.txt">
> Include into the main TS template?
oh, I forgot to say that I work with local variables: the plugin has an 
input parameter which is given by an input field of the FCE.
Otherwise, your suggestion would be perfect.

I already tried flexform_getfield to get this variable into the main TS 
template, build there the plugin and give the plugin back to the FCE, 
but this didn't work.

Any idea?


More information about the TYPO3-project-templavoila mailing list