[TYPO3-mvc] Controller and action from flexform

Helmut Hummel typo3 at jhpc.de
Thu May 21 18:26:40 CEST 2009


Hi,

Am 20.05.2009 16:55 Uhr, schrieb Ingo Renner:
> Jochen Rau wrote:
>>
>> At an early stage of Extbase, this feature was already implemented. But
>> we decided to separate the plugin (user) configuration from the
>> configuration of the plugin itself. May be we should reimplement this
>> handy feature.
>
> I'd like to second that request as it's a quite common thing when you
> think of tt_news f.e.

Yes, this would be really usefull.
What about beeing able to configure so called "modes" (which are a 
controller/action combinations) in the extensions' Typoscript.

For example:

modes {
   showBlog {
     label = Show a list of blogs
     controller = BlogController
     action = show
   }
   editBlog {
     label = Edit a blog
     controller = BlogController
     action = edit
   }
}

A flexform user function could parse this configuration and show the 
approriate modes in a dropdown menu.

Kind regards
Helmut


More information about the TYPO3-project-typo3v4mvc mailing list