[Typo3] GlobalVar - this one *should* be simple, right ... ? [SOLVED!]
Christopher
bedlamhotel at gmail.com
Wed Dec 14 19:12:12 CET 2005
On 12/14/05, Scotty C <superscotty19 at yahoo.com> wrote:
> Christopher,
>
> You are BRILLIANT!!! Here is what I did (for the
> reference of others). This will give a different
> template for the root page:
>
>
> Create page tree like so:
>
>
> www.mysite.com (id = 286)
> + About (id = 295)
> + Contact (id = 294)
> + Products (id = 293)
>
> -> The page "www.mysite.com" (id=286) must have "is
> root of site" set in page header!
>
>
> In the TS for www.mysite.com, add the following to the
> constants:
>
> templateFile = fileadmin/xpressxperience/template.html
> [treeLevel = 0]
> templateFile = fileadmin/xpressxperience/home.html
> [global]
>
<snip>
>
> Thanks again Christopher - I hope this can be of help
> to others, as it certainly was for me!
It's useful to _me_ for sure--I never thought to try conditions in the
constants part of the template...
-Christopher
More information about the TYPO3-english
mailing list