[TYPO3-english] How do you organize external TypoScript files?

Oliver Salzburg oliver.salzburg at googlemail.com
Wed Feb 22 12:03:30 CET 2012

On 2012-02-22 10:38, Steffen Müller wrote:
> Hi.
> Another solution would be to use subdirectories for each part of the ts
> object name. But this only makes sense if you have a lot of ts objects:
> fileadmin/setup/ts/setup/
>  \-- page.ts
>  \-- lib/
>       \-- navigation.ts
>       \-- breadcrumb.ts
>  \-- plugins
>       \-- news.ts
>       \-- cal.ts
> and another file to includes them all (this one itself is included in
> root template record): fileadmin/setup/ts/setup.ts

Yeah, that's similar to Krystians suggestion. I like that a lot.

> On 21.02.2012 16:33 Oliver Salzburg wrote:
>> Do you intentionally not put them under the fileadmin folder?
>> I always thought that would be the place to put all user files.
> Then make sure to permit .ts files to be accesses directly:
> <FilesMatch "\.(ts)$">
>  order deny,allow
>  deny from all
> </FilesMatch>

I adopted the private/public folder structure approach and just locked
down the whole private folder. Just put a 1-line .htaccess file in
there with:
deny from all

That takes care of it.


More information about the TYPO3-english mailing list