We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22668
    • 718 Posts
    Quote from: modderx at Apr 27, 2009, 03:37 PM

    Quote from: Paprikas at Apr 27, 2009, 03:24 PM

    Quote from: modderx at Apr 27, 2009, 02:42 PM

    So to try out the path idea was not such a good idea in this case. How can i fix this outside the modx manager, where is that path saved?
    Thanks..
    Try change the path in
    Tools -> Configuration -> Interface...

    That’s the problem, i can’t get in the modx Manager. Somehow the Quickmanager immediately tries to load QM+, but it hits an error because of the wrong path.
    So i need to find a workaround outside the modx Manager.

    go to DB.

    In the table PREFIX_system_settings (Prefix - your prefix)
    Find (’rb_base_dir’, ’/YOURPATH/assets/’),
    and change with new one

    also, for file manager, you need to edit (’filemanager_path’, ’/YOUR PATH/’),
      • 19946
      • 15 Posts
      Quote from: Paprikas at Apr 27, 2009, 03:41 PM

      go to DB.

      In the table PREFIX_system_settings (Prefix - your prefix)
      Find (’rb_base_dir’, ’/YOURPATH/assets/’),
      and change with new one

      also, for file manager, you need to edit (’filemanager_path’, ’/YOUR PATH/’),

      I cleared my cookies and i’m able type my logon credentials again, but it gives the same error. It’s still: ..httpdocs/cms/cms/assets.. It looks like that the new values are not loaded from the database.

      I tried to edit the path in the plugin table:  prefix_site_plugins ->QM+--> " include_once($modx->config[’base_path’].’cms/assets/..."
      This problem was caused by me putting ’cms’ in front of assets. I tried to delete ’cms’ in this line, but it looks like that modx just doen’t read it again.



      ++Nevermind this trouble; i did a fresh install of modx in the root. Now the trouble is gone and i am happy. ++
      Thanks anyway..
        • 22668
        • 718 Posts
        new wish.
        I want to disable QM on some pages, all pages with certain parent etc..
          • 25551 ☆ A M B ☆
          • 1,231 Posts
          I tried the following but it stops the managermanager buttons appearing in the thickbox.

          if ( in_array( $modx->documentIdentifier, array ( 437,438 ) ) ) {include_once($modx->config['base_path'].'/assets/plugins/qm/qm.inc.php');
          $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $loadtb, $usemm, $tbwidth, $tbheight, $hidefields, $addbutton, $tpltype, $tplid);
          }


          also how do I disable the preview tab, window and the save/preview link in the thickbox as this is causing some issues for me...
            Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
            AugmentBLU - MODX Partner

            BLUcart - MODX Revolution E-Commerce & Shopping Cart
            • 16610
            • 634 Posts
            I have no idea how to disable preview tab in QuickManager+. I’ll investigate if it’s possible. Disabling Qm+ on certain documents should be possible but not implementd yet. I’ll add it to todo list.

            The problem is I’m currently very busy with my ongoing projects, so there isn’t right now enough time to improve Qm+.
              Mikko Lammi, Owner at Maagit
              • 22668
              • 718 Posts
              I made a simple tweak for myself to disable QM on pages.
                • 32163
                • 33 Posts
                I tried to download QuickManager+ 1.2 from repository, but without any success. The only message I got is "Error! For some reason, the file qm-plus-1.2.zip was not found. The website administrators have been notified of this issue and will resolve it shortly." sad
                  • 16610
                  • 634 Posts
                  Quote from: WebraumZ at May 16, 2009, 11:21 AM

                  I tried to download QuickManager+ 1.2 from repository, but without any success.  The only message I got is "Error! For some reason, the file qm-plus-1.2.zip was not found. The website administrators have been notified of this issue and will resolve it shortly." sad

                  Should be fixed now. QuickManager+ 1.2: http://modxcms.com/extras.html?view=package/view&package=541

                  I’m sorry I didn’t notice this earlier. Been too busy to even visit MODx forums lately.
                    Mikko Lammi, Owner at Maagit
                    • 26012
                    • 324 Posts
                    Thank you for a great job. I’m trying to use MM and QM+(1.2).
                    but QM+(jQuery.js) conflicts Fx.Slide(mootools.js) on my site.
                    Is there any idea ? (jQuery.noConflict();... or change position of jQuery script tag ... ?)

                    P.S. MM and QM+ is correctly running at jQuery1.3.2. (I was customized MM)
                    I think, 1.3.2 is faster a little than 1.2.6.
                    thanks.
                      • 16610
                      • 634 Posts
                      Quote from: sama55 at May 28, 2009, 08:14 AM

                      Thank you for a great job. I’m trying to use MM and QM+(1.2).
                      but QM+(jQuery.js) conflicts Fx.Slide(mootools.js) on my site.
                      Is there any idea ? (jQuery.noConflict();... or change position of jQuery script tag ... ?)

                      This should be doable with little hacking. Haven’t tested this myself though.

                      1. Open file /assets/plugins/qm/qm.inc.php

                      2. Replace line 185 with this

                      if ($this->loadfrontendjq == 'true') $head .= '<script src="'.$this->modx->config['site_url'].$this->jqpath.'" type="text/javascript"></script><script type="text/javascript">var $j = jQuery.noConflict();</script>';


                      3. Open file /assets/js/thickbox.js

                      Search and replace all "$" with "$j".

                      4. Test if it works!

                      Notice: I remember there is even easier way to modify ThickBox to work in noConflict -mode but I didn’t find the article I read about this anymore.
                        Mikko Lammi, Owner at Maagit