My second module but problems with this one. The module is enabled but nothing appears under permissions and as a resultonly the super user can access this module. I have deleted and re-added run update.php and tried all sorts but I cannot get this module to appear under permissions.
Can anyone help?
/***************************************************************************/
/** 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;
}
/***************************************************************************/