[TYPO3-german] flexform displayCond AND/OR funktioniert nicht?

Thomas P. mail at tomgrill.de
Fri Oct 18 19:32:40 CEST 2013


Guden :)

Problem:

Feld "settings.showgallerys" wird nur angezeigt wenn Feld 
"settings.showaction" == 2 entspricht, als auf "Gallery incl. Box (for 
News)" steht.

Aber laut 
http://jweiland.net/typo3/extension-programmierung/displaycond.html 
müßte es doch mit dem <OR> auch bei "settings.showaction" == 1 angezeigt 
werden. Ich benutze TYPO3 6.1.5. Versteh ich was falsch oder buggt das rum?

Danke!

habe folgendes flexform:


                     <settings.showaction>
                         <TCEforms>
                             <label>View</label>
<onChange>reload</onChange>
                                 <config>
                                   <type>select</type>
                                   <items type="array">
                                     <numIndex index="0" type="array">
                                       <numIndex index="0">Gallery for 
Box</numIndex>
                                       <numIndex index="1">1</numIndex>
                                     </numIndex>
                                     <numIndex index="1" type="array">
                                       <numIndex index="0">Gallery incl. 
Box (for News)</numIndex>
                                       <numIndex index="1">2</numIndex>
                                     </numIndex>
                                     <numIndex index="2" type="array">
                                       <numIndex index="0">Link for Text 
(GEHT NOCH NICHT)</numIndex>
                                       <numIndex index="1">3</numIndex>
                                     </numIndex>
                                   </items>
                                   <size>1</size>
                                   <minitems>1</minitems>
<maxitems>1</maxitems>
                                 </config>
                         </TCEforms>
                     </settings.showaction>

                     <settings.showgallerys>
                         <TCEforms>
                             <label>Gallery</label>
                                     <displayCond>
                                         <OR>
<numIndex>FIELD:settings.showaction:=:1</numIndex>
<numIndex>FIELD:settings.showaction:=:2</numIndex>
                                         </OR>
                                   </displayCond>
                                 <config>
                                   <type>select</type>
<maxitems>9999</maxitems>
                                   <minitems>1</minitems>
                                   <size>10</size>
<foreign_table>tx_myext_table</foreign_table>
                                   <foreign_table_where>
                                      AND tx_myext_table.pid > 0
                                   </foreign_table_where>
                                 </config>
                         </TCEforms>
                     </settings.showgallerys>


More information about the TYPO3-german mailing list