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

    I would like to be able to understand how to login to the manager from a web site link or login form on the site. I am getting a little confused on how the logins work.

    I ahve tried to use these

    LoginLogoutLink (32) - A dynamic manager login/logout link
    ManagerLogin (33)
    WebLogin (15) - 1.0 Web User Login Snippet.
    WebSignup (16) - 1.1 Web User Signup Snippet.
    whoami (34)

    but the all bring me back to a page no to the manager. I get to the manager through the domainname.com/manager.
    What I am wanting to do is to ave a link on pages of the site that will bring them to a page and allow them to login.

    I ahve read so much that I am confused as what to do.

    Please help straighten my think out

    Jeff
    • Why not use a weblink document with its URL pointing to yourdomain.com/manager? The whole point of the front-end manager login scripts is so editors can login to use QuickEdit from the front end, and not get into the Manager at all.
        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
        • 32347
        • 143 Posts
        The whole point of the front-end manager login scripts is so editors can login to use QuickEdit from the front end, and not get into the Manager at all. How do I do that? ANy of what I hav tried yet have not produced anything that you have described.


        What would I do if I want someone who is a manager with a limited profile and I also had a web login say for a blog could I use the same login form?

        Off the subject I am going to set up a blog i there any tutorials on the best way to set i up in modx?

        Thank you for the help
          • 7231
          • 4,205 Posts
          You can setup the manager user to redirect to a specific front end page by setting the ’Manager Login Startup’ parameter for that user. To block the user from entering the manager interface there is the parameter ’Manager Interface Access’ option...but I have never been able to get this to work (but I have not checked it recently).

          If you really want to block the user from entering the manager you could create a plugin that would check the user group of the logged in user and redirect if is in a specific group. I have never done this but it should work.
            [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

            Something is happening here, but you don't know what it is.
            Do you, Mr. Jones? - [bob dylan]
            • 32347
            • 143 Posts
            I figured out how to make the ManagerLogin snippet direct me to the manager interface. I set up the managers with appropriate permissions and when it ask for Enter the ID of the document you want to send the user to after he/she has logged into the manager... place the id for the link generated for the login manager link.

            The link you will generate by click on the creat web link and paste this url http://www.yourdomainname.com/manager/in the web link and fill out apropriate info. Make sure that you have the show in menu unchecked so it will not show up in your menu.

            Then test it by login out go to the manager login page use a manager login and if it passes then it should take you to the manager interface.