[TYPO3-german] Extbase Flexform

Oliver Beck oli5188 at gmail.com
Fri Aug 3 13:13:23 CEST 2012


Hallo Liste

 

Im Archiv fand ich einen Flexform-Codesnippet, der mein Problem eigentlich
lösen sollte. Ich möchte ein Flexform-Element in Abhängigkeit von der
gewählten Controller/Action-Kombi anzeigen lassen
(switchableControllerActions). Jedoch greift die Condition bei mir nicht
 

 

<switchableControllerActions>

                                                 <TCEforms>

                                                 <label>Standardaktion des
Plugins</label>

                                                 <onChange>reload</onChange>

                                                 <config>

                                                 <type>select</type>

                                                 <items>

                                                               <numIndex
index="0">

 
<numIndex index="0">Kategorie und Album</numIndex>

 
<numIndex index="1">Category->list</numIndex>

                                                               </numIndex>

                                                               <numIndex
index="1">

 
<numIndex index="0">Nur Album</numIndex>

 
<numIndex index="1">Album->list</numIndex>

                                                               </numIndex>

                                                               </items>

                                                 </config>

                                                 </TCEforms>

</switchableControllerActions>

<settings.categories>

                                                 <TCEforms>

                                                 <label>Kategorien</label>

 
<displaycond><![CDATA[FIELD:switchableControllerActions:=:Category->list]]><
/displaycond>

                                                 <config>

 
<type>group</type>

 
<internal_type>db</internal_type>

 
<allowed>tx_pnsupersizegallery_domain_model_category</allowed>

 
<size>6</size>

 
<minitems>0</minitems>

 
<maxitems>10</maxitems>

                                                 </config>

                                                 </TCEform>

</settings.categories> 

 

 

Was mache ich falsch?

 

Danke und Gruss

 

Oli



More information about the TYPO3-german mailing list