We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="extras/package/541">QuickManager+ 1.5-GA</a> by lammikko.

    Brief Description:
    QuickManager+ enables front-end content editing.
      • 16610
      • 634 Posts
      Auto-generated link seems to be incorrect.

      Download QuickManager+ 1.5: http://modxcms.com/extras/package/541
        Mikko Lammi, Owner at Maagit
        • 18389
        • 169 Posts
        I just upgraded to this version of QM.
        After upgrading, it seems to be conflicting with maxigallery. I do not see maxigallery other than the "manage pictures" button. I can manage my images, but i do not see the gallery itself, while logged in.
        Could this be a js conflict of some kind?
          www.markojokic.com
          • 16610
          • 634 Posts
          Check QM+ configuration to avoid possible JavaScript conflicts:
          - Load jQuery in front-end
          - jQuery noConflict mode in front-end
          - Load modal box in front-end
            Mikko Lammi, Owner at Maagit
            • 18389
            • 169 Posts
            Awesome, you got it.
            One of those you listed was false instead of true.
            Thanks for the quick response!
              www.markojokic.com
              • 18389
              • 169 Posts
              On a second note to that success.
              When I click the "manage pictures" button for maxigallery, it’s broken. I don’t get the normal screen for managing the picture. I get each picture with it’s thumbnail next to it and no controls at all.
              Now QM is conflicting with maxigallery in a different way.

              ??
                www.markojokic.com
                • 18389
                • 169 Posts
                Ok, I found out what’s what to get qm and maxigallery to show with no problems:

                Load jQuery in front-end: TRUE
                jQuery noConflict mode in front-end: TRUE
                Load modal box in front-end: TRUE

                The first time I did it and it partially worked, I must have had one of the values as false.

                Gotta be more meticulous as usual!
                  www.markojokic.com
                  • 19023
                  • 12 Posts
                  Hello, I really like the inline template variable editing feature and I’m thinking about modifying QM+ 1.5 to allow me to support multiple TV’s in the inline editor at one time using the HTML comment syntax. Any plans to implement this feature in the near future? Would you be interested in my patch?

                  [tt]<!-- "Template variable button CSS class" "inline editor title/text" "tvName,tvName2,tvName3" -->[/tt]
                    • 16610
                    • 634 Posts
                    Quote from: megab at Jul 12, 2010, 02:42 PM

                    Hello, I really like the inline template variable editing feature and I’m thinking about modifying QM+ 1.5 to allow me to support multiple TV’s in the inline editor at one time using the HTML comment syntax. Any plans to implement this feature in the near future? Would you be interested in my patch?

                    There are currently no plans implementing "multiple TVs" but sure I’m interested the code if someone implements it.
                      Mikko Lammi, Owner at Maagit
                      • 19023
                      • 12 Posts
                      So I didn’t get to implementing that yet. In the meantime, I changed 4 lines to add a title of the Template Variable edit button:

                      First portion: see isset(matches[3])
                           // Create TV buttons if user has permissions to TV
                           //_____________________________________________________
                           function createTvButtons($matches) {
                                $access = FALSE;
                                $table = $this->modx->getFullTableName('site_tmplvar_access');
                                $docID = $this->modx->documentIdentifier;
                      
                                // Get TV caption for button title
                                $tv = $this->modx->getTemplateVar($matches[1]);
                                $caption = $tv['caption'];
                      
                                // If caption is empty this must be a "build-in-tv-field" like pagetitle etc.
                                if ($caption == '') {
                                     // Allowed for all
                                     $access = TRUE;
                      
                                     // Resolve caption
                                     $caption = $this->getDefaultTvCaption($matches[1]);
                                }
                                // Check TV access
                                else {
                                     $access = $this->checkTvAccess($tv['id']);
                                }
                      
                                //Look for the custom caption, specified in the TV HTML comment
                                if (isset($matches[3])){
                                     $caption = $matches[3];
                                }
                      
                                // Return TV button link if access
                                if ($access && $caption != '') {
                                     return '<div class="'.$this->tvbclass.'"><a class="colorbox" href="'.$this->modx->config['site_url'].'index.php?id='.$docID.'&quickmanagertv=1&tvname='.$matches[1].'"><span>'.$caption.'</span></a></div>';
                                }
                          }
                      


                      Second portion: regexp, line 625
                       // Create TV buttons and check TV permissions
                                                  $output = preg_replace_callback('/<!-- '.$this->tvbclass.' ([A-Za-z0-9&:;_\- ]+) (\'([A-Za-z0-9&:;_\- ]+)\')?( )?-->/', array(&$this, 'createTvButtons'), $output);
                      


                      New optional Format:
                      <!-- qm-tv yourTvar ’Edit’ -->