Closed (fixed)
Project:
Invite
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 15:36 UTC
Updated:
15 Aug 2010 at 09:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
hefox commentedI needed this functionality, but I went about it a different way. Having to put something for origin in the url is awkward for those returning to those pages, in my opinion. So instead I suggest using drupal_get_destination for the page links and cancel function. Attached is my patch; line numbers probably off since haven't upgraded since roles were fixed (had my own fix for that).
things that'd have to be changed
1) menu defination of the path to like resend, ie invites/withdraw/reg_code (invites/withdraw/%invite)
2) cancel function takes in $invite and doesn't load it later;
3) drupal_goto, replace any path with $_REQEST['destination']
4) Page links contains drupal_get_destination as a query
I have not been able to test it on the page since I have overridden the pages with a view
Comment #2
YK85 commentedsubscribing
Comment #3
YK85 commentedPatching went well. Will continue to try to make sure 'all is good' but not 100% sure what to look for.
Comment #4
YK85 commentedComment #5
YK85 commentedShould have mentioned before that I was able to test and the destination issue was resolved.
I see smk-ka on a roll with committing many patches and hope this makes it in as well! =)
Comment #6
smk-ka commentedCommitted, thanks! Let's keep on rolling :)
Comment #7
YK85 commentedyey! =)