We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16610
    • 634 Posts
    Quote from: claytonk at Dec 22, 2009, 02:28 PM

    I notice the "delete" button is commented out in the source as "not implemented yet". Having this button would be really useful for my current project. What would it take to implement this? Is it something a loser could do or does it require actual intelligence and PHP proficiency?

    To be honest I haven’t even looked how easy/difficult it would be to implement delete document button. It’s just a reminder left in the code.
      Mikko Lammi, Owner at Maagit
      • 16610
      • 634 Posts
      Quote from: mconsidine at Dec 15, 2009, 06:45 AM

      Any help would be appreciated - this seems to be my only editing option at the moment. And if there’s another way I should be configured advice on that would be great too.

      I suggest you to use "Logout to manager" setting to prevent problems with multiple users if possible. I suspect this problem has something to do with logout to front-end setting not functioning properly but I haven’t have the time to investigate this further.
        Mikko Lammi, Owner at Maagit
        • 31178
        • 128 Posts
        Quote from: Lammikko at Nov 20, 2009, 06:34 AM

        Quote from: uxello at Nov 20, 2009, 06:13 AM

        Thanks. I think this could be an issue for many people. Is there no way around this?

        Unfortunately there’s no easy solution around this. I’ll add this to todo list.

        I’ll have to investigate if this could be solved with ColorBox bindings by triggering something that removes document lock when user hits the close button.

        I think I have a painless way of clearing the locks using your suggestion of the ColorBox bindings.
        It just requires one line adding to the qm.inc.php file

        // Bindings
        $().bind("cbox_open", function(){$("body").css({"overflow":"hidden"}); $("html").css({"overflow":"hidden"}); $("#qmEditor").css({"display":"none"});});
        $().bind("cbox_closed", function(){$("body").css({"overflow":"auto"}); $("html").css({"overflow":"auto"}); $("#qmEditor").css({"display":"block"});
        
        //new line to remove manager lock by going to home page
        $j.ajax({ type: "GET", url: "'.$this->modx->config['site_url'].'manager/index.php?a=2" });						
        }); 
          • 16610
          • 634 Posts
          Quote from: uxello at Jan 12, 2010, 09:29 AM

          I think I have a painless way of clearing the locks using your suggestion of the ColorBox bindings.
          It just requires one line adding to the qm.inc.php file

          // Bindings
          $().bind("cbox_open", function(){$("body").css({"overflow":"hidden"}); $("html").css({"overflow":"hidden"}); $("#qmEditor").css({"display":"none"});});
          $().bind("cbox_closed", function(){$("body").css({"overflow":"auto"}); $("html").css({"overflow":"auto"}); $("#qmEditor").css({"display":"block"});
          
          //new line to remove manager lock by going to home page
          $j.ajax({ type: "GET", url: "'.$this->modx->config['site_url'].'manager/index.php?a=2" });						
          }); 


          Thank you very very much! I’ll test it and see how it works. Your solution is exactly what I was after initially. If everything is ok, I’ll definitely add this to the next version.

          I hope to have some extra time next week to release a patch version for QM+. There propably won’t be any new features, just bug fixes.
            Mikko Lammi, Owner at Maagit
            • 16610
            • 634 Posts
            QuickManager+ version 1.3.4 is now ready and waiting for repository approval. Those in hurry can grab the version 1.3.4 here.

            Readme file is also available here.

            This is a bug fix release with only minor improvements.

            Changelog:

            1.3.4

            * Added: Autohide toolbar configuration option
            * Changed: Updated ColorBox to 1.3.6: http://colorpowered.com/colorbox/
            * Changed: CSS tweaks, mainly for IE (opacity removed for IE, it breaks cleartype fonts resulting very ugly looking fonts)
            * Changed: Plugin code moved from text file to this file (Installation / 3. Copy paste plugin code)
            * Fixed: Document lock problem solved, now document lock is released when cancel button is pressed (Thanks uxello for the solution!)
            * Fixed: Toolbar is now valid XHTML 1.0 Transitional code
            * Removed: Unnecessary $disabled variable from edit code
            * Removed: Images folder, all images are now under css > images
              Mikko Lammi, Owner at Maagit
              • 26931
              • 2,314 Posts
              QuickManager+ version 1.3.4 is now ready and waiting for repository approval. Those in hurry can grab the version 1.3.4 here.
              thanks Lammikko smiley
                • 31178
                • 128 Posts
                Thanks Lammikko.

                For the IE opacity did you try setting the filter to ’none’ and "" instead of 100. This fixed things for IE8... not sure about IE7 though.

                /*fix for filter on IE8 stopping hover*/
                #qmEditor:hover, #qmEditorClosed:hover
                {
                -ms-filter:""!important;
                filter:none!important;
                }
                  • 16610
                  • 634 Posts
                  Quote from: uxello at Feb 04, 2010, 05:37 AM

                  For the IE opacity did you try setting the filter to ’none’ and "" instead of 100. This fixed things for IE8... not sure about IE7 though.

                  Excellent trick! This fixes IE8 indeed. Unfortunately IE7 remains ugly but I can live with that. I’ll make a new patch version 1.3.4.1 very soon.
                    Mikko Lammi, Owner at Maagit
                    • 16610
                    • 634 Posts
                    Quick fix for 1.3.4:

                    QuickManager+ version 1.3.4.1 is now ready and waiting for repository approval. Those in hurry can grab the version 1.3.4.1 here.

                    Readme file is also available here.

                    Changelog:

                    1.3.4.1
                    * Changed: CSS tweaks for IE, opacity now works fine with IE8 but unfortunately with IE7 ugly fonts remain (Thanks again uxello!)
                      Mikko Lammi, Owner at Maagit
                      • 22668
                      • 718 Posts
                      Thanks! rolleyes