[TYPO3-english] Template folder on automaketemplate

Tomas Mrozek mail at cascaval.com
Fri Nov 27 11:56:30 CET 2009


Alright, I did a bit of debugging and the result is:

* It does work but the path must not start with "media/". *


For some reason, the TYPO3 developers hardcoded transformation of
"media/" to "typo3/sysext/cms/tslib/" (see getFileName() method in
t3lib/class.t3lib_tstemplate.php).

So, the template MIGHT be outside "fileadmin" folder and it DOES GET
loaded if this folder is set in
$TYPO3_CONF_VARS['FE']['addAllowedPaths']. It just MUST NOT be "media/...".

Tomas Mrozek


More information about the TYPO3-english mailing list