[TYPO3-core] RFC: #7346: Have a list of open and recently edited documents

Ingo Renner ingo at typo3.org
Sat Feb 2 00:22:36 CET 2008


Benjamin Mack wrote:

Hi Benni,

> tried it out, does not work when moved to ext_localconf.php (non-object 
> error...)

hmm whatever, ext_tables.php did it. please have a look at the pathc. 
This is how it is supposed to work:

* in ext_tables.php (or possibly ext_localconf.php - important is only 
that it needs to get loaded on every call of backend.php) register a 
helper file
* in that helper file include the class file for the toolbar item and 
add the toolbar item to the backend using the provided API.
* in the helper file you can be sure that an instance of the backend - 
$GLOBALS['TYPO3backend'] - exists, so that you can use other API methods 
as well to add JS or CSS


HTH
Ingo

P.S. everyone who already implemented additional toolbar items should 
use this method, too (Steffen and Dmitry!)

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


More information about the TYPO3-team-core mailing list