You are here

function realname_registration_help in Realname registration 7

Same name and namespace in other branches
  1. 6.2 realname_registration.module \realname_registration_help()
  2. 7.2 realname_registration.module \realname_registration_help()

Implement hook_help().

File

./realname_registration.module, line 13
For using real names during registration/

Code

function realname_registration_help($path, $arg) {
  switch ($path) {
    case 'admin/help#realname_registration':
      $output = '<h3>' . t('Realname registration') . '</h3>';
      $output .= '<h4>' . t('Summary') . '</h4>';
      $output .= '<p>' . t('Usernames are made of a combination of the first name field and last name field. The first name and last name of the user will be stored in your provided user fields.') . '</p>';
      $output .= '<h4>' . t('Settings') . '</h4>';
      $output .= '<dl>';
      $output .= '<dt><strong>' . t('Create your first name and last name fields') . '</strong></dt>';
      $output .= '<dd>' . t('(If you already have these fields, take note of the names and skip this step)') . '</dd>';
      $output .= '<dd>' . t('Navigate to <a href="../config/people/accounts/fields">admin/config/people/accounts/fields</a> and create a text field that will hold the user\'s first name.') . ' ';
      $output .= t('While editing the field, ensure that the Required field option is checked, also to Display on the registration form.') . ' ';
      $output .= t('Repeat this step for the last name field. Be sure to take note of what you have named the new fields.') . '</dd>';
      $output .= '<dd><a href="../config/people/accounts/fields">' . t('Jump to Managing user fields') . '</a></dd>';
      $output .= '</dl>';
      $output .= '<dl>';
      $output .= '<dt><strong>' . t('Configure the Realname registration module') . '</strong></dt>';
      $output .= '<dd>' . t('Now that you have first name and last name fields associated with your users, you can map these fields in Realname registration.') . ' ';
      $output .= t('Type the field names that you have created in the appropriate textfields, and select your other options and click Submit.') . '</dd>';
      $output .= '<dd><a href="../config/people/realname_registration">' . t('Jump to Realname registration configuration') . '</a></dd>';
      $output .= '</dl>';
      return $output;
  }
}