[TYPO3-core] RFC: Bug #10744: Icon path calculated incorrectly in t3lib_tceforms->getIcon()

Steffen Kamper info at sk-typo3.de
Thu May 28 18:35:43 CEST 2009


Hi,

Martin Kutschker schrieb:
> Steffen Kamper schrieb:
>> Hi,
>>
>> Martin Kutschker schrieb:
>>> Jeff Segars schrieb:
>>>> This works fine as long as backPath is empty, as it is in alt_doc,
>>>> db_list, and all other classes that live directly inside typo3/.
>>> Sidenote: also setModuleTemplate() in template.php works only
>>> satisfactory when the back path is empty.
>>>
>>> Masi
>> that's why i always use it with extMgm::extPath(extkey) Reason was that
>> it was used by core mods having templates in typo3-folder.
> 
> Doesn't work either if back_path is non-empty!
> 


it does, even if code says something else :D try it.

It can be done also by
$this->doc->moduleTemplate = 
t3lib_div::getURL(t3lib_extMgm::extPath('extkey') . 
'mod1/mod_template.html');

But i agree this is a bug and i will provide a patch.

vg Steffen


More information about the TYPO3-team-core mailing list