[TYPO3-german] condition bei .field feld

JoH info at cybercraft.de
Fri Mar 24 11:13:18 CET 2006


> also ich möchte (in einem flexible content element) eine verzweigung
> machen, je nachdem was in einem .field element drinsteht (bzw
> verweist?)
>
> leider haben meine versuche alle bis jetzt fehlgeschlagen
>
> folgendes habe ich (und das funktioniert)
>
>              10 = TEXT
>              10.field = field_test
>              # but how to make a condition
>              # for example if field = 0 then
>              # [field_test = 0] does not work
>              # and also the if did not work
>
> wie kann ich also eine condition oder ein if machen, um 10.field auf 0
> zu überprüfen?

Weder condition, noch if ;-)
Schau mal in die TSref unter stdWrap - da gibt's eine ganze Latte von
Funktionen.
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/1/

In diesem Fall ist

required = 1

was Du suchst.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de





More information about the TYPO3-german mailing list