On the Login page, there are 3 tabs i.e. "Create new account", "Log in", and "Request new password". Are there modules out there that let us add more? If not, how can I achieve this manually?
Cheers
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityOn the Login page, there are 3 tabs i.e. "Create new account", "Log in", and "Request new password". Are there modules out there that let us add more? If not, how can I achieve this manually?
Cheers
You can use hook_menu with type as 'MENU_LOCAL_TASK'. So that your menu path will be like 'user/your_path'.
Ex:
function my_module_menu($items) {
$items['user/my-path] = array(
'title' => 'Some title'
'page callback => 'your callback',
'type' => MENU_LOCAL_TASK,
);
return $items;
}
If you are using views to print this page, you can set menu as Menu tab in path options.