[TYPO3-dev] Set TCEFORM.tt_content.layout (TSConfig) based on current CType

Benjamin Beck BenjaminBeck at gmx.de
Tue Jul 24 18:30:59 CEST 2012


Hello,

is there a way to set TCEFORM.tt_content.layout (TSConfig) based on current CType?


I have this snippet to change it based on the page layout:

[globalVar = SOBE|pageinfo|layout=1]
	TCEFORM.tt_content.layout.removeItems = 3,4,5
	TCEFORM.tt_content.layout {
		altLabels.0 = Standard
		altLabels.1 = Teaser
		altLabels.2 = Teaser(weiß)
	}
[global]

But i cant´t find the current CType in any global var )-:


THX 
Benjamin


More information about the TYPO3-dev mailing list