[TYPO3-german] CSS-Klasse mittels Checkbox hinzufügen (TemplaVoila)
Sven Lubenau
sven.lubenau at hamburgefonstiv.com
Tue Sep 13 13:13:58 CEST 2011
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>
More information about the TYPO3-german
mailing list