[Typo3] IF / Case Statements

Miller, Eric A. EricMiller at creighton.edu
Mon Sep 19 23:51:50 CEST 2005


Been looking for a "good" description with some example of if / case
statements inside TypoScript.

For example how would I translate this:

If (isdefined(subparts.content))
{
	subparts.content.wrap = <div class="wrapped"> | </div>
}
Else
{
	subparts.content.wrap = <div class="unwrapped"> | </div>
}

-----------------------------------------
Eric Miller
Web Systems Engineer
Creighton University

Office: 402.280.3933
Cell:   402.740.2518

----------------------------------------
"People in this world look at things mistakenly, and think that what
they do not understand must be the void. This is not the true void. It
is bewilderment..." ~Miyamoto Musashi
----------------------------------------



More information about the TYPO3-english mailing list