[TYPO3-german] TYPO3 6.2 - conditions und Files laden - wie löst Ihr das?

bernd wilke t3ng at bernd-wilke.net
Wed Oct 7 10:27:06 CEST 2015


Am 07.10.15 um 10:18 schrieb Sebastian Schmal:
> Hallo zusammen,
>
> da es wohl in der 6.2 T3 Version Probleme mit Conditions und Files gibt,
> hier die Frage wie Ihr so was löst !?!
>
> Funktioniert:
> <INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/test/tester.ts">
>
>
> Funktioniert nicht:
> [globalVar = LIT:1 = {$test.enable}]
> <INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/test/tester.ts">
> [global]
>
> Wie kann ich TypoScript Files via Condition / Constants noch laden?
>
> Ich freue mich auf Lösungsvorschläge / Ideen.

Da bei jedem Include intial und final ein implizites [global] gesetzt 
wird, das eine umgebende condition beendet, musst du die Condition in 
die Include-Datei nehmen.

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-german mailing list