[TYPO3-ect] Ext-JS 1.0.1
Joerg Schoppet
joerg at schoppet.de
Mon Aug 13 13:53:38 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steffen Kamper wrote:
> Hi Joerg,
>
> I have to find a temporary solution, may be you or someone has a good idea
> how to
> - force position in page header
> - prevent double includes
> etc
>
> vg Steffen
>
Hi Steffen,
after some digging the the core, actually the only thing I would see is
XCLASSing tslib_pagegin->renderContent() before line 323
(TSpagegen::renderContentWithHeader()).
There you can, at least, go through
$GLOBALS['TSFE']->additionalHeaderData and search for duplicates. But,
the main problem I see is: can be absolutly sure, that an include:
<script type="text/javascript"
src="typo3conf/ext/extjs/src/ext-all.js"></script>
will include the same file as:
<script type="text/javascript"
src="typo3conf/ext/myextall/ext-all.js"></script>
Do you understand, what I mean?
Perhaps someone named it's own special js-library, because of ignorance,
also ext-all.js!
Regards
Joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGwEZCq5Me6rRDqPURAhTdAJ9Y2ebta1RjB/mzs4lCb2RkycuU9gCgjyvn
MClyiGef1Uy2AmuEkE4s24I=
=pJCr
-----END PGP SIGNATURE-----
More information about the TYPO3-team-extension-coordination
mailing list