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

    MODx Revolution 2.0.8-pl (traditional)

    I have updated my website with lateset modx, and setup the cultureKey & .htaccess file to host two languages. My problem appeares when Im trying to allow access on the english site. When the user tries to login it always logs them as anonymous even for valid users. All users belong to a resource group, the strange behaviour happens only on the english site. Any thoughts on what might be the problem?

    Regards,
    Nick
      • 11351
      • 16 Posts
      Hi,

      Can someone replicate this behaviour? It seems it might be a problem with the [Login] script not logging in users in different context.

      Regards,
      Nick
        • 11351
        • 16 Posts
        Hi,

        Ok I found the problem, when shifting between context the login script requires the contexts:

        [[!Login? &tplType=`modChunk` &contexts=`web,en` &loginTpl=`lgnLoginTpl` ]]

        Lets give access to the english!!! grin

        Great work guys.