0
Welcome Guest! Login
0 items Join Now

mootools version conflict problem

  • mootools version conflict problem

    Posted 13 years 11 months ago
    • Hi all....i'm begging for help!! :cry:
      I'm trying to write a custom component for joomla with RT and to include in it a mootools based system to easily select images or to upload a new one if necessary. I found this
      mootools.net/forge/p/mootools_filemanager

      it looks pretty fine and i started to include it in my component. But what happens is that the last version of mootools_filemanager needs mootools 1.3.1, and in RT i have 1.12. If i deactivate (just for my component) the RT mootools core and just let the 1.3.1 work, i get an error about the browser engine object (they say is deprecated since 1.3.1). I tryed many solutions but none of them seems to work.

      What can i do? Is there a way to update gantry mootools version to 1.3.1 or higher?
      Or maybe somebody has a better idea...if you know a plugin that does the same i would really appreciate....

      Thanks in advance
  • Re: mootools version conflict problem

    Posted 13 years 11 months ago
    • Hello,
      Gantry is using MooTools 1.3.1 already.
      What we did with Gantry was to write a little system plugin that in the Gantry administration replaces MooTools to the version we provide (1.3.1).
      You can have a look at Gantry Bundle to see how we accomplished it.
    • / Djamil Legato / Lead Developer /
  • Re: mootools version conflict problem

    Posted 13 years 11 months ago
    • thank you for your reply. But i downloaded the Diagnostic Info and in the file gantryObjects.html it says

      "[...]["platform"]=> string(6) "joomla" ["platform_version"]=> string(6) "1.5.22" ["jslib"]=> string(8) "mootools" ["jslib_version"]=> string(3) "1.2" ["jslib_shortname"]=> string(2) "mt" ["_js_file_checks"]=> array(3) { [0]=> string(12) "-mootools1.2"[...]"

      maybe there's something wrong with the installation of rockettheme? In template options i see Gantry v3.1.13...
  • Re: mootools version conflict problem

    Posted 13 years 11 months ago
    • You can use this tool stuff.djamil.it/wtframework/
      Drag the button to your bookmarks bar and click on it. It will tell you what MooTools version is running on the current page. I guarantee we are using MooTools 1.3 on Gantry admin, it might be the diagnostic is reading it wrong.

      This is an example of RT template running Gantry 3.1.13.

      This image is hidden for guests.
      Please log in or register to see it.
    • / Djamil Legato / Lead Developer /
  • Re: mootools version conflict problem

    Posted 13 years 11 months ago
    • i confirm, it uses mootools 1.12
      I've found that enabling System Mootools Upgrade plugin it brings me Mootools 1.2.4
      notice that if i leave it disabled the mootools.js loaded does not come from gantry component but in /media/system/js, otherwise if i enable that plugin, $gantry->gantryUrl.'/js/mootools-1.2.5.js is loaded
      (i've found this code in moo125.php).

      I'm googling a lot, and i found several post about this issue, they talk about mootools 1.3.1 just for joomla 1.6, not for joomla 1.5. I use 1.5

      If I just overwrite called mootools library with the newer 1.3.1 i have some js errors on both front end home page and in administration.

      I looked for System Mootools 1.3.1 Upgrade plugin but i've found a patch (released few days ago) just for J 1.6. :( (((

      look here
      joomlacode.org/gf/project/joomla/tracker...racker_item_id=25082

      Thank you man, i really appreciate your help

Time to create page: 0.069 seconds