W dniu 11-03-13 19:13, Tomasz Melcer pisze:
Hello,

I am now writing all my TypoScript in a file, and my template record is
just including this file. This makes me easier to coordinate with
changes to html/css template, as I can keep everything in Subversion.

Are there any disadvantages of this method compared to keeping TS in the
database?

Thanks,

Tomasz Melcer

Main disadvantage is that you're not able to use T3editor with syntax coloring... so... if you feel pretty well with TSref it's no problem.

This model is quite good, when there is some team that should have 'mirrored' configuration for their local - development environments.

On the other hand, when I'm working alone on projects I prefer to store templates in DB.

Finally, in case of subtemplates (that Ivano is asking in some post below) there is possible to use TS conditions to make individual configuration on the chosen part of tree only.

ie.:

[PIDinRootline = 123, 345]
page.10 >
page.10 < plugin.tx_someplugin_pi1
page.10.code = SINGLE
[global]

--
Marcus 'biesior' Biesioroff
http://www.typo3.pl | TYPO3 Polish Community
T3CI
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to