[FLOW3-general] get controller and actionname in fluid-template

Sebastian Kurfürst sebastian at typo3.org
Thu Jan 5 18:42:46 CET 2012


Hey,

inside a ViewHelper, you can do:

$this->controllerContext->getRequest()->getControllerName()
$this->controllerContext->getRequest()->getControllerActionName()

Inside a template, you cannot do that.

Greets,
Sebastian


More information about the FLOW3-general mailing list