[TYPO3-mvc] Extbase: How to define default controller and default action?

Roland most.wanted at gmx.at
Wed Nov 2 16:32:42 CET 2011


thanks!

reordering is great for me!

i will also try flexform configuration.

kind regards.

roland




:-)Am 02.11.11 16:23, schrieb Daniel Schöne:
> Hi Roland,
>
> you can do this via FlexForm configuration or even simpler, by
> reordering your controllers & actions in the ext_localconf.php
>
> sample flexform configuration:
>
> <T3DataStructure>
> <meta>
> <langDisable>1</langDisable>
> <langChildren>1</langChildren>
> </meta>
> <ROOT>
> <type>array</type>
> <el>
> <switchableControllerActions>
> <TCEforms>
> <label>Controller / Action</label>
> <onChange>reload</onChange>
> <config>
> <type>select</type>
> <items type="array">
> <numindex index="0" type="array">
> <numindex index="0">General Purpose</numindex>
> <numindex index="1">Kurs->list;Kurs-show;Kurs-top;</numindex>
> </numindex>
> <numindex index="1" type="array">
> <numindex index="0">Ergebnisliste</numindex>
> <numindex index="1">Kurs->list;Kurs->show</numindex>
> </numindex>
> </items>
> <maxitems>1</maxitems>
> <size>1</size>
> </config>
> </TCEforms>
> </switchableControllerActions>
> </el>
> </ROOT>
> </T3DataStructure>
>
> in ext_tables.php:
>
> t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' .
> $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
>
> On 11/02/2011 04:14 PM, Roland wrote:
>> hey everybody,
>>
>> i kickstarted my first extbase extension, inserted some sample data,
>> inserted the fe-plugin on a page and in the frontend the list-view of
>> one of the models is shown. (almost) perfect! :-)
>>
>> how can i define the default controller and default action?
>>
>> kind regards.
>>
>> roland
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>
>
>



More information about the TYPO3-project-typo3v4mvc mailing list