You are here

README.txt in Welcome Username 7

Same filename and directory in other branches
  1. 8 README.txt
This module renders a block that shows the login form to anonymous users
and a "welcome username" with logout link block to authenticated users.

The string "Welcome" and "logout" are translatable with the t() function.

To change the strings "Welcome" and "logout" save these variables in the
variable table:
welcome_username_welcome_string
welcome_username_logout_string

To change "Welcome" to "Hi":
$ drush vset welcome_username_welcome_string "Hi"

To change "logout" to "Click here to logout"
$ drush vset welcome_username_logout_string "Click here to logout"

File

README.txt
View source
  1. This module renders a block that shows the login form to anonymous users
  2. and a "welcome username" with logout link block to authenticated users.
  3. The string "Welcome" and "logout" are translatable with the t() function.
  4. To change the strings "Welcome" and "logout" save these variables in the
  5. variable table:
  6. welcome_username_welcome_string
  7. welcome_username_logout_string
  8. To change "Welcome" to "Hi":
  9. $ drush vset welcome_username_welcome_string "Hi"
  10. To change "logout" to "Click here to logout"
  11. $ drush vset welcome_username_logout_string "Click here to logout"