[TYPO3-dev] how to remove the ShortcutMenu?

Ingo Renner ingo at typo3.org
Fri Aug 21 17:46:56 CEST 2009


Stig Nørgaard Færch wrote:
> I have made a new extension which should replace the shortcut-menu.
> But how can I make it not render?

> Any hints?

If you really want to do this (though I would strongly discourage that) 
there's the following way to do that:

There's a hook in backend.php that you can use to "add" toolbar items:
$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems']

The file you specify there is then included before rendering the 
backend. In that file you then call
$TYPO3backend->addToolbarItem('shortcuts', 'YourOwnShortcutMenuClass');

This will replace (overwrite) the core's implementation of the shortcut 
menu with your own one.


Have fun! ;)
Inog

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2





More information about the TYPO3-dev mailing list