[TYPO3] TypoScript doubt

Christopher Torgalson bedlamhotel at gmail.com
Fri Jun 6 13:11:16 CEST 2008


On Fri, Jun 6, 2008 at 12:45 PM, Antonio Álvarez Feijoo
<aalvarez at igalia.com> wrote:
> Any idea of how to do anything similar?



I don't understand the problem with the conditions method you referred
to in your first post in this thread:

[globalVar = GP:L=1]
    page.includeCSS.file1 = fileadmin/templates/css/mycss.css
[globalVar = GP:L=2]
    page.includeCSS.file1 = fileadmin/templates/css/mycss_es.css
[...]

You mention searching through the page tree to do this, but you'd only
have to do it in your root template--and besides, you'll have these
conditions in that template anyway in a typical multilanguage setup,
and you *will* need to add to the set when you add new languages even
if your stylesheets are called by some other process. So I don't
really understand how adding your stylesheets this way is problematic.

There are a couple of other options for including stylesheets that can
make use of stdWrap, but it's hard to say what might work best for you
without more information. Can you say why using conditions is a
problem?

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


More information about the TYPO3-english mailing list