[support] issue with custom module menu path

Vaibhav Jain in.vaibhavjain at gmail.com
Thu Sep 27 05:24:04 UTC 2012


are you flushing caches after you create a menu, it is kinda mandatory to
flush caches.

On Thu, Sep 27, 2012 at 10:52 AM, Mutuku Ndeti <jnmutuku at gmail.com> wrote:

> Hi,
>
> I tried that but it did not work.  I am using d6.
>
> On 27 September 2012 06:31, Vaibhav Jain <in.vaibhavjain at gmail.com> wrote:
>
>> I believe, you should try changing the path from admin/xxx to something
>> like xxx
>> I also faced similar issue, and got this rectified.
>>
>> Same issue I faced on admin/people/xxx menu too.
>>
>> On Thu, Sep 27, 2012 at 2:31 AM, Mutuku Ndeti <jnmutuku at gmail.com> wrote:
>>
>>>  Hi,
>>>
>>> when I type the url mydomain.com/admin/mycustom_menu ,  I get access
>>> denied error
>>>
>>> My hook_menu code is
>>>
>>> $items['admin/mycustom_menu'] = array(
>>>     'title' => 'mycustom menu Settings',
>>>     'page callback' => 'my_custom_page',
>>>     'access arguments' => array('administer content'),
>>>     'type' => MENU_NORMAL_ITEM,
>>>   );
>>>
>>> --
>>> Tel:254- 722-490994
>>> www.agile.co.ke | www.jipambe.com
>>>
>>>
>>>
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>
>>
>>
>>
>> --
>> Regards,
>> Vaibhav Jain
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
>
> --
> Tel:254- 722-490994
> www.agile.co.ke | www.jipambe.com
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Regards,
Vaibhav Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120927/c8869ca6/attachment.html 


More information about the support mailing list