We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Using MODX Add-ons
Search
Login redirect
380 Posts
sparky
Reply #1,
15 years, 11 months ago
On
http://rtfm.modx.com/display/ADDON/Login
I’m using a &postHooks which has disabled loginResourceId from working. This seems fair enough but what’s the best method to redirect at the end of my &postHooks snippet?
Is it header("Location: myURL");
or is there a modx recommended way?
Thanks
Mark
4,149 Posts
splittingred
Reply #2,
15 years, 11 months ago
Did you return true in your post hook?
shaun mccormick
| bigcommerce mgr of software engineering, former modx co-architect
|
github
|
splittingred.com
380 Posts
sparky
Reply #3,
15 years, 11 months ago
No.
But now I have it works.
Thanks