[Typo3] IF / Case Statements

Courcy courcy.michael at wanadoo.fr
Fri Sep 9 04:10:02 CEST 2005


Hi Eric

you can find different example of  use of "if" at the bottom of this page
http://typo3.org/documentation/document-library/doc_core_tsref/if/
Don't hesitate to add yours :)

Michael.

Miller, Eric A. wrote:

>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
>----------------------------------------
>_______________________________________________
>Typo3-english mailing list
>Typo3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>  
>





More information about the TYPO3-english mailing list