[support] issue with custom module menu path

Metzler, David metzlerd at evergreen.edu
Thu Sep 27 15:39:38 UTC 2012


My guess here is that you are operating as a user other than user 1, but
one with full administrative privileges.... 

 

In Drupal 6, the appropriate access argument is 'administer nodes', not
'administer content'.

 

As always, clear caches after any change to the menu hook. 


Dave

 

________________________________

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Mutuku Ndeti
Sent: Wednesday, September 26, 2012 11:20 PM
To: support at drupal.org
Subject: Re: [support] issue with custom module menu path

 

My code is as before

$items['admin/mycustom_menu'] = array(

    'title' => 'mycustom menu Settings',

    'page callback' => 'my_custom_page',

    'access arguments' => array('administer content'),

    'type' => MENU_NORMAL_ITEM,

  );

I have cleared cache and checked again. 



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120927/12e03211/attachment.html 


More information about the support mailing list