[TYPO3-english] How do you organize external TypoScript files?
Oliver Salzburg
oliver.salzburg at googlemail.com
Wed Feb 22 12:10:57 CET 2012
On 2012-02-22 10:23, Dmitry Dulepov wrote:
> Hi!
>
> Oliver Salzburg wrote:
>> A couple of questions came up when I was just trying to move all my
>> TypoScript into external files.
>
> I have a single file, which includes all other TS files using
> INCLUDE_TYPOSCRIPT.
>
> I create a separate TS file according to logic function. Typically:
> config (CONFIG), page (PAGE), menu, news, etc. Each such file also
> includes TS file from extensions (thus, I do not use inclusion through
> the BE interface).
>
> This way I can using git for storing my TS code too.
Yes, I also wanted to achieve version control (amongst other things). It
just seems to have more advantages than disadvantages.
I wonder though, do you also use INCLUDE_TYPOSCRIPT to include the TS
for 3rd-party extensions?
I currently include all static TS into my 1 template record through the
BE. I was worried of TS files in those extensions moving between
versions and breaking my setup, if I included them through
INCLUDE_TYPOSCRIPT directly.
Cheers
Oliver
More information about the TYPO3-english
mailing list