My module all works apart from it does not appear in the permissions screen and is therefore only available to the super-user. I suspect an error or corruption in the database as I have tried everything.
Can anyone give me some guidance?
Where should I look?
Is there anything wrong with the code below?
/***************************************************************************/
/** MENU - required **/
/***************************************************************************/
function turnpoint_menu() {
$items = array();
$items['turnpoint_record'] = array(
'title' => '',
'page callback' => 'turnpoint_record',
'page arguments' => array('turnpoint_record', $form_state),
'type' => MENU_CALLBACK,
'access arguments' => array('access turnpoint')
);
$items['task_planner'] = array(
'title' => 'Task Planner',
'page callback' => 'task_planner',
'page arguments' => array('task_planner', $form_state),
'type' => MENU_CALLBACK,
'access arguments' => array('access turnpoint')
);
return $items;
}
/***************************************************************************/