You are here

README.txt in Login Destination 8

Same filename and directory in other branches
  1. 8.2 README.txt
  2. 5 README.txt
  3. 6.2 README.txt
  4. 6 README.txt
  5. 7 README.txt
The Login Destination module provides a way to customize the destination that a
user is redirected to after logging in, registering to the site, using a
one-time login link or logging out.

The configuration consists of specifying so called login destination rules that
are evaluated when the login or logout takes place. Those rules are evaluated
against certain conditions and the user is taken to the destination specified
by the first matching rule. If the destination is empty, no redirect is
performed aka user is taken to the default destination. You can define pages
from which a user logs in/out to be a matching criterion. You can also select
certain user roles that are matched against those of a user. Note that only one
role has to match in order for the redirect to take place. If no roles are
selected the redirect is performed regardless of user roles.

The destination you specify can be an internal page or an external URL.
Remember to precede the url with http://. You can also use the <front> tag to
redirect to the front page. In case of
login/register form the page from which the user entered the form is treated as
the current page. Note that if you provide your own login/logout links you have
to add the 'current' GET parameter to them so Login Destination knows where
your users come from.

It also possible to set some advanced parameters on the setting page. Every
time in Drupal you can specify the 'destination' GET parameter in url to
redirect the user to a custom page. If you check the option
'Preserve the destination parameter' Login Destination will give priority to
this parameter over its own module settings. However with this option enabled
the redirect from the login block will not work. In some rare cases you can
also redirect the user just after using the one-time login link, before given
the possibility to change their password. Do this by checking the
'Redirect immediately after using one-time login link' option.

File

README.txt
View source
  1. The Login Destination module provides a way to customize the destination that a
  2. user is redirected to after logging in, registering to the site, using a
  3. one-time login link or logging out.
  4. The configuration consists of specifying so called login destination rules that
  5. are evaluated when the login or logout takes place. Those rules are evaluated
  6. against certain conditions and the user is taken to the destination specified
  7. by the first matching rule. If the destination is empty, no redirect is
  8. performed aka user is taken to the default destination. You can define pages
  9. from which a user logs in/out to be a matching criterion. You can also select
  10. certain user roles that are matched against those of a user. Note that only one
  11. role has to match in order for the redirect to take place. If no roles are
  12. selected the redirect is performed regardless of user roles.
  13. The destination you specify can be an internal page or an external URL.
  14. Remember to precede the url with http://. You can also use the tag to
  15. redirect to the front page. In case of
  16. login/register form the page from which the user entered the form is treated as
  17. the current page. Note that if you provide your own login/logout links you have
  18. to add the 'current' GET parameter to them so Login Destination knows where
  19. your users come from.
  20. It also possible to set some advanced parameters on the setting page. Every
  21. time in Drupal you can specify the 'destination' GET parameter in url to
  22. redirect the user to a custom page. If you check the option
  23. 'Preserve the destination parameter' Login Destination will give priority to
  24. this parameter over its own module settings. However with this option enabled
  25. the redirect from the login block will not work. In some rare cases you can
  26. also redirect the user just after using the one-time login link, before given
  27. the possibility to change their password. Do this by checking the
  28. 'Redirect immediately after using one-time login link' option.