function realname_registration_help in Realname registration 6.2
Same name and namespace in other branches
- 7.2 realname_registration.module \realname_registration_help()
- 7 realname_registration.module \realname_registration_help()
Implementation of hook_help().
File
- ./
realname_registration.module, line 36 - For using real names during registration.
Code
function realname_registration_help($path, $arg) {
switch ($path) {
case 'admin/help#realname_registration':
$output .= '<h4>' . t('Summary') . '</h4>';
$output .= '<p>' . t('Usernames are made of a combination of the first name, middle name, and last name field. The values will be stored in your provided user fields.') . '</p>';
$output .= '<h4>' . t('Settings') . '</h4>';
$output .= '<dl>';
$output .= '<dt><strong>' . t('Using the core Profile module') . '</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="../user/profile">admin/user/profile</a> and create a text field that will hold the users 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. The middle name field is optional, and does not need to be required. Be sure to take note of what you have named the new fields.') . '</dd>';
$output .= '<dd><a href="../user/profile">' . t('Manage user fields') . ' →</a></dd>';
if (module_exists('content_profile_registration')) {
$output .= '<dt><strong>' . t('Using the Content profile module') . '</strong></dt>';
$output .= '<dd>' . t('If you have Content profile installed, you will have additional fieldsets on the configuration page.') . ' ';
$output .= t('Create your field names so that the first and last names are required. The middle name field is always optional.') . ' ';
$output .= t('Ensure that your Content profile type is used during registration.') . ' ';
$output .= t('To use the fields in Realname registration, check the box saying use this module for storage and supply the machine name of the corresponding Content profile type.') . '</dd>';
$output .= '<dd><a href="../content/types">' . t('Manage Content types') . ' →</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, middle 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="../user/realname_registration">' . t('Configure Realname registration') . ' →</a></dd>';
$output .= '</dl>';
$output .= '<p><strong>' . t('Project resources') . '</strong></p>';
$output .= '<ul>';
$output .= '<li><a href="http://drupal.org/project/realname_registration">' . t('Project home') . '</a></li>';
$output .= '<li><a href="http://drupal.org/node/1344864">' . t('Documentation') . '</a></li>';
$output .= '<li><a href="http://drupal.org/project/issues/realname_registration?status=All&categories=All">' . t('Issue tracker') . '</a></li>';
$output .= '</ul>';
return $output;
}
}