[TYPO3] TSFE.constants in Typo3 ver. 4.1.5

Christopher Torgalson bedlamhotel at gmail.com
Mon Jan 7 00:24:09 CET 2008


Hi,

On Jan 7, 2008 12:14 AM, Anders Kongsted <typo3 at kongsted.dk> wrote:
> Hi,

<snip>

> That one I can use, but that settings is from the root of the website,
> and I need individual colors. I had tried to insert
> "TSFE.constants.siteColor = #987654" in the page TSconfig, but it doen't
> make any changes. :(

<snip>

Wait: do you mean you're trying to vary the colour for individual
pages by placing different values in various pages' TSconfig fields?
If so, then this may apply:

"Notice: In the frontend the setting of default constants will only
apply to a branch of the tree if a template record is found on that
page (or if a template record is set for "next level"). In other
words: If you want the Page TSconfig constant defaults to affect only
a certain branch of the page tree, make sure to create a template
record (a blank one will do) on the page that carries the Page
TSconfig information."

(From the TSconfig page you linked to earlier)


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list