I am getting ready to write a snippet to handle this but wondered if there was an easy way to do this that I am just overlooking.
When a web user signs on to the web site, I want them to be referred back to the referring page which the user clicked "Sign In". How do I change "loginhomeid" to equal the referring document id instead of a static, hard-coded id?
-
MODX Staff
- 12,272 Posts
Hmmm ... that sounds like it should be the default behavior of the login snippet ...
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
yeah, I thought it would be default behavior also, but it always takes the signed in user back to the home page if I leave the loginhomeid parameter empty.