[TYPO3-english] Including a TS file into a TS template

piet roorda pietroorda at gmail.com
Sat Dec 13 20:22:00 CET 2008


you're right, what ever suits you
piet

On Sat, Dec 13, 2008 at 6:33 PM, Andreas Burg <typo3 at andreasburg.de> wrote:
> Hello Piet,
>
>> You're about right, but the subpart should be '.txt'
>
> this is wrong. You could use any suffix. I use "ts" cause my editor then shows the right syntax
> highlighting. But I would prefer filenames in lower case.
>
> If you want to edit those files in BE, you have to put this code in your localconf.php
>
> $TYPO3_CONF_VARS['SYS']['textfile_ext'] = 'txt,html,htm,css,inc,tmpl,js,sql,php,ts';
>
> To protect this files, you have to put something like this in your main .htaccess
>
> <FilesMatch "\.(ts|tmpl)$">
>   deny from all
> </FilesMatch>
>
> Andreas
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list