[TYPO3-core] RFC 8225: Code cleanup: Improvment / Bugfix: backend.php - Hook: $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']

Frank Nägler mail at naegler.net
Wed May 14 10:32:35 CEST 2008


it's ok, I have do it now like Steffen said:
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][]

= t3lib_extMgm::extPath($_EXTKEY).'registerToolbarItem.php';

_Frank

Ingo Renner schrieb:
> Frank Nägler wrote:
>> Hi Ingo,
>> I understand your reason, but I think it is a bug.
>>
>> Who should I reference my class for this hook? I only know this way.
> 
> In fact this hook is not only meant for classes but anything you'd like
> to add to/do with the backend. That might also be the reason why EXT:...
> is not resolved here (don't remember my thoughts exactly when coding this)
> 
> So by specifying a php file you can do what ever you want. For example
> check the opendocs system extension. In ext_tables.php it uses that hook
> to load its registerToolbarItem.php file. In that file again it
> registers (obviously) the toolbar item for the extension.
> 
> 
> Ingo
> 



More information about the TYPO3-team-core mailing list