[TYPO3-english] Including typoscript templates through setup field?`
dhuf at cross-systems.com
Mon Feb 23 13:27:06 CET 2009
Sorry my mistake I misunderstood the question sorry for that.
Stig Nørgaard Færch wrote:
> I know conditions.
> But I don't think that this is what I'm looking for - unless I
> misunderstood something.
> How can I include typoscript templates conditionally with these conditions?
> Daniel Huf skrev:
>> Try here:
>> Stig Nørgaard Færch wrote:
>>> I know it's possible to include typoscript from typoscript setup
>>> through <INCLUDE_TYPOSCRIPT:somefile>.
>>> What I'm looking for is the possibility to include typoscript
>>> templates (sys_template) conditionally.
>>> Let's say that some constant is set to 1, then I want template A to
>>> be included.
>>> If the constant is set to 2, then I want tempalte B to be included.
>>> Is this somehow possible?
More information about the TYPO3-english