[TYPO3-english] How to be sure ExtJS is well-loaded in my FE?

François Suter fsu-lists at cobweb.ch
Sun Mar 20 21:09:01 CET 2011


Hi all,

I'm trying to activate ExtJS site-wide by using the following TS:

page {
	javascriptLibs {
		ExtCore = 1
		ExtJs = 1
		ExtJs.css = 1
		ExtJs.theme = 1
	}
}

All libraries seem to be found and present and the Firebug console 
reports no problem at all. But when I try to do anything with ExtJS, 
nothing happens, not even an error.

What am I missing?

I even added the following to make a simple test, but it's never fired.

page {
	extOnReady.10 = TEXT
	extOnReady.10.value = alert('Foo!');
}

My HTML looks like:

<script src="/typo3/contrib/extjs/ext-core.js?1296480971" 
type="text/javascript"></script>
<script src="/typo3/contrib/extjs/adapter/ext/ext-base.js?1296480897" 
type="text/javascript"></script>
<script src="/typo3/contrib/extjs/ext-all.js?1296480971" 
type="text/javascript"></script>

<script src="/typo3/contrib/extjs/locale/ext-lang-fr.js?1296480897" 
type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
/*<![CDATA[*/
<!--

				Ext.ns("TYPO3");
				Ext.BLANK_IMAGE_URL = "http://intranet.latour.site/typo3/gfx/clear.gif";
Ext.onReady(function() {alert('Foo!'); });// -->
/*]]>*/
</script>

I would be glad for any hints. I'm running the current 4.5.3-dev source.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list