We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23491 ☆ A M B ☆
    • 1,056 Posts
    Quote from: rthrash at Sep 19, 2006, 12:03 PM

    Mootools is the better/faster/more capable combined version of all teh moo.fx + moo.dom + moo.ajax: http://mootools.net/ (and coincidentally a strong contender for the JS-library of choice for MODx post-095).

    @rthrash--

    I love Moo! Please add 1 vote to the pile of moo.
      Mike Reid - www.pixelchutes.com
      MODx Ambassador / Contributor
      [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
      ________________________________
      Where every pixel matters.
      • 12102
      • 11 Posts
      Thats the problem. I can not use the SQL File and really i test it there is no way i can import it in to my phpmyadmin or even via command line
      Can any one kindly please give this sql file please (Please)
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Quote from: hgh56 at Oct 27, 2006, 08:48 AM

        Thats the problem. I can not use the SQL File and really i test it there is no way i can import it in to my phpmyadmin or even via command line
        Can any one kindly please give this sql file please (Please)
        Just a quick fix... open the file in a text editor, and do a search-and-replace on "modx_", replacing it with whatever your table prefix really is. Then it should work.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 10666
          • 68 Posts
          That demo was really amazing. Great work , and maybe this could get audited by core members and get in as a default installed snippet ?
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Why not have code like this at the beginning of the snippet:
            $rs = $modx->db->select("COUNT(*)",$modx->getFullTableName('site_htmlsnippets'),"name = 'mooGallery'");
            if($modx->db-getValue($rs) == 0) {
            $sql = "INSERT INTO `".$modx->getFullTableName('site_htmlsnippets')."` VALUES ('mooGallery', 'chunk pour output html de mooShowGallery', 0, 0, 0, '<div id="[+id+]" class="[+class+]">\r\n[+speed+]\r\n[+fadeSpeed+]\r\n[+topNav+]\r\n[+overlayNav+]\r\n			[+dropShadow+]\r\n[+captions+]\r\n[+border+]\r\n[+copyright+]\r\n[+IPTCinfo+]\r\n</div>\r\n[+galleryOutputTable+]\r\n[+mooFormEdit+]\r\n[+mooNoJS+]', 0);
            ";
            $modx->db->query($sql);
              ...
            }
            

            and insert the items if necessary (the first time the snippet is run, certainly!). The .sql file could even be turned into a php file with the table name as above, and included in the if section so it would only be loaded if necessary.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 33372
              • 1,611 Posts
              Very nice work! I can feel the moo-mentum building in the MODx community. The example doesn’t work properly in IE7, but then again I’ve spent most of today fixing old sites that have glitches in IE7.
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 23491 ☆ A M B ☆
                • 1,056 Posts
                Quote from: ZAP at Oct 27, 2006, 04:11 PM

                Very nice work! I can feel the moo-mentum building in the MODx community. The example doesn’t work properly in IE7, but then again I’ve spent most of today fixing old sites that have glitches in IE7.

                ZAP... do you know if, once IE7 is installed, if you can still "test" using IE 6.0 ? ...
                  Mike Reid - www.pixelchutes.com
                  MODx Ambassador / Contributor
                  [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                  ________________________________
                  Where every pixel matters.
                  • 33372
                  • 1,611 Posts
                  Unfortunately no. There are ways to install "standalone" versions of IE7, but I have only used those for previous beta versions of IE7. If you search the web you may find a standalone version of IE7 that still works with the final version, but all the ones I tried were a little quirky so I’m not sure I’d recommend this.

                  What I do is to keep one PC around with IE6 (and Firefox 1.5) while my main PC has IE7 (and Firefox 2.0).

                  Here is a list of many of the changes to CSS rendering/behavior in IE7: http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx
                    "Things are not what they appear to be; nor are they otherwise." - Buddha

                    "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                    Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                    • 12102
                    • 11 Posts
                    Thanks for the help nope didnt work any ideas please

                    Quote from: sottwell at Oct 27, 2006, 10:19 AM

                    Quote from: hgh56 at Oct 27, 2006, 08:48 AM

                    Thats the problem. I can not use the SQL File and really i test it there is no way i can import it in to my phpmyadmin or even via command line
                    Can any one kindly please give this sql file please (Please)
                    Just a quick fix... open the file in a text editor, and do a search-and-replace on "modx_", replacing it with whatever your table prefix really is. Then it should work.
                      • 23491 ☆ A M B ☆
                      • 1,056 Posts
                      Quote from: ZAP at Oct 27, 2006, 05:12 PM

                      Unfortunately no. There are ways to install "standalone" versions of IE7, but I have only used those for previous beta versions of IE7. If you search the web you may find a standalone version of IE7 that still works with the final version, but all the ones I tried were a little quirky so I’m not sure I’d recommend this.

                      What I do is to keep one PC around with IE6 (and Firefox 1.5) while my main PC has IE7 (and Firefox 2.0).

                      Here is a list of many of the changes to CSS rendering/behavior in IE7: http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx

                      @ZAP,

                      Thanks for the reply, and the link. All really good information to familiarize with. I’m so pro-firefox, I can’t get myself to even download IE7 (haven’t touched anything past 6 SP2)
                        Mike Reid - www.pixelchutes.com
                        MODx Ambassador / Contributor
                        [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                        ________________________________
                        Where every pixel matters.