On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi all I use WebLoginPe and I have
    [!WebLoginPE? &lang=`gr` &type=`simple` &loginFormTpl=`UserLoginTpl` &liHomeId=`50` &loHomeId=`1`!]

    When I log in I am successfully redirected to resource with id=50 and when I log out I am redirected to resource with id=1. So far so good.
    Problem is: When I close the page and type the url again I get the default welcome screen (I think it should be defaultLoginSuccessTpl.html).
    How can I customize this redirect? I need to redirect the user to the resource with id=50.

    Thank you very much in advance,

    • Ok, I found I needed to set $successTpl to a template.