We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30711
    • 70 Posts
    I have found lots of useful tutorials and stuff through this forum and I have been able to build my own website. I will run the site with my friend and adding content through the back end is not a problem for me, but it is for my friend. What would be the best way to add another page ( www.?.com/admin) where my friend could login and add/edit/delete articles with forms or editor? I don’t need ready solution, just point me to a tutorial or right direction how to do this. Thanks for help.

    Tommy
    • Check out FDM, Front-end Document Manager.
        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
        • 16278
        • 928 Posts
        @tommy: If it’s a simple case of adding pages with title, body and optional intro, you might find NewsPublisher suits your needs. It’s part of the standard install. It’s old and creaky, but it still works. You’re only in trouble if you want to add custom fields for your user to edit (e.g. tags?). Look for tutorials on "creating a blog" in the wiki (beware of out-of-date parameters for Ditto etc.)

        I was looking for a more flexible front-end manager earlier this year, and considered FDM (in the forum at http://modxcms.com/forums/index.php/topic,14977.0.html), but I didn’t get on with it very well, so I worked on my own solution, using the DocManager library (http://modxcms.com/extras.html?view=package/view&package=108) to do the CRUD (at last! a chance to use my newly-acquired acronym!), along with custom code for the pages I needed. (NB I think I had to change the PHP opening tags from <? to <?php in this code) I aim to document this soon, if you’re not in a hurry. (Soon can mean quite long time, of course...)

        If you really want to wade through the FDM posts, I suggest you hit the Print tab and download the lot as a text file.

        You might also consider ManagerManager, to customize the admin interface and make it so your non-techie user doesn’t have to be faced with frightening techie things. I haven’t gone into it in depth myself, but I believe many developers here have found it a good way of making the back end usable for their clients. Basically, it lets you cut out what your user doesn’t need and leave them with what they do need, and saves you a lot of time and effort creating forms etc. in the front end.
        smiley KP
          • 10449
          • 956 Posts
          adding content through the back end is not a problem for me, but it is for my friend
          This doesn’t have to be the case. Did your friend only see the default manager, i.e. the full interface with all the options and menus?

          You can try to set up a special, a.k.a. limited, manager-user. One that basically is only allowed to edit documents.
          Then, you can create a special user-role, and document group for this manager. When your friend logs in, he is not distracted by features he will never understand or use. You can even customize it in a way that he will only see "his" own documents and folders - every other content is hidden in the tree. Furthermore, if this "dumbed-down" manager view is still confusing him, you can tell him to use QuickEdit; i.e. edit through the frontend.

          The big advantage of such a setup is that you don’t need to install any additional plugins / snippets / modules. All the necessary pieces of the puzzle are already pre-installed in a regular modx install (= user authentication / roles system + QuickEdit. Perhaps also ManagerLogin, which allows login to a manager-account via frontend: http://modxcms.com/extras.html?view=package/view&package=254).
            • 30711
            • 70 Posts
            Thank you all, "dumbed-down" manager was exactly the way to go and it’s working beautifully for our purposes. Thanks smiley

            Tommy