[TYPO3] different template on 2nd level

Tyler Kraft headhunterxiii at yahoo.ca
Thu Aug 24 12:42:32 CEST 2006


no, you can't use conditionals in { }.  But you could do this

[blah = blah]
	temp.border < styles.content.getBorder
[else]
	temp.border = HTML
	temp.border.value=
[global]


temp.mainTemplate = TEMPLATE
temp.mainTemplate {
     subparts.sidebar-right < temp.border
}




> 
> ------------------------------------------------------------------------------
> # Main TEMPLATE cObject for the BODY
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
>    [...]
>    subparts.sidebar-right < styles.content.getBorder
>    [...]
> }
> ------------------------------------------------------------------------------




More information about the TYPO3-english mailing list