[TYPO3-german] Re: CSS-Klasse mittels Checkbox hinzufügen (TemplaVoila)
Ralf-Rene Schröder
ralf.rene at online.de
Tue Sep 13 13:22:06 CEST 2011
wenn du eine selectbox nimmst ist es simple und problemlos erweiterbar
hier ein bespiel von mir (nur noch auf das class Attribut mappen)
<field_color type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>color</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>select</eType>
<TypoScript></TypoScript>
<proc type="array">
<stdWrap>noTrimWrap = |REbox ||</stdWrap>
</proc>
</tx_templavoila>
<TCEforms type="array">
<label>color</label>
<config type="array">
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1"></numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">REboxGreen</numIndex>
<numIndex index="1">REboxGreen</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">REboxBlue</numIndex>
<numIndex index="1">REboxBlue</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">REboxRed</numIndex>
<numIndex index="1">REboxRed</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">REboxGrey</numIndex>
<numIndex index="1">REboxGrey</numIndex>
</numIndex>
</items>
<default>0</default>
</config>
</TCEforms>
</field_color>
--
Ralf-René Schröder
http://if-20.com ... YAML templates for TYPO3
______________________________________________
More information about the TYPO3-german
mailing list