Attention
TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is strongly recommended updating your project.
Loading ExtJS¶
To load the ExtJS library use this syntax:
$this->doc->loadExtJS();
There are 2 optional parameters in this call:
$this->doc->loadExtJS($css = TRUE, $theme = TRUE);
The first parameter is a boolean. If set to true,
ext-all.css
is added automatically.The second parameter is also a boolean. If set to true, theme-grey is added automatically.
Additionally the function takes care of:
adding the correct adapter
adding the localization file of BE-User language
adding
Ext.BLANK_IMAGE_URL
To do debugging in the ExtJS library, use the following call to force the debug variant to be loaded:
$this->doc->setExtJSdebug();