[TYPO3-dev] Still problems with setting module templates

Tapio Markula tapio.markula at xetpoint.fi
Sat Nov 14 12:26:49 CET 2009


Steffen Kamper kirjoitti:
> Hi,
> 
> Tapio Markula schrieb:
>> Hi
>>
>> I still didn't succeed to set some module templates from a plugin
>>
>> How to set correctly path for
>> $TBE_STYLES['htmlTemplates']['templates/db_layout.html']
>>
>> if the file is typo3conf/ext/skin_grey_2/htmlTemplates/ dir
> 
> like you do with all resource files ..
> 
> t3lib_extMgm::extpath('skin_grey_2', 'htmlTemplates/dv_layout.html')
> 
> vg Steffen

I tried

$TBE_STYLES['htmlTemplates']['templates/db_layout.html']=t3lib_extMgm::extpath('skin_grey_2', 
'htmlTemplates/db_layout.html');
	$TBE_STYLES['htmlTemplates']['templates/db_layout_quickedit.html']=t3lib_extMgm::extpath('skin_grey_2', 
'htmlTemplates/db_layout_quickedit.html');
	
	
doesn't work - empty page, which means that the template was not found!




More information about the TYPO3-dev mailing list