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

Stefan Reichelt eichelt at web.de
Thu Jul 25 16:36:43 CEST 2013


Hallo Stephan,

On 25/07/2013 15:49, Stephan Grass wrote:
> z.B. Ich lese 1|2|1|5|2 ein. Jede Zahl soll eine bestimmte Textausgabe 
> machen. Wie mache ich das?
> 

Wird wohl am besten mit dem cObject CASE [1] gehen, z.B:

split.1.10 = CASE
split.1.10 {
  key.current = 1
  1 = TEXT
  1.value = verfuegbar
  2 < .1
  2.value = ausgebucht
  # usw.
}

Ungetestet.


Beste Gruesse
Stefan

[1]
http://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Case/Index.html


More information about the TYPO3-german mailing list