[TYPO3-mvc] Flexform / settings in listAction

Alisha mail at alisha-huber.de
Sat Oct 15 00:10:20 CEST 2011


Thank you for your advice - now it works :-)

Am 13.10.2011 16:55, schrieb Alisha:
> Hi,
> I would like filter my list by categories. The categorie is defined in
> the Plugin / Flexform.
> I read that I simply can access with
>
> $filter = $this->settings['filter'];
>
> in a controller-class.
>
> but the settings in listAction are empty:
> listAction() {
> $filter = $this->settings['filter'];
> t3lib_div::debug($this->settings);
> ...
>
> xml should be correct:
> <T3DataStructure>
> <sheets>
> <sDEF>
> <ROOT>
> <TCEforms>
> <sheetTitle>Title</sheetTitle>
> </TCEforms>
> <type>array</type>
> <el>
> <settings.filter>
> <TCEforms>
> <label>Auswahl eingrenzen</label>
> <config>
> <type>select</type>
> <item>
> <numIndex index="0" type="array">
> <numIndex index="0">alle</numIndex>
> <numIndex index="1">0</numIndex>
> </numIndex>
> </item>
> <foreign_table>tx_ahdancecourses_domain_model_filter</foreign_table>
> </config>
> </TCEforms>
> </settings.filter>
>
> .....
>
> Does anyone have an idea?
>
> regards,
> Alisha
>



More information about the TYPO3-project-typo3v4mvc mailing list