Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
What I look for is the simplest feature one could expect from this module: redirect anyone who logs in to where he was, without any specific condition.
I did not find a snippet to do that, only complex stuff that does not work.
I tried that from one of the scripts I found
return $_SESSION['login_redirect'];
What shall I put in URL destination settings?
Why isn't a simple option on the setting page that would do that without any php code in the admin form?
Comments
Comment #1
jboeger CreditAttribution: jboeger commentedI have the same question.
Site visitor sees job, wants to apply. (using jobsearch module, Drupal 6)
Has to login or create account. After this... want them to be sent back to the job node that they were on (and want to apply for.)
Comment #2
Guru CreditAttribution: Guru commentedTry the solutions here: http://drupal.org/node/225890
--
Sawant
http://twitter.com/sawant
Comment #3
jvieille CreditAttribution: jvieille commentedThanks, I had already look at this page, but could not figure out what they were tlaking about.
This much too complex for a so simple feature.
It took me one minute to write a rule (RULES module) to redirect the user to frontpage after login...
So what is the purpose of this module?
I thought it would provide an easy way to redirect the user after login without writing convoluted snippets and without requiring a powerful module such as RULES.
Comment #4
rsvelko CreditAttribution: rsvelko commented"I thought it would provide an easy way to redirect the user after login without writing convoluted snippets and without requiring a powerful module such as RULES."
I am the new maintainer cause I was pissed off of the 50+ issues here and that the module does not cover the simplest use cases.
Somebody messed things up big time here :)
This will definitely be fixed in the next 2.6 release.
Comment #5
rsvelko CreditAttribution: rsvelko commented