[TYPO3] TSFE.constants in Typo3 ver. 4.1.5

Anders Kongsted typo3 at kongsted.dk
Sun Jan 6 18:57:05 CET 2008


Hi,

Greate someone is awake.... :)

But even with the correction, it doesn't work. All my menu options is 
still black... :(

//Anders Kongsted

Dmitry Dulepov [typo3] skrev:
> 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}
>
>   



More information about the TYPO3-english mailing list