'type' => 'MENU_NORMAL_ITEM',

MENU_NORMAL_ITEM is a constant, therefor it should not be inside of quotes.

Also make sure the user you are logged in as has the administer cronmonitor permission in their role.
Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net
On 3/24/2013 7:39 PM, Anthony wrote:
Dear all,
I have this hook_menu in my cronmonitor.module file

function cronmonitor_menu() {
    $items['admin/config/cronmonitor'] = array(
        'title' => 'Cron Monitor Settings',
        'type' => 'MENU_NORMAL_ITEM',
        'page callback' => 'drupal_get_form',
        'page arguments' => array('cronmonitor_admin_form'),
        'access arguments' => array('administer cronmonitor'),  // in this array is the name of the permission
    );
    return $items;
  }

and in the cronmonitor.info file:

configure = admin/config/cronmonitor

Yet when I click on configure to the left of the misted module on the modules page and after enabling the module I only get to admin/config page rather than admin/config/crononitor page.

We have tried on 3 different sites. This is from a tutorial on daily dose of drupal.

Why don't I get to the cronmonitor page?




--

Anthony Stefan Maciejowski

www.Tony-Mac.com