[TYPO3-mvc] Problem with switchableControllerActions

Thomas Nussbaumer typo3 at thomasnu.ch
Mon Jan 21 11:10:44 CET 2013


Hello Stefan,
Is this Controller->action in Flexform available?
Fx from me with controller Mail:
<config>
   <type>select</type>
     <items type="array">
       <numIndex index="0" type="array">
         <numIndex index="0">Default</numIndex>
           <numIndex 
index="1">Mail->index;Mail->new;Mail->create;Menu->show</numIndex>
         </numIndex>
       <numIndex index="1" type="array">
         ...
Greetings, Thomas

Am 21.01.2013 10:19, schrieb Stefan Kruse:
> Hello,
> I have an extension with a lot of action controller combinations. I use also
> a Flexform file with switchable controller actions. Furthermore, I use my
> template for the fluid template object. Ok, I have included on my home page
> the first plugin, do a search. If there was one enters, you obtain the next
> action that results. I would now like to include in my template a specific
> controller action, namely a specific menu. This I do with the cObject view
> helper. My TS is as follows:
>
> MenuWidget = USER
> MenuWidget {
> userFunc = tx_extbase_core_bootstrap-> run
> plugin name = Pi1
> extension name = Tl24boersesearch
> controller = Menu
> action = show
> switchable controller actions {
> Menu {
> 1 = show
> }
> }
> settings = <plugin.tx_tl24boersesearch.settings
> persistence = <plugin.tx_tl24boersesearch.persistence
> view = <plugin.tx_tl24boersesearch.view
> }
>
> lib.menutop <MenuWidget
>
> On the first page everything looks fine, but when the next action comes, an
> error message is coming that this action is not allowed in the menu
> controller.
>
> Has someone a tip what this could be?
>
> Thanks
>



More information about the TYPO3-project-typo3v4mvc mailing list