We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21759
    • 139 Posts
    After registering an account from the front end using the weblogin snippet , is it possible to edit resources? For example, I have created a site for a streamkeepers group who needs to be able to login from the website and make changes or add content to the site without me have to set up manager users from the backend. The reason for this is that I won’t always be available to do it for them when they want (I have a day job that takes me away from the province some days) and weblogin seems pretty basic. I am using Modx evo 1.04 with the example content installed. The default template is also being used.

    After struggling to understand this document http://bobsguides.com/permissions.html I have tried creating groups with permissions and assigning preferred users to those groups but there doesn’t seem to be an editing option available when I look at the user profile under the manager. Also it seems that resources cannot be open for public viewing and allow web users to edit too. Can I assign a role to a certain user group? If not, what would be the way to go?



    • There are front-end editing snippets, PubKit comes to mind. Depending on what exactly needs to be managed by these users, lists such as FAQ question/answer pairs, you can set up Jot to handle.

      On the other hand, it’s not at all difficult to configure a manager user (or several of them) and the QuickManager plugin to control and limit where a manager user can go and what he can do. A manager user can be blocked from accessing the Manager at all, going to a given page on login, and the QM can be given custom buttons and set up to edit various parts of a page. That’s the route I prefer to go. You can even create a front-end "Manager" page with links to various pages that most commonly need editing, or if you have a MaxiGallery management page or anything else with editing or management tools. And there’s a snippet that will log in a Manager user from the front-end, so he doesn’t have to browse to the Manager login page. The major advantage to this method is that admin pages can be unpublished, and the manager user can still see and edit them, while your regular web visitors can’t get at them.
        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
        • 21759
        • 139 Posts
        Thanks for your reply. I’ve convinced them to use the backend so I’ll set up manager users. They were set up that way with the previous cms that I used to build our original site and no one used it because it was too difficult for them. They have problems with the linking of resources ie:[~12~] among others. I’ve created an extensive help file accessible from the quick manager menu for them so hopefully they will be able to muddle their way through until they get the hang of it. I’ll also create a chunk to place a manager link in the right column under the register button in case they forget the url as they always do. embarrassed
        • I usually put an "admin" link unobtrusively in the footer somewhere to not get regular visitors distracted.

          When editing a resource (in the Manager or QuickEdit), to create a link put the text you want to be the link, then highlight it. The little link icon will be enabled in the editor’s tool bar; click on it to open the insert link dialog. The second field will be "Link List", with a select drop-down to choose the resource you want to link to. Click on the one you want, ant the proper MODx tag will automatically be inserted for you.
            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