[TYPO3-mvc] call action via get-parameter does not work
Christian Tauscher
christian.tauscher at media-distillery.de
Mon Oct 30 23:29:29 CET 2017
Hello!
I have impelemented a new action
Templates/<Controller>/TheNewAction.html
in class/<Controller>.php
I have added the needed method:
function theNewAction {
...
}
in ext_localconf.php I added all actions
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Prov.extentionkey,
'thePlugin',
[
'<controller>' => 'list,search,theSearchresult,show'
])
in Template Search ist this:
<f:form action="searchResult" pageUid="{settings.searchResult}"
name="newSearch" id="searchform" >
<f:form.textfield id="address" name="address" type="input"
required="TRUE" />
...
in flexform.xml I have added all the Controller->action possible and needed.
I'd like to overwrite the Action via get Parameter, this fails!
&tx_extention_pi1[action]=list
works.
&tx_extention_pi1[action]=show
works
&tx_extention_pi1[action]=search
works not.
&tx_extention_pi1[action]=searchResult
works not.
The Plugin is used only once.
The caches are all cleared.
It allways ends up here:
The action "searchResult" (controller "<controller>") is not allowed by
this plugin. Please check
TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your
ext_localconf.php. (More information)
In some other EXT I wrote for T3 7.6 this get-parameter thing works
perfectly.
Do you know what change I forgott?
Thank you for your help!
Christian.
More information about the TYPO3-project-typo3v4mvc
mailing list