Attention

TYPO3 v7 has reached its end-of-life November 30th, 2018 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 recommended that you upgrade your project and use a supported version of TYPO3.

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();