[TYPO3-core] RFC: #10144: enable JS-Libs in BE

Susanne Moog typo3 at susannemoog.de
Sun Feb 1 17:43:39 CET 2009


Hi,

Steffen Kamper schrieb:
> Hi,
> 
> This is SVN patch request.
> 
> Type: Feature
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=10144
> 
> Solution:
> provide flags/function to include JSlibs.
> 
> Here are samples how to call it:
> 
> $this->doc->loadExtJS();
> $this->doc->loadPrototype();
> $this->doc->loadScriptaculous();
> $this->doc->loadScriptaculous('all');
> $this->doc->loadScriptaculousModules('dragdrop');
> 
> There is an additional flag if you want to use debug-version of extJS, 
> just set the flag:
> 
> $this->doc->setExtJSDebug();

this is a great and easy way to include JS :) Thanks!

+1 by reading and testing.


Susanne


More information about the TYPO3-team-core mailing list