Skip to main content
Tweeted twitter.com/StackDrupal/status/829802711738679298
added 357 characters in body
Source Link
NashGC
  • 225
  • 1
  • 8

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error.

Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standard login form.

I spent 2 days for this issue and can't find any solution. Please give me right way how to do that.

I use Bootstrap login module

link to my tab: user/[account:uid]/mytab

This is my rule:

    { "rules_red" : {
"LABEL" : "redirect",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules" ],
"ON" : { "user_login" : [] },
"DO" : [ { "redirect" : { "url" : "user\/[account:uid]\/mytab" } } ]
 }
}

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error.

Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standard login form.

I spent 2 days for this issue and can't find any solution. Please give me right way how to do that.

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error.

Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standard login form.

I spent 2 days for this issue and can't find any solution. Please give me right way how to do that.

I use Bootstrap login module

link to my tab: user/[account:uid]/mytab

This is my rule:

    { "rules_red" : {
"LABEL" : "redirect",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"REQUIRES" : [ "rules" ],
"ON" : { "user_login" : [] },
"DO" : [ { "redirect" : { "url" : "user\/[account:uid]\/mytab" } } ]
 }
}
added 7 characters in body
Source Link
No Sssweat
  • 31.6k
  • 14
  • 55
  • 91

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error. 

Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standartstandard login form. I

I spent 2 daydays for this issue and can't find any solution. Please give me right way how to do that.

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error. Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standart login form. I spent 2 day for this issue and can't find any solution. Please give me right way how to do that.

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error. 

Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standard login form.

I spent 2 days for this issue and can't find any solution. Please give me right way how to do that.

Source Link
NashGC
  • 225
  • 1
  • 8

Redirect after login through different login form

I try redirect user to specific tab on user profile page. I found couple solution how I can do that but it doesn't work if I use login form modules like Super Login, Bootstrap login form, fancy login, etc. When I try redirect user via trigger It give me AJAX error. Then I try use Rules module and it doesn't redirect after login at all. All of it works fine if I login through standart login form. I spent 2 day for this issue and can't find any solution. Please give me right way how to do that.