[TYPO3-mvc] using ExtJS in an Extbase Extension

Jonas Götze jonnsn at gmail.com
Sat Mar 13 10:39:25 CET 2010


Hello all,

I am currently learning a lot about Extension Development using the Extbase
& Fluid Dreamteam and I wonder how to use ExtJS in my Extensions (Frontend
for now).
I read about the Bug #11397 from Steffen Kamper and tried using the
described typoscript. But if this is included I get a JS-Error
*Unable to load Ext*, *jQuery not found*
Am I missing something here? [Typo3 v4.3.2]

I also found the mvc_extjs extension, but i would like to know how to use it
directly for myself first :)
Anyhow, with the above TS included, the error appears also with these
samples. Without it, they work perfectly.

I tried the following code in my own action (inspired by mvc_extjs ;-) )
*    // Load ExtJS libraries
        $GLOBALS['TSFE']->backPath = TYPO3_mainDir;
        $GLOBALS['TSFE']->getPageRenderer()->loadExtJS();
        $GLOBALS['TSFE']->getPageRenderer()->enableExtJSQuickTips();
            // Show a message box when the page is ready
        $GLOBALS['TSFE']->getPageRenderer()->addExtOnReadyCode(
            'Ext.Msg.alert("My Title", "Hello World!");'
        );*
But in the Output, there is no Javascript included at all...

Thanks a lot for any hints on that.

Regards
Jonas Goetze


More information about the TYPO3-project-typo3v4mvc mailing list