We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34017
    • 898 Posts
    Coroico,

    Just a question. The only thing I use Moo for on a few sites is ajaxsearch and it’d be nice not to have both libraries loaded. No biggie just wondered if you’d thought of it.

    Chuck
      Chuck the Trukk
      ProWebscape.com :: Nashville-WebDesign.com
      - - - - - - - -
      What are TV's? Here's some info below.
      http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
      http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
      • 25663 MODX Staff
      • 12,272 Posts
      It’d be nice to see it done in jQuery indeed.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 5811
        • 1,717 Posts
        No biggie just wondered if you’d thought of it.
        Not at all but why not. Ok, I add this request in my todo list. But first, I would like deliver a 1.8.1 with some bug fixing and small few feature improvments and find time to investigate on xPDO in order to deliver a version 2.0 for Revolution.
          • 25663 MODX Staff
          • 12,272 Posts
          Just as an FYI, Ajax Search is probably one of those add ons we’ll want converted for Revo before entering beta, along with the other usual suspects (Ditto, Wayfinder, Jot...and so on). And there may or may not be some use of jQuery in the new modx marketing site, as well as clearly a lot of momentum in the jQuery camp. Would love to see a way where the Ajax library could be swapped out, depending on your preferences, with Mootools and jQuery supported to begin with. Ultimately I’d love to see a smattering of custom configuration files to make it easier to get started with of course for different purposes (Maxigallery image search, limit to searching particular TV, limit to searching in different parents, etc.)!
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 5811
            • 1,717 Posts
            Ok, I understand. I Will do my best.
              • 25483
              • 741 Posts
              ronaldlokers Reply #6, 18 years ago
              is jquery better then mootools or is it just because you guys already used jquery?
                with regards,

                Ronald Lokers
                'Front-end developer' @ h2o Media

                • 25663 MODX Staff
                • 12,272 Posts
                coroico if you need assistance or to discussion options with porting to Revo codebase, please PM me and I’ll arrange a conversation or IM chat for you with Jason/Shaun or both. smiley
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 4310
                  • 2,310 Posts
                  I’ve no skills with JavaScript but have successfully and quickly implemented various jQuery effects.
                  Often with other libraries I have spent hours and ended up giving up.
                  I can give no higher recommendation than my own lack of skill.
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Quote from: MediaGuy at Sep 11, 2008, 08:44 AM

                    is jquery better then mootools or is it just because you guys already used jquery?
                    Totally depends on what you need to do. Is a screwdriver better than a pair of pliers?

                    For complex requirements and custom extendability, Mootools is probably the right choice. Mootools is a library designed for those that know Javascript. Mootools is more for JS developers.

                    If you’re not already solid with JS but just want to accomplish some neat things fast using CSS selectors (find this element and do that to it), or just want to use some great pre-baked plugins, jQuery is likely the right answer. Truth be known, my gut says the momentum behind jQuery makes it a must-know toolkit. jQuery is more for the average human. tongue
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 5811
                      • 1,717 Posts
                      I am not sure to have enougth time to deliver the ajaxSearch-jquery.js file with the next AS 1.8.1 version, but I would like to put in place the future mecanisms to manage it. Here are my suggestions. Thanks for your possible remarks.
                          // $addJscript [1 | 0]
                          // Set this to 1 if you would like to include the mootool/jquery library
                          // in the header of your pages automatically.
                          $cfg['addJscript'] = isset($addJscript ) ? $addJscript : (isset($__addJscript ) ? $__addJscript : 1);
                          
                          // $jScript ['jquery'|'mootools']
                          // Set this to jquery if you would like to include the jquery library
                          // Default: mootools
                          $cfg['jScript'] = isset($jScript ) ? $jScript : (isset($__jScript ) ? $__jScript : 'mootools');
                          
                          //Location of the mootools javascript library
                          $cfg['jsMootools'] = 'manager/media/script/mootools/mootools.js';
                          
                          //Location of the jquery javascript library
                          $cfg['jsJquery'] = 'manager/media/script/jquery/jquery-1.2.6.js';
                      I plan to keep ajaxSearch.js for mootools and ajaxSearch-jquery.js for jquery as possible ajaxSearch js libraries.

                      is the default location of jquery library correct ?