[TYPO3-mvc] Never really understood tx_extbase_core_bootstrap and switchableControllerActions

Thomas Nussbaumer typo3 at thomasnu.ch
Mon Apr 29 20:25:00 CEST 2013


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



More information about the TYPO3-project-typo3v4mvc mailing list