I am using the following code to include a custom tab for my node types:
function mymodule_menu(){
$items['node/%node/register'] = array(
'page arguments' => array(1),
'access arguments' => array('access content'),
'type' => MENU_LOCAL_TASK,
'title' => 'Register',
);
return $items;
}
This has the effect of including a register tab for every node type. However, I need to include that tab for only page types and exclude it on all other type like article types etc.
What other directions can I consider?