[Typo3-UG Berlin] Typoscript CASE

Christoph Köpernick christoph at koepernick.de
Thu Oct 7 17:18:58 CEST 2004


Hallo,

ich denke mal, dass die Frage nicht zu schwierig für die Profis unter uns
ist. Könnte sie bitte jemand beantworten?

Grüße

    Christoph Köpernick


> Hallo,
>
> Ich bin am verzweifeln, was das CASE Objekt anbetrifft. Ich möchte, dass
> lib.stdheader nicht nur abhängig von header_layout, sondern auch von
> typeNum generiert wird.
> Bei header_layout 3 soll noch die fontColor (GIFBUILDER) abhängig von
> typeNum (Webseite 0, Printversion 10) gefüllt werden. Wie macht man das?
> Das mit dem lib.stdheader CASE hab ich und funktiioniert. Ich dachte so:
>
>
> ...
>
> fontColor = red ( wenn typeNum = 0)
> fontColor = blue (wenn typeNum = 10)
>
> ...
>
>
> Mache ich das mit .if oder mit CASE?
>
> Vielen dank im Voraus,
>
> Christoph Köpernick
>
> _______________________________________________
> Typo3-berlin mailing list
> Typo3-berlin at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-berlin
>




More information about the TYPO3-berlin mailing list