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

Thomas Rödiger tom at datenarbeit.de
Thu Jan 5 18:58:32 CET 2012


Hi,
ok thanks. So I got to write a small ViewHelper for it.
Best,
Thomas

Am 05.01.12 18:42, schrieb Sebastian Kurfürst:
> 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