We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26026
    • 2 Posts
    I only wanted QE to show for admin users. Changing output.class.inc.php does the trick for me:

    if ($modx->isMemberOfWebGroup(array(’admins’)))
    {
    $html_top =<<<EOD

    <!-- Start QuickEdit toolbar -->
    <div id="QE_Toolbar">
    <h1>{$QE_lang[’QE_title’]}</h1>
    <ul>
    {$menus_html}
    </ul>
    </div>
    <!-- End QuickEdit toolbar -->

    EOD;
    }
    else
    {
    $html_top =<<<EOD


    EOD;
    }

    This will result in some JS errors in QuickEdit.js--for every JavaScript error I just put an "if(this.toolbar)" (or whatever it was erroring on) before the faulting line.