[TYPO3] path to extension

Joerg Wagner news.netfielders.de at digilog.de
Sun Oct 5 23:29:55 CEST 2008


In case anybody else spends some time on getting this to work:

 >> $path = t3lib_extMsg::siteRelPath($extKey);
 > Or t3lib_extMsg::extPath($extkey) if you need absolute path.

There are typos in both of these class names and in the param name of 
example two. You might prefer these...
   t3lib_extMgm::siteRelPath($extKey);
   t3lib_extMgm::extPath($extKey);

Cheers,
Jörg.


Dmitry Dulepov [typo3] schrieb:
> Dmitry Dulepov [typo3] wrote:
>> Michael Fischer wrote:
>>> how can i find out the path to the extension in my own extension
>>> (frontend plugin)?
>>
>> $path = t3lib_extMsg::siteRelPath($extKey);
> 
> Or t3lib_extMsg::extPath($extkey) if you need absolute path.
> 


More information about the TYPO3-english mailing list