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

Answered Login Woes

    • 50884
    • 3 Posts
    Hello everyone, I am new to the forum and want to thank everyone for the time taken to help us newbies smiley

    I know front-end login (web context) is a sore subject when it comes to setting up resources and user groups but I have a issue I just can't figure out. I have scoured the web, this forum and going through the documentation over and over thinking I must have missed something.

    I have setup two resource groups, level 1 and level 2, (both with context web load/list/view and resource also load, list, view and both minimum role, 9999) and added one resource to level 1 and a separate resource to level 2. I checked the box 'Add a parallel user group', went and added users to each group. Flushed, cleared cache and logged out all users. On a separate computer, I load the site, which directly goes to the login page, and logged in. I first logged in as a level 1 user and it shows just level 1 resources along with 'common' resources like home and logout, here is where it get very odd.

    I then go to a seperate computer and log in with the level 2 user and only see level 2 resources but... when I click on a 'common' link that is not in a resource, like home, it suddenly shows the level 1 resource link. Also, I have the short code in the header showing "Welcome, User!" and the user changes also when the 'common' link is clicked but if I click the level 2 resource link, the user name changes back to the level 2 user. I have to log back into the manager and flush again to be able to log in again correctly. This is happening on all my pc's and mobile devices.

    Naturally, I tried every combo I can think of, even starting from scratch on a new install and following the tutorial completely, I still have the same results. I must be missing something.

    Please help smiley


    • Revo 2.3.5 installed on a shared server, everything up to date.
    • Login 1.9.0-pl
    • FileDownloadR
    • Wayfinder

    http://aceproductionsupport.com/staff/

    Feel free to log in and try it out;

    Level 1 user: level1
    Level 1 PW: password-01

    Level 2 user: level2
    Level 2 PW: password-01

    I really appreciate any feedback!

    James Scheller

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      I'll bet it's caching issues. Make sure all of your snippets, including the Wayfinder snippet, are called uncached [[!Wayfinder...]]
        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
        • 50884
        • 3 Posts
        Quote from: sottwell at Aug 07, 2015, 01:54 PM
        I'll bet it's caching issues. Make sure all of your snippets, including the Wayfinder snippet, are called uncached [[!Wayfinder...]]

        THANK YOU! It was the wayfinder and the content, seems to be functioning fine now. smiley