Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Redirecting to /node page after successful logged in by using login form in the homepage.
Proposed resolution
Redirect to the same homepage URL ( example.com/ ) instead of redirecting to /node page ( example.com/node )
User interface changes
n/a
API changes
n/a
Comment | File | Size | Author |
---|---|---|---|
#8 | interdiff-2860525-4-8.txt | 734 bytes | selvira |
#8 | 2860525-8.patch | 903 bytes | selvira |
#6 | 2860525-5.patch | 1.12 KB | selvira |
#5 | interdiff-2860525-4-5.txt | 874 bytes | selvira |
#3 | 2860525-3-user_login_form_block_redirect.patch | 870 bytes | conceglieri |
Comments
Comment #2
conceglieri CreditAttribution: conceglieri at La Drupalera by Emergya for La Drupalera by Emergya commentedI'm going to work on this
Comment #3
conceglieri CreditAttribution: conceglieri at La Drupalera by Emergya for La Drupalera by Emergya commentedComment #4
conceglieri CreditAttribution: conceglieri at La Drupalera by Emergya for La Drupalera by Emergya commentedI was working on this problem and this is my solution.
Comment #5
selvira CreditAttribution: selvira at La Drupalera by Emergya for La Drupalera by Emergya commentedIt looks very good @conceglieri! , I tested it and it works except for a detail that I'm going to attach with the interdiff.
greetings.
Comment #6
selvira CreditAttribution: selvira at La Drupalera by Emergya for La Drupalera by Emergya commentedsorry I forgot attach my patch.
Greetings
Comment #7
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedHi @conceglieri, your patch will break the redirect functionality. Every login redirecting to profile page. If I try to access the page /admin/content as guest then logged in, I don't want to redirect to profile page. It should be redirected to /admin/content.
Comment #8
selvira CreditAttribution: selvira at La Drupalera by Emergya for La Drupalera by Emergya commentedHi @syam.mohan you're completely right!, I just added that case in my patch.
Many thanks!.
Comment #9
idebr CreditAttribution: idebr at iO commentedComment #10
selvira CreditAttribution: selvira at La Drupalera by Emergya for La Drupalera by Emergya commentedConcerning this issue as 8.4.x, I'll update the patch in order to apply this patch into 8.4.x version.
Greetings.
Comment #11
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commented@maxfire, any update ?
Comment #12
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedComment #13
selvira CreditAttribution: selvira commentedI'm currently out of my country for work, I am going to assign me this issue and I'll resolve it asap, I'll return starting on May 30.
Regards.
Comment #15
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commented@Flamen_king, any progress regarding this ticket ?
Comment #17
selvira CreditAttribution: selvira commented