[TYPO3] TSFE.constants in Typo3 ver. 4.1.5

Christopher Torgalson bedlamhotel at gmail.com
Mon Jan 7 22:56:54 CET 2008


Hi,

On Jan 7, 2008 7:48 PM, Anders Kongsted <typo3 at kongsted.dk> wrote:
> Christopher Torgalson skrev:
> > 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)
> Okay. I see the problem.
> I have now created some template extension, and it change the colors.
>
> Is there an easy way to change the color on each page, AND have
> different colors on each menu options?
>
> Menu 1 - blue menu options, and blue theme.
> Menu 2 - red menu options, and red theme.
> Menu 3 - green menu option, and green theme.
>
> Or is the only way to do it with template extension to the page-color,
> and optionsSplit to the menu-color?


I can't make sense of what you're trying to do from this description.
Post a graphic somewhere or post some sample html code. Between
TYPO3's constants, conditions, and optionsplit (to say nothing of CSS
etc), it shouldn't be too difficult...




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


More information about the TYPO3-english mailing list