Zum Inhalt springen

Action is not allowed by this plugin

Erstellt am 25. Januar 2016 · 1 Antwort · letzte Antwort am 27. Januar 2016

Tags: Frage

thofas ·

Hallo zusammen,

ich weiß schon, das ist ein "Klassiker", aber ich komme mit den bisherigen Problemlösungen die ich gefunden habe nicht weiter, oder aber ich bin schon total im Tunnel!

The action "updateCompanyTemplateProfile" (controller "XyzExtended") is not allowed by this plugin.

ext_localconf.php

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
	'TMG.' . $_EXTKEY,
	'Xyzusersextended',
	array(
		'XyzExtended' => 'list, show, showWelcomeBox, showRsmMenuBox, editCompanyTemplateProfile, editCompanyLogo, updateCompanyTemplateProfile',
		
	),
	// non-cacheable actions
	array(
		'XyzExtended' => '',
		
	)
);

FlexForm

<switchableControllerActions>
    <TCEforms>
	<label>Select function</label>
	<config>
	    <type>select</type>
	    <items>
		<numIndex index="0">
		    <numIndex index="0">List Users</numIndex>
		    <numIndex index="1">XyzExtended->list;XyzExtended->show</numIndex>
		</numIndex>
		<numIndex index="1">
		    <numIndex index="0">Show Users</numIndex>
		    <numIndex index="1">XyzExtended->show;XyzExtended->list</numIndex>
		</numIndex>
		<numIndex index="2">
		    <numIndex index="0">Show WelcomeBox</numIndex>
		    <numIndex index="1">XyzExtended->showWelcomeBox</numIndex>
		</numIndex>
		<numIndex index="3">
		    <numIndex index="0">Show RSM MenuBox</numIndex>
		    <numIndex index="1">XyzExtended->showRsmMenuBox</numIndex>
		</numIndex>
		<numIndex index="4">
		    <numIndex index="0">Edit Company Template Profile</numIndex>
		    <numIndex index="1">XyzExtended->editCompanyTemplateProfile;XyzExtended->updateCompanyTemplateProfile</numIndex>
		</numIndex>
		<numIndex index="5">
		    <numIndex index="0">Edit Company Logo</numIndex>
		    <numIndex index="1">XyzExtended->editCompanyLogo;XyzExtended->updateCompanyTemplateProfile</numIndex>
		</numIndex>
	    </items>
	</config>
    </TCEforms>
</switchableControllerActions>

Cache habe ich natürlich auch sämtliche Male komplett gelöscht, hat allerdings auch nichts gebracht.

Hat jemand noch einen möglichen Lösungsansatz?

VG
Thomas

einpraegsam.​net ·

Hast du im Flexform bei switchableControllerActions auch wirklich "Edit Company Template Profile" oder "Edit Company Logo" ausgewählt - überprüf das noch mal - manchmal muss man im Plugin erneut speichern drücken, wenn man den Wert erst später hinzugefügt hat.