hi folks!
schwer, sowas in eine vernuenftige headline zu fassen: ich moechte in der flexform einen selector anbieten, bei dessen auswahl ein anderer teil der form entsprechend geaendert ausgegeben werden soll.
zum (hoffentlich) besseren verstaendnis hier der code:sinn der sache ist es, im selector eine tabelle von 3 installierten extensions zu waehlen. anschliessend wird der kategoriebaum entsprechend ausgegeben.Code:<customTable> <TCEforms> <label>LLL:EXT:myext/locallang_db.xml:tableName</label> <onChange>reload</onChange> <config> <type>select</type> <items type="array"> <numIndex index="1" type="array"> <numIndex index="0">LLL:EXT:myext/locallang_db.xml:table.I.0</numIndex> <numIndex index="1">tx_dam_mm_cat</numIndex> </numIndex> <numIndex index="2" type="array"> <numIndex index="0">LLL:EXT:myext/locallang_db.xml:table.I.1</numIndex> <numIndex index="1">tt_address_group_mm</numIndex> </numIndex> <numIndex index="3" type="array"> <numIndex index="0">LLL:EXT:myext/locallang_db.xml:table.I.2</numIndex> <numIndex index="1">tt_news_cat_mm</numIndex> </numIndex> </items> <minitems>0</minitems> <maxitems>1</maxitems> <size>1</size> </config> </TCEforms> </customTable> <categories> <TCEforms> <label>LLL:EXT:myext/locallang_db.xml:category</label> <displayCond>FIELD:customTable:=:tt_address_group_mm</displayCond> <config> <type>select</type> <form_type>user</form_type> <userFunc>tx_ttaddress_treeview->displayGroupTree</userFunc> <treeView>1</treeView> <foreign_table>tt_address_group</foreign_table> <size>5</size> <autoSizeMax>10</autoSizeMax> <maxitems>5</maxitems> <minitems>0</minitems> <MM>tt_address_group_mm</MM> </config> </TCEforms> <TCEforms> <label>LLL:EXT:myext/locallang_db.xml:category</label> <displayCond>FIELD:customTable:=:tx_dam_mm_cat</displayCond> <config> <type>select</type> <form_type>user</form_type> <userFunc>tx_ttaddress_treeview->displayGroupTree</userFunc> <treeView>1</treeView> <foreign_table>tx_dam_cat</foreign_table> <size>5</size> <autoSizeMax>10</autoSizeMax> <maxitems>5</maxitems> <minitems>0</minitems> <MM>tx_dam_mm_cat</MM> </config> </TCEforms> <TCEforms> <label>LLL:EXT:myext/locallang_db.xml:category</label> <displayCond>FIELD:customTable:=:tt_news_cat_mm</displayCond> <config> <type>select</type> <form_type>user</form_type> <userFunc>tx_ttaddress_treeview->displayGroupTree</userFunc> <treeView>1</treeView> <foreign_table>tt_news_cat</foreign_table> <size>5</size> <autoSizeMax>10</autoSizeMax> <maxitems>5</maxitems> <minitems>0</minitems> <MM>tt_news_cat_mm</MM> </config> </TCEforms> </categories>
im moment greift nur der letzte kategoriebaum. warum? und was muss ich aendern?
gruss,
theo
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)