We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41149
    • 43 Posts
    Hi all,

    I am curious as to how to remove the "Add Another" feature whilst editing a Resource for an ACL. If you don't know what I mean, then here's a graphic in the attachments that outlines the "Add Another" feature. I want to remove this feature because I have an ACL setup for a client, and when they try to save their documents, they are defaulted to "Add Another", well for specific purposes, they are not allowed to create Resources. So this outputs an error.

    How do I remove this via an ACL?

    Thank you,
    Aaron
      The web is our sandbox, so let's develop a castle.
      • 42967
      • 143 Posts
      You can have a permission that stops a user group creating new resources, but I don't think this hides the button.

      You could hide the button with css:

      Duplicate the manager theme (manager/templates/default), then add the following to index.css:

      .icon-list-new {display:none}

      change the manager theme to your new one in system settings / backend-manager / manager theme

        Eighth day design
        Design agency with offices in Edinburgh and Brighton
        • 40045
        • 534 Posts
        Thanks for that one =)!

        This should probably be hidden through ACLs too I think, bug?
          • 3749
          • 24,544 Posts
          If they click on another of the three icons, that should stop since the setting is sticky.
            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
            • 41149
            • 43 Posts
            Quote from: eighthday at Mar 03, 2013, 10:37 PM
            You can have a permission that stops a user group creating new resources, but I don't think this hides the button.

            You could hide the button with css:

            Duplicate the manager theme (manager/templates/default), then add the following to index.css:

            .icon-list-new {display:none}

            change the manager theme to your new one in system settings / backend-manager / manager theme


            Thank you so much for this. This did the job.

            Quote from: BobRay at Mar 04, 2013, 07:10 AM
            If they click on another of the three icons, that should stop since the setting is sticky.

            This helped as well! Thank you!
              The web is our sandbox, so let's develop a castle.