<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"> 'type' => 'MENU_NORMAL_ITEM',<br>
<br>
MENU_NORMAL_ITEM is a constant, therefor it should not be inside
of quotes.<br>
<br>
Also make sure the user you are logged in as has the administer
cronmonitor permission in their role.<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
On 3/24/2013 7:39 PM, Anthony wrote:<br>
</div>
<blockquote
cite="mid:CADEDVdra5ZCA6VX6Lav8kOXbgfPw7iHL3fE5R3+ijx-AmX-=Jg@mail.gmail.com"
type="cite">Dear all,<br>
I have this hook_menu in my cronmonitor.module file<br>
<br>
function cronmonitor_menu() {<br>
$items['<b>admin/config/cronmonitor']</b> = array(<br>
'title' => 'Cron Monitor Settings',<br>
'type' => 'MENU_NORMAL_ITEM',<br>
'page callback' => 'drupal_get_form',<br>
'page arguments' => array('cronmonitor_admin_form'),<br>
'access arguments' => array('administer cronmonitor'),
// in this array is the name of the permission<br>
);<br>
return $items;<br>
}<br>
<br>
and in the <a moz-do-not-send="true"
href="http://cronmonitor.info">cronmonitor.info</a> file: <br>
<br>
configure = admin/config/cronmonitor<br>
<br>
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. <br>
<br>
We have tried on 3 different sites. This is from a tutorial on
daily dose of drupal. <br>
<br>
Why don't I get to the cronmonitor page? <br>
<br>
<br>
<br clear="all">
<br>
-- <br>
<p><b style="font-family:'Lucida
Handwriting',cursive;font-size:13px;background-color:rgb(255,255,255)"><i>Anthony
Stefan Maciejowski</i></b></p>
<p><b style="font-family:'Lucida
Handwriting',cursive;font-size:13px;background-color:rgb(255,255,255)"><i><a
moz-do-not-send="true" href="http://www.Tony-Mac.com"
target="_blank">www.Tony-Mac.com</a></i></b></p>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>