[support] D7Access Arguments

Earnie Boyd earnie at users.sourceforge.net
Mon May 7 13:20:42 UTC 2012


On Mon, May 7, 2012 at 8:41 AM, Fred Jones <fredthejonester at gmail.com> wrote:
>> Try changing the name of the callback too from front to anything like your
>> name
>> front is used in drupal as <front> to refer to front page.
>
> Yes but front is not used in Drupal as a URL anywhere. I have used
> front as URL in other menus as well and it works fine. I tried your
> idea anyway and it doesn't help.

The access argument isn't 'View published content' but instead is
'access content'.  The 'View published content' is the 'title' of
'access content'.  See modules/node/node.module for the
hook_permmission implementation.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd


More information about the support mailing list