[TYPO3-german] TypoScript split current if equals - Keine Ahnung

Stephan Grass hallo at stephan-grass.de
Thu Jul 25 15:49:40 CEST 2013


Hi,

ich habe hier so meine Probleme:

Ich lese durch Pipes getrennt Werte ein, splitte die auf und möchte je 
nach Wert eine bestimmte Ausgabe machen.

z.B. Ich lese 1|2|1|5|2 ein. Jede Zahl soll eine bestimmte Textausgabe 
machen. Wie mache ich das?

            split {
              token = |
             
              token.noTrimWrap = || |
              cObjNum = 1
              1 {
                
                current = 1

                override = verfügbar
                override.if {
                  value = 1
                  equals.current = 1
                }
                override = ausgebucht
                override.if {
                  value = 2
                  equals.current = 1
               }
                …

                wrap = <td>|</td>


              }

            }


Danke
Stephan



More information about the TYPO3-german mailing list