[drupal-devel] [feature] Easily persist destinations

Kobus drupal-devel at drupal.org
Thu Jul 7 05:41:59 UTC 2005


Issue status update for 
http://drupal.org/node/26467
Post a follow up: 
http://drupal.org/project/comments/add/26467

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     feature requests
 Priority:     normal
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   Kobus
 Status:       patch

Not sure if I understand this correctly, but from my scan of the code it
seems like it. If I do understand correctly:


1. User clicks on an e-mail or web link to an article on a page.
2. Authentication is required.
3. User gets redirected to log in.
4. User logs in.
5. User gets redirected to the original article they requested.


If that is what this patch enables me to do, I am +20 for it :)


Regards,


Kobus




Kobus



Previous comments:
------------------------------------------------------------------------

July 6, 2005 - 20:01 : drumm

Attachment: http://drupal.org/files/issues/common.inc_4.diff (1.44 KB)

I think drupal_get_destination() should keep track of the origionally
set destination. With this patch drupal_get_destination() will return
the current destination instead of the current page if it exists.




------------------------------------------------------------------------

July 6, 2005 - 20:10 : drumm

setting status to patch




------------------------------------------------------------------------

July 6, 2005 - 21:14 : drumm

Attachment: http://drupal.org/files/issues/common.inc_5.diff (1.47 KB)

More clear help text. Hopefully the patch is more self-explanatory now.







More information about the drupal-devel mailing list