We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 52804
    • 36 Posts
    I've seen posts going back several years about this issue and have tried lots of things but still not found a way to make it work, so would be grateful for any guidance...

    The loginResourceId & logoutResourceId don't seem to have any effect. Whatever values I set, it just redirects back to the login page Here's my snippet...

    [[!Login? &tplType=`modChunk` &loginTpl=`myloginTpl` &loginResourceId=`22` &logoutResourceId=`23`]]
    


    Thanks in advance!

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

      • 17301
      • 932 Posts
      Does it log the user in after redirecting back to the homepage? Anything in your error log?
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 52804
        • 36 Posts
        Quote from: lkfranklin at Sep 27, 2016, 06:06 AM
        Does it log the user in after redirecting back to the homepage? Anything in your error log?

        Yes it does log the user in and there is nothing in the error log
        • discuss.answer
          • 52804
          • 36 Posts
          I figured it out...

          There was a second Login snippet in the top menu of the site which I'd completely forgotten about! It was set with different parameters and so was conflicting with the one I'm working with. Just removed it and all is well...