[TYPO3-english] How do you organize external TypoScript files?
Krystian Szymukowicz
t33k at prolabium.com
Wed Feb 22 12:23:14 CET 2012
W dniu 2012-02-21 15:48, Krystian Szymukowicz pisze:
> W dniu 2012-02-21 15:16, Oliver Salzburg wrote:
>> A couple of questions came up when I was just trying to move all my
>> TypoScript into external files.
Think also about having one file out of the general structure of TS
files. Why?
When you work with LOCAL / DEV / LIVe its good to have ability to modify
them slightly with different baseUrl or general email.
This is why I have also a typo3conf/constants_local.ts
and some constant dependend values there like:
site {
baseURL = example.loc
piwik {
baseUrl = example.loc
idsite = 1
}
generalNotificationEmail = k.szymukowicz at gmail.com
}
plugin.tx_scriptmerger {
css.enable = 1
javascript.enable = 1
}
So the whole typoscript is identical at LOCAL /DEV /LIVE except
typo3conf/constants_local.ts which is included at the end of including
stack to have ability to overwrite each value.
--
grtz
Krystian Szymukowicz
More information about the TYPO3-english
mailing list