[TYPO3-english] Including typoscript templates through setup field?`

Daniel Huf dhuf at cross-systems.com
Mon Feb 23 10:57:46 CET 2009


Try here:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/

Daniel

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?
> 
> /Stig


More information about the TYPO3-english mailing list