[TYPO3-ect] ExtJS, jQuery, JSManager
Joerg Schoppet
joerg at schoppet.de
Thu Jan 17 10:28:25 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
just want to announce the availability of the above named extensions in TER.
JSManager
Finally I released version 1.0. With this extension it will be possible
to group different js-libs for a page in a single point. Each relevant
js-extension have to be changed to work with this extension.
extJS
Finally I updated extJS, so that i works together with jsmanager. I left
the actual processing as it is, so there will be no BC-breaks. The
version of the bc-version is still 1.1.1, so you can simple update to
this ext without problems to your existing code (see IMPORTANT notice
below). For work with jsmanager I included the version 1.1.1 and the
brand new version 2.0.
jQuery
Here is the same as with extJS. It works now with jsmanager but I also
left the actual processing. The version of the bc-version is still
1.2.0. For work with jsmanager I included the versions 1.1.4, 1.2.1 and
1.2.2.
Actually I'm in process of a job-change, so I haven't the time for
everything, which I like to, e.g. more functionality for jsmanager
(BE-inclusion, BE-information) or documentation.
But here are some hints and I try to look in this list as often as I can.
IMPORTANT: I only tested these three versions with PHP 5.2.5, because of
the use of "interfaces" PHP 5.0 will be required at least.
Usage:
Just install "jsmanager" and then "extJS" and/or "jQuery".
On a page, where you want to use extJS and/or jQuery create an
extension-template and add the static template "JS-Manager (jsmanager)".
Now create a template-setup as shown in the "example_jsmanager.txt" file
in the doc-dirs of the two extensions.
Here a complex example:
Problem:
You want to use jQuery AND extJS.
jQuery needs version 1.2.1 and the compat-1.1 plugin (minimized-version)
extJS can be the highest version available in the normal variant (not
minimized), the german language file should be loaded and a loading
screen should appear.
This all should be but in the body of the page
Solution
plugin.tx_jsmanager_Executor.libs {
place = body
order = jquery,extjs
config {
extjs {
loading = 1
version = max
variant = normal
adapter = ext
resource = default
language = de
no_css = 0
}
jquery {
version = 1.2.1
variant = minimized
plugins = compat
plugins {
compat =
EXT:jquery/version/{version}/plugins/normal/jquery.compat-1.1.js
}
}
}
}
Joerg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHjx+5q5Me6rRDqPURApyNAJ9aQGB1zsdpI6qbFcd3LT/X/hY6nACeKUkl
0vF4rIV6z3PILupGK5MXA6k=
=nC1B
-----END PGP SIGNATURE-----
More information about the TYPO3-team-extension-coordination
mailing list