[TYPO3-english] wrong $request->getControllerExtensionName()

Sergio Catalá scatala.enet at gmail.com
Tue Mar 17 10:07:04 CET 2015


Hi list,

I setup an extension that extends some models by powermail.
I am trying to show a translated label through <f:translate key="blabla" />
but, debugging, I realize:

$request->getControllerExtensionName()

returns "powermail", and not my extension name, so the label is not
returned in the frontend.
I don't want to add every time to my translate fluid tags the parameter
"extensionName".

Is there a way to setup the controller name?

Thanks in advance,
Sergio


More information about the TYPO3-english mailing list