[TYPO3-german] selectbox - option -> value automatisch ausfüllen

Robert Wildling robertwildling at gmail.com
Tue Jul 5 14:57:13 CEST 2011


Hi,

Ich erzeuge eine Selectbox wie folgt:

lib.stueck = COA_INT
lib.stueck {
   10 = TEXT
   10.value = <label for="theater-pieces">Bitte wählen:</label>

   20 = HMENU
   20 {
     special = directory
     special.value = 3

     wrap = <select id="theater-pieces" 
name="tx_powermail_pi1[theater-pieces]" size="1">|</select>

     1 = TMENU
     1 {
       NO = 1
       NO {
         doNotLinkIt = 1
         stdWrap.wrap = <option value="{title}">|</option>
       }
     }
   }
}


bei option sollte das value-Attribut mit dem Titel gefüllt werden - ich 
dachte, das geht mit  {field:title} oder {title}. Tut's aber nicht. Was 
mach ich denn da falsch?

Danke!


More information about the TYPO3-german mailing list