Project

General

Profile

Actions

Feature #62730

closed

Embed/bootstrap an extension/plugin with fixed controller/action

Added by vladimir g about 10 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-11-06
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions #1

Updated by Mathias Schreiber almost 7 years ago

  • Category changed from Frontend to Extbase
Actions #2

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

Actions

Also available in: Atom PDF