[TYPO3-mvc] ExtJS

Steffen Kamper info at sk-typo3.de
Fri Jul 17 12:24:21 CEST 2009


Hi,

Xavier Perseguers schrieb:
>> But there is a method for this:
>> $GLOBALS['TSFE']->pageIncludes->jsFooterInline['ExtOnReady'][] =
>> 'Ext.Msg.alert("My Title", "Hello World!");';
> 
> jsFooterInLine is protected and cannot be accessed!
> 

sry, this is the legal method:

$GLOBALS['TSFE']->pageIncludes->addJsHandlerCode(
	'Ext.Msg.alert("My Title", "Hello World!");',
	t3lib_pageIncludes::JSHANDLER_EXTONREADY
);

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list