Hallo

ich möchte gerne per Checkbox in einem FCE dem Redakteur die Möglichkeit geben 
eine CSS-Klasse eine LI Element mitzugeben.
wie muss ich dann aussehen, da ich mit dem checkboxen ja nur 1 und 0 bekomme?


<field_styles type="array">
                                                                
<type>attr</type>
                                                                <tx_templavoila 
type="array">
                                                                        
<title></title>
                                                                        
<sample_data type="array">
                                                                                
<numIndex index="0"></numIndex>
                                                                        
</sample_data>
                                                                        
<eType>none</eType>
                                                                        
<TypoScript type="array">
                                                                                
<TypoScript>
                                       <![CDATA[
                                                 10 = COA
                                                 10{
                                                        10 = TEXT
                                                        10.field = field_class
                                                        10.required = 1
                                                        10.wrap = class="|"     
]]>
                                                                        
</TypoScript>
                                                                        <proc 
type="array">
                                                                                
<int>0</int>
                                                                                
<HSC>0</HSC>
                                                                                
<stdWrap></stdWrap>
                                                                        </proc>
                                                                        
<preview></preview>
                                                                
</tx_templavoila>
                                                        </field_styles>
                                                        <field_class 
type="array">
                                                                
<type>no_map</type>
                                                                <tx_templavoila 
type="array">
                                                                        
<title>Termin ist abgelaufen</title>
                                                                        
<sample_data type="array">
                                                                                
<numIndex index="0"></numIndex>
                                                                </sample_data>
                                                                        
<eType>check</eType>
                                                                        
<TypoScript></TypoScript>
                                                                        
<preview></preview>
                                                                
</tx_templavoila>
                                                                <TCEforms 
type="array">
                                                                        
<label>Termin ist abgelaufen</label>
                                                                        <config 
type="array">
                                                                                
<type>check</type>
                                                                                
<default type="integer"></default>
                                                                                
<numIndex index="1">klasse</numIndex>
                                                                        
</config>
                                                                </TCEforms>
                                                        </field_class>
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an