[TYPO3-mvc] Never really understood tx_extbase_core_bootstrap and switchableControllerActions

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Tue Apr 30 15:04:30 CEST 2013


Hi Thomas,

that's what I'm doing now... I was just thinking that there maybe is a 
more straightforward solution than changing the defaults.

Cheers,
Till

On 04/29/2013 08:25 PM, Thomas Nussbaumer wrote:
> I used it so:
>         10 = USER_INT
>         10 {
>           userFunc = tx_extbase_core_bootstrap->run
>           extensionName = Hplusinfo
>           pluginName = Fe_search_fulltext
>           switchableControllerActions {
>             Search {
>                 1 = results
>             }
>         }
>         }
> Cheers, Thomas
>
> Am 28.04.2013 23:50, schrieb g4-lisz at tonarchiv.ch:
>> Say I include in TS some output of an extension:
>>
>>          10 = USER_INT
>>          10 {
>>            userFunc = tx_extbase_core_bootstrap->run
>>            extensionName = Hplusinfo
>>            pluginName = Fe_search_fulltext
>>            controller = Search
>>            action = fulltext
>>          }
>>
>> Like this I get the output of action = fulltext.
>> But when I change action = results, then I still get the output of
>> action = fulltext... I.e. "action = " is ignored. I always get the
>> default action of my plugin.
>>
>> Isn't there a way to tell the bootstrapper what action he should run?
>>
>> I know there is this "switchableControllerActions" , but I don't really
>> understand it's meaning. OK I can overwrite the default action and
>> controller. But actually I don't want to overwrite the defaults - I want
>> to choose, which controller/action should be run. How can I do this?
>>
>> I'm using T3 4.7 btw.
>>
>> Cheers,
>> Till
>
> _______________________________________________
> 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