Under Drupal 6.2, the menu paths created by flickr_tags are inaccessible because they don't have access attributes set. Going to any flickr_tags path (flickr/%user/tags, flickr/%user/tags/cloud, flickr/%user/tags/list, flickr/%user/tags/%flickr_tag) results in an "access denied" page--even as uid 1.
I'm attaching a patch that adds the same access attributes as the flickr.module menu items. Hope this helps!
before:
$items['flickr/%user/tags'] = array(
'title' => 'Tags',
'description' => 'Flickr main tag cloud page',
'type' => MENU_LOCAL_TASK,
'page callback' => 'flickr_tags_cloud',
'page arguments' => array(1),
);
after:
$items['flickr/%user/tags'] = array(
'title' => 'Tags',
'description' => 'Flickr main tag cloud page',
'type' => MENU_LOCAL_TASK,
'page callback' => 'flickr_tags_cloud',
'page arguments' => array(1),
'access callback' => 'flickr_photos_access',
'access arguments' => array(1),
);
Comments
Comment #1
grendzy commentedI had the same problem with flickr_sets_menu(). Here's another patch.
Comment #2
drewish commentedthe tasks shouldn't need the access arguments...
Comment #3
Anonymous (not verified) commentedComment #4
Anonymous (not verified) commentedPatches flickr_tags_menu.patch and flickr_269373.patch have been reviewed , tested and committed.
Thanks Paul
Comment #5
Anonymous (not verified) commentedComment #6
Anonymous (not verified) commented