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

Ingo Renner ingo at typo3.org
Fri Feb 1 16:55:42 CET 2008


Hi Benni,

* this one should be in ext_loclaconf:

+	// register the toolbar item when in non AJAX mode
+if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX)) {
+	$GLOBALS['TYPO3backend']->addToolbarItem('opendocs', 'tx_opendocs');
+}


* in your render method, please do not concatenate the complete toolbar 
item during return, instead prepare it before returning and spread the 
code over multiple lines to make it readable

* why do you need a new instance of tx_opendocs in your static 
renderBackendMenuContents()? Even when calling it through ajax, a whole 
object should be instantiated already.

* please at least fix the alignment of the menu under the icon



Ingo

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


More information about the TYPO3-team-core mailing list