We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6470
    • 69 Posts
    add lines
    [table][tr][td]$custombutton=$custombutton+’-’;
    $hidesections=$hidesections+’-’;
    $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs=’’, $hidesections=’’, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout);
    }[/table]
    yet have
    Undefined variable: hidesections

    nt document $sql= "SELECT id FROM {$table} WHERE document = {$docID} AND document_group IN ({$docGroup})"; $result= $this->modx->db->query($sql); $rowCount = $this->modx->recordCount($result); if ($rowCount >= 1) $access = TRUE; } else $access = FALSE; } else $access = TRUE; } return $access; } } } ?>
      • 16610
      • 634 Posts
      Let’s try different approach.

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

      Take a look at lines 20-36.

      Try to modify problematic variables (lines) like
      $this->hidesections = $hidesections;


      to

      $this->hidesections = '';


        Mikko Lammi, Owner at Maagit
        • 10076
        • 1,024 Posts
        Hi,

        probably not related, but just to be sure. On my site I had a strange behaviour of QM caused by this in my CSS
        img {width:100%; height: auto;}


        Maybe danielsl has something in his CSS that causes such behaviour, just a (very) wild guess?


        Fr.
          • 6470
          • 69 Posts
          Quote from: Lammikko at Dec 10, 2009, 02:15 AM

          Let’s try different approach.

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

          Take a look at lines 20-36.

          Try to modify problematic variables (lines) like
          $this->hidesections = $hidesections;


          to

          $this->hidesections = '';




          it didn’t help
          had to reverse to 1.0.1
          no problems so far
          I hope this bug will be fixed in the next release.

          I’m just so surprised that nobody have it, as well as solution
            • 16610
            • 634 Posts
            I don’t really know if this is a bug if MODx 1.0.1 works with your server.

            Seems more like something very specific server configuration problem.

            But I’ll add a note about this to QM+ todo list anyways.
              Mikko Lammi, Owner at Maagit