Logintoboggan currently has a feature to specify the redirect to be used once the user has verified email and been taken to the account edit page.
Sometimes the account edit page is not the best landing page though - there may be info that it's important to try and collect on other profile pages, and we may not really care too much if they change their password or not, or any of the other options.
So it would be great to have a way to specify the landing page after the email validate link has been clicked.
If there's interest in this idea I'd be happy to code it.
Comments
Comment #1
hunmonk commentedi'm confused -- isn't this what "Redirect path on Confirmation" does already??
Comment #2
robert castelo commentedI thought so too, but the behaviour I get is that it goes to the account edit page and sets the redirect for the next page after that.
Comment #3
robert castelo commentedIf that's what "Redirect path on Confirmation" is supposed to do I'll test further to see what's happening.
Comment #4
2c commentedSubscribe. I'm getting this too. The user clicks on the one time validation link and they are taken to the page to edit their password. Then, when they click the submit button to change their password they are taken to the $destination.
Comment #5
hunmonk commentedi believe you're running into this case:
we *may* be able to clobber this code, as i believe the support for query strings in the confirmation setting is supported now, so this could be done by choice with a 'user/%uid/edit?destination=page' approach.
i'd hate to tear that out in a stable branch, though -- i do have a 6.x-2.x branch possibility...
Comment #6
hunmonk commentedwon't do this until another stable branch.
Comment #7
hunmonk commentedthis 'feature' has been causing problems over at #346713: Redirect path on Confirmation is broken and #372884: Validation email links always result in Access Denied message, so i've decided to go ahead and remove it in the 6.x-1.x branch -- see attached patch. i won't mess with this in 5.x, so an upgrade will be necessary to benefit from this enhancement.