Zum Inhalt springen

Inhalt Feldabhängig im Flex-Element

Erstellt am 20. Oktober 2008 · Noch keine Antworten

Tags: FlexForms, Frage

amaierm ·

Hallo Leute,

ich habe folgende zwei Felder in einem Flex Element:

...
<field_colonetitle type="array">
	<tx_templavoila type="array">
		<title>Column One Title</title>
		<sample_data type="array">
			<numindex index="0"></numindex>
		</sample_data>
		<etype>input_g</etype>
		<typoscript>
		10 = IMAGE
		10.file = GIFBUILDER
		10.file {
		  XY = 200,20
		  backColor = #FFFFFF

		  10 = TEXT
		  10.text.current = 1
		  10.text.case = upper
		  10.fontColor = #999999
		  10.fontFile =  t3lib/fonts/vera.ttf
		  10.niceText = 1
		  10.offset = 0,14
		  10.fontSize = 14
		}
		</typoscript>
	</tx_templavoila>
	<tceforms type="array">
		<config type="array">
			<type>input</type>
			<size>48</size>
			<eval>trim</eval>
		</config>
		<label>Column One Title</label>
	</tceforms>
</field_colonetitle>
...

...

<field_onenew type="array">
	<tx_templavoila type="array">
		<title>Column one is new</title>
		<sample_data type="array">
			<numindex index="0"></numindex>
		</sample_data>
		<etype>select</etype>
	</tx_templavoila>
	<tceforms type="array">
		<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">ist Neu</numindex>
					<numindex index="1">ist Neu</numindex>
				</numindex>
			</items>
			<default>0</default>
		</config>
		<label>Column One is new</label>
	</tceforms>
</field_onenew>
...

Nun soll in das Bild oben eine Grafik implementiert werden in Abhängigkeit von dem Feld "field_onenew". (Ein "NEU"-Störer)

Kann ich das mit TS lösen und wenn ja dann wie? Alle Vorschläge willkommen.

Danke!