Drupal Rules - Actions - Page redirect
METHOD ONE:
Setting most of front site in Drupal for varied user function riding Rules Module
This is an example the principle efficient solution to set most of front site in Drupal for varied user function riding Rules Module depending most normally on Drupal 7. If your haven't acquired the Rules module installed already, get it here (Drupal Rules Module). There are 3 functional concerns in bobbing up Rules - Events, Conditions and Actions. We'll see them for this context.
Conditions
Conditions > Add a condition
Condition = User has function(s)
Enter the URL fee (Eg: for the path www.example.com/dashboard, enter solely "dashboard" with out the quote.)
Check Force Redirect = True
Drupal Rules - Event, Conditions, Actions
The Rule site looks like this. In this rule, we've defined to be aware if the logged in user has the jobs we selected and if confident, redirect the user to the the URL defined.
Select the wished roles. Press and safeguard CTRL key to cross for a couple of roles
Match Roles = All or Any. Select ANY in case you could have selected a couple of roles and you desire Drupal to be aware any of the selected roles. If ALL is chosen here, Drupal will be aware if the logged in user has the complete roles selected in the past applying the rule.
Negate: If you should negate any of the selected roles, which is, to exercise the rule no longer on the selected roles, be aware it. Otherwise, depart it in view that it is pretty.
Save
In this put up, we are going to see the principle efficient solution to set most of Front Page for customers depending most normally on their user roles. Page redirection is possibly to be in straight forward terms achieved during the use of Rules. If you're no longer searching for to do it with regulation, there are modules readily plausible for environment front site for varied user roles. We shall be take a glance at two buildings to set front site for varied user roles - during the use of Rules Module and an extra during the use of "Front Page Module" from Drupal Projects.
Drupal Rules - Event, Condition and Actions for Page Redirect depending most normally on User Role
I hope this put up shall we in anyone in bobbing up regulation for redirecting to a distinctive Front Page in Drupal.
If this put up changed into of guide or if there are any queries suitable to this put up, kindly like, percentage and remark.
I am no longer covering the principle efficient solution to govern the module and use it here. You can manage the module like we manage any different Drupal Module and be aware its configuration site to alternate behavior of the 2 function in your Drupal gadget.
Sponsored Links
Save Changes
Try logging in with a user function we selected in the regulation and test.
When a user with the User Roles defined logs in, Drupal redirect the user to the URL we define in the regulation.
METHOD TWO:
Setting most of front site in Drupal for varied user function riding a "Front Page" module
If you do no longer ought to create regulation for this, that you are able to down load and manage the "Front Page" module from
https://www.drupal.org/project/front
There is possibly to be instances after we would possibly also ought to direct customers depending most normally on their Drupal Roles to most of Front Page. For example, we'd like customers with administrator and content admin roles to go looking a dashboard, and whole customers with "Authenticated User" roles to an extra dashboard specifically designed for those customers. In such occasions, we ought to redirect customers depending most normally on their roles to most of dashboard.
Actions
Add Action
Select the motion to feature = cross for "Page Redirect" not up to System
Drupal Rules - Condition - User Has Roles
Steps for creating rule for environment a distinctive Front Page for a user function:
Login to Drupal as an Administrator
Go to Configuration > Workflows > Rules
Add a kind new rule and call the rule
React on news = "User has logged in"
Save it
METHOD ONE:
Setting most of front site in Drupal for varied user function riding Rules Module
This is an example the principle efficient solution to set most of front site in Drupal for varied user function riding Rules Module depending most normally on Drupal 7. If your haven't acquired the Rules module installed already, get it here (Drupal Rules Module). There are 3 functional concerns in bobbing up Rules - Events, Conditions and Actions. We'll see them for this context.
Conditions
Conditions > Add a condition
Condition = User has function(s)
Enter the URL fee (Eg: for the path www.example.com/dashboard, enter solely "dashboard" with out the quote.)
Check Force Redirect = True
Drupal Rules - Event, Conditions, Actions
The Rule site looks like this. In this rule, we've defined to be aware if the logged in user has the jobs we selected and if confident, redirect the user to the the URL defined.
Select the wished roles. Press and safeguard CTRL key to cross for a couple of roles
Match Roles = All or Any. Select ANY in case you could have selected a couple of roles and you desire Drupal to be aware any of the selected roles. If ALL is chosen here, Drupal will be aware if the logged in user has the complete roles selected in the past applying the rule.
Negate: If you should negate any of the selected roles, which is, to exercise the rule no longer on the selected roles, be aware it. Otherwise, depart it in view that it is pretty.
Save
In this put up, we are going to see the principle efficient solution to set most of Front Page for customers depending most normally on their user roles. Page redirection is possibly to be in straight forward terms achieved during the use of Rules. If you're no longer searching for to do it with regulation, there are modules readily plausible for environment front site for varied user roles. We shall be take a glance at two buildings to set front site for varied user roles - during the use of Rules Module and an extra during the use of "Front Page Module" from Drupal Projects.
Drupal Rules - Event, Condition and Actions for Page Redirect depending most normally on User Role
I hope this put up shall we in anyone in bobbing up regulation for redirecting to a distinctive Front Page in Drupal.
If this put up changed into of guide or if there are any queries suitable to this put up, kindly like, percentage and remark.
I am no longer covering the principle efficient solution to govern the module and use it here. You can manage the module like we manage any different Drupal Module and be aware its configuration site to alternate behavior of the 2 function in your Drupal gadget.
Sponsored Links
Save Changes
Try logging in with a user function we selected in the regulation and test.
When a user with the User Roles defined logs in, Drupal redirect the user to the URL we define in the regulation.
METHOD TWO:
Setting most of front site in Drupal for varied user function riding a "Front Page" module
If you do no longer ought to create regulation for this, that you are able to down load and manage the "Front Page" module from
https://www.drupal.org/project/front
There is possibly to be instances after we would possibly also ought to direct customers depending most normally on their Drupal Roles to most of Front Page. For example, we'd like customers with administrator and content admin roles to go looking a dashboard, and whole customers with "Authenticated User" roles to an extra dashboard specifically designed for those customers. In such occasions, we ought to redirect customers depending most normally on their roles to most of dashboard.
Actions
Add Action
Select the motion to feature = cross for "Page Redirect" not up to System
Drupal Rules - Condition - User Has Roles
Steps for creating rule for environment a distinctive Front Page for a user function:
Login to Drupal as an Administrator
Go to Configuration > Workflows > Rules
Add a kind new rule and call the rule
React on news = "User has logged in"
Save it

Image source: https://farm6.staticflickr.com/5602/15819415871_c07377ef91_z.jpg
Labels:
Blogging Tips
Thanks for reading Drupal How To Redirect Users to Front Page Based on Different User Role. Please share...!
0 Comment for "Drupal How To Redirect Users to Front Page Based on Different User Role"