README.txt 1.9 KB

12345678910111213141516171819202122232425262728293031
  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 <front> 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.