[TYPO3-templavoila] Constants don't get replaced
Tolleiv Nietsch
tolleiv.nietsch at typo3.org
Fri Sep 28 09:06:10 CEST 2012
Hi,
you missed the fact that using constants in Flexforms is not possible
this way. See "TypoScript_constants" in
http://typo3.org/extension-manuals/templavoila/1.7.0/view/1/6/ to get it
working.
Cheers,
Tolleiv
Matthias schrieb:
> Hi peeps,
>
> I ran into an issue where constants don't seem to get replaced in the TypoScript setup field in a page template.
>
> I have this in my regular TypoScript template:
>
> --------------------------------------------------------------------------------
>
> Constants:
>
> config.callback_form_id = 14
>
> Setup:
>
> plugin.tx_templavoila_pi1.TSconst {
> callback_form_id = {$config.callback_form_id}
> }
>
>
>
> --------------------------------------------------------------------------------
>
> And in the TypoScript setup field of an element of the page template I have this:
>
> 10 = TEXT
> 10.value = {$TSconst.callback_form_id}
>
>
> --------------------------------------------------------------------------------
>
> In the frontend it just outputs "{$TSconst.callback_form_id}". I checked the TypoScript Object Browser, everything seems ok there.
>
> Running on a TYPO3 4.6.6 with the latest and greatest TemplaVoila! 1.7.0.
>
> Any ideas? Am I missing something obvious? This has always worked for me and I'm a bit at a loss here.
>
> Thanks for any feedback!
>
> — Matthias
>
>
>
--
Tolleiv Nietsch
TYPO3 Core Developer
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-project-templavoila
mailing list