Project

General

Profile

Actions

Bug #20527

closed

getModuleTemplate is prepended with backPath always

Added by Steffen Kamper over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-05-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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');

(issue imported from #M11216)


Files

11216.diff (565 Bytes) 11216.diff Administrator Admin, 2009-05-29 10:02
11216_v2.diff (1001 Bytes) 11216_v2.diff Administrator Admin, 2009-05-29 13:05
Actions

Also available in: Atom PDF