[TYPO3-german] output flexform value in gridelements
Ralf-Rene Schröder
ralf.rene at online.de
Sat Apr 28 14:08:27 CEST 2012
Hallo zusammen...
in einem Gridelement habe ich ein Flexformfeld "color"
im XML wie folgt definiert:
<color type="array">
<TCEforms type="array">
<label>Box Color</label>
<config type="array">
<type>select</type>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">transparent</numIndex>
<numIndex index="1">transparent</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">red</numIndex>
<numIndex index="1">red</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">green</numIndex>
<numIndex index="1">green</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</color>
in der FE-Ausgabe bekomme ich mit folgendem Typoscript die ID der
gewählten Flexform option, also 0,1,2
10 = TEXT
10.field = flexform_color
Wie aber bekomme ich die values ??? also transparent,red,green
irgendwie trete ich mit meinen Versuchen auf der Stelle...
--
image[FORMAT] - Ralf-René Schröder
http://image-format.eu ... Wir geben Ihrem Image das richtige Format
http://if-20.com ... YAML templates for TYPO3
More information about the TYPO3-german
mailing list