[TYPO3-english] How to get the L variable in Fluid
Jeppe Donslund
jeppe at originalen.com
Wed Aug 28 08:42:44 CEST 2013
Hi
How do I get the L variable in fluid so that I know what language is chosen?
In public function showAction( in the DesignController.php where I have
$this->view->assign('design', $design);
I try this: $this->view->assign("L", $GLOBALS['TSFE']->sys_language_uid);
And in Properties.html: <f:debug title="Sprog-L">{L}</f:debug>
But it doesn't work.
Is it the wrong places to write it or it is the wrong piece of code?
Best regards
Jeppe Donslund
More information about the TYPO3-english
mailing list