Zum Inhalt springen

"if"-Anweisung im Typoscript

Erstellt am 20. März 2003 · Noch keine Antworten

Tags: Frage

shOrt ·

Hi

Ich habe zu tt_content ein Feld hinzugefügt (Typ ist Link)
Jetzt möchte ich je nachdem ob das Feld einen Inhalt hat, einen Teil meines Typoscripts ausführen, in etwa so:

[wenn feld tt_content:mein_neues_feld = ""]
10 = TEXT
10.value = da stand nix drin
[else]
10 = TEXT
10.value = da stand was drin
[end]

Wie bekomm ich das hin?