choose controller action with flexform (switchableControllerActions)
27. April 2016
<?xml version="1.0" encoding="UTF-8"?> <T3DataStructure> <sheets> <general> <ROOT> <TCEforms> <sheetTitle>XXX</sheetTitle> </TCEforms> <type>array</type> <el> <switchableControllerActions> <TCEforms> <label>Views</label> <onChange>reload</onChange> <config> <type>select</type> <items type="array"> <numIndex index="1" type="array"> <numIndex index="0">First view</numIndex> <numIndex index="1">Controller->action;Controller->actionFromExtLocalconf1;Controller->actionFromExtLocalconf2; </numIndex> </numIndex> <numIndex index="2" type="array"> <numIndex index="0">Second view</numIndex> <numIndex index="1">Controller->action1</numIndex> </numIndex> </items> </config> </TCEforms> </switchableControllerActions> </el> </ROOT> </general> </sheets> </T3DataStructure>
configuration from ext_localconf.php will be overwritten! If you need it, put it like line20 after “;”
Hinterlasse einen Kommentar
You must be logged in to post a comment.