[TYPO3-english] FLUID and News: using global variables in widget of fe. News
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.nl
Mon Oct 27 16:25:21 CET 2014
Hello,
I am using TYPO3 6.2.x and News, there is a widget for pagination,
something like this:
...
{namespace n=Tx_News_ViewHelpers}
<f:if condition="{configuration.insertAbove}">
<f:render section="paginator" arguments="{pagination:
pagination,configuration:configuration}" />
</f:if>
<div class="{someGlobalVar}"
<f:renderChildren arguments="{contentArguments}" />
</div>
<f:if condition="{configuration.insertBelow}">
<f:render section="paginator" arguments="{pagination:
pagination,configuration:configuration}" />
</f:if>
And then in the TS-template:
page {
10 = FLUIDTEMPLATE
10 {
variables {
someGlobalVar=TEXT
someGlobalVar.value=foo
}
}
}
However, {someGlobalVar} does not print anything...
Is there something wrong with the code or do I miss something?
Thanks in advance!
Regards,
Bert
More information about the TYPO3-english
mailing list