We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32046
    • 75 Posts
    I’ve set up WebLoginPE in Evo for the first time - bit mind-boggling how web-users work in modx.
    I can show certain pages only to certain users, I’ve got that bit sussed. but now I want to do the opposite - show a page only to someone new to the site who does NOT have a user profile in the modx database. In this case I want to restrict the user registration page - obviously registered users have no need to see this form and I don’t want them to have no access to it. I can’t see how to restrict to only unregistered users when the restriction systems works on allowing access to user groups. Can I create a group of non-existant users to acheive this or am I looking as this completely wrong??
    Any tips appreciated...
      • 3749
      • 24,544 Posts
      The Personalize snippet will show one chunk to logged in users and another to everyone else. You could use it to show a different menu to each group (by putting a different Wayfinder tag in each chunk).

      Another way is to put a link to the registration page on the login page. Make the registration page published but set to not show in menus. You could use the a snippet on the private pages’ template that redirects not-logged-in users to the login page.
        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