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

Steffen Kamper steffen at sk-typo3.de
Fri Feb 1 18:45:28 CET 2008


"Benjamin Mack" <mack at xnos.org> schrieb im Newsbeitrag 
news:mailman.1449.1201887175.24404.typo3-team-core at lists.netfielders.de...
> Now that I wrote the other post to Ingo... this patch will probably throw 
> an error because I moved the
>
> // register the toolbar item when in non AJAX mode
> +if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX)) {
> + $GLOBALS['TYPO3backend']->addToolbarItem('opendocs', 'tx_opendocs');
> +}
>
> to the ext_localconf.php.
>
> -- 

imho the call is right in the tx_opendocs class file after the class (i did 
it this way in extdeveval)
I don't see a necessary of askink Ajaxmode because this line is executed 
once after include the file, never when accessing the instanced class.

vg  Steffen 




More information about the TYPO3-team-core mailing list