Feature #62730
closedEmbed/bootstrap an extension/plugin with fixed controller/action
0%
Description
I want to bootstrap/embed an extension with fixed controller/action and no matter what is passed to the query string (e.g. tx_*[controller]/tx_*[action]) should not change the behavior of the embedded/bootstrapped version of the extension.
Basically I need to insert multiple instances of the same extension/plugin and each instance should only call what I have defined. Currently it throws an exception if it's not allowed or if I allow it it executes whatever is in the query string.
I want to be able to do that with the same plugin with different controllers.
Lets say I have a plugin with 3 controllers - List, Show, Top. I want to embed in my page the controllers List and Top. When I click on details in List in my query string I have the appropriate arguments so the extension knows I want to show details on one of the items in list. But these arguments also influence what is shown in Top and now Top shows the same thing as List. I want to be able to embed the Top controller who will never change its output based on the query string.
Updated by Mathias Schreiber almost 7 years ago
- Category changed from Frontend to Extbase
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
this can be achieved by using
plugin.tx_yourext { mvc.callDefaultActionIfActionCantBeResolved = 1 }
and by using switchablecontrolleractions or custom plugins