[Typo3] TypoScript Conditionals
Brian.Slezak at cor.org
Tue Jul 12 20:08:05 CEST 2005
Hoping that someone can help me find a solution to this. What I want to do is determine if a page has content in the border column. If yes, use border column content, if no, use predefined content.
[if styles.content.getBorder not Empty]
page.20 < styles.content.getBorder
page.20 = RECORDS
page.20.tables = tt_content
page.20.source = 1234
The above is using conditional statements, and I realize this is not the way I'll actually accomplish this, but it was easier to express what I wanted. ;)
It would seem to me that TypoScript would be the best place to accomplish this in, rather than design a custom cObject or other PHP script, but that's what I need to find out.
More information about the TYPO3-english