We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10525
    • 247 Posts
    I've just upgraded a 2.2.15 site to 2.3.2.

    In it I have an admin user set up with a slightly modified Content Editor Access Policy. I have deselected the "help . . . . . To view the Help page." option. However the wee question mark in a round white dot still appears at the right-hand end of the menu.

    If I am logged in as this admin user and click on the question mark I get an error:
    Error!
    Access denied.
    (under URL: www.mysite.com/manager/?a=help)

    Can anyone tell me how to make the question mark disapear for this user's menu?

    Thanks.
      • 49560
      • 28 Posts
      I suppose you mean the MODX Support button.
      If so:

      • Go to the Admin dropdown
      • Choose Menus (should be at "/manager/?a=system/action")
      • Delete the last Menupoint "About MODX (core:help)"
        Alex G - Application Development Apprentice | New MODX User
        codeblick media
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        It would be better to go into that user's group's Policy and uncheck the "menu_support" item. [ed. note: sottwell last edited this post 11 years, 9 months ago.]
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 49560
          • 28 Posts
          Nice to know. I just moved it into another category.
            Alex G - Application Development Apprentice | New MODX User
            codeblick media
            • 10525
            • 247 Posts
            Alex, Susan, thanks both for your replies.

            Alex I can see your Menupoint, although it is slightly different in my v2.3.2: "About(core:help)" and shows under "usernav", the 3rd item down the menu tree in http://[mydomain]/manager/?a=system/action.

            However, I would like to remove it just for that user group, as Susan suggests. But the "menu_support" item is already unchecked. I've checked that the user is in the correct group, which uses this ACL. So now I'm confused. Any other possible solutions?..
              • 3749
              • 24,544 Posts
              Possibly the user is getting that menu_support permission somewhere else, or you haven't yet flushed permissions and sessions. A user who doesn't have that permission shouldn't see the question mark.

              You can check to see if the user really has the permission or not by creating a snippet called CheckPermission:

              [[!CheckPermission? &permission=`menu_support`]]



              /* CheckPermission Snippet */
              
              $perm = $modx->getOption('permission', $scriptProperties, '');
              
              $hasPermission = $modx->checkPermission(trim($perm))? 'YES' : 'NO';
              
              return '<p> Checking Current user for permission: ' . $perm . ' -- ' . $hasPermission . '</p>'; 




                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting