[TYPO3] TSFE.constants in Typo3 ver. 4.1.5
Dmitry Dulepov [typo3]
dmitry at typo3.org
Sun Jan 6 18:20:15 CET 2008
Ji!
Anders Kongsted wrote:
> I can't get TSFE.constants to work.
> On one of my pages I have in my TS:
>
> TSFE.constants.websiteConfig.siteColor = #119911
Side note for other readers: this is in TSConfig.
> And in my template I have:
...
> backColor = ${websiteConfig.siteColor}
...
> But the color doesn't change - it's black (#000000).
>
> Any solutions? :)
According to docs correct syntax is:
backColor = {$websiteConfig.siteColor}
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-english
mailing list