[TYPO3-core] RFC: #11216: getModuleTemplate is prepended with backPath always
Steffen Kamper
info at sk-typo3.de
Fri May 29 10:48:10 CEST 2009
Hi,
This is SVN patch request.
Type: Bugfix
Branches: trunk
BT reference: http://bugs.typo3.org/view.php?id=11216
Problem:
when writing BE module extension you may have your template in your
extension directory. For now the $filename is always prepended with
backpath.
Solution:
use t3lib_div::getFileAbsFileName which allows using this syntax:
$this->doc->setModuleTemplate('EXT:myext/mod1/mod_template.html');
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11216.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090529/3d530147/attachment.txt
More information about the TYPO3-team-core
mailing list