As far as I can see, everything in the flickr module works, except for viewing the photoset pages. I can visit site /flickr and flickr/5. However, flickr/5/sets and flickr/5/sets/list yield an access denied error. Even user 1 cannot access the page. Thoughts?

Comments

theabacus’s picture

Figured it out. I changed the flickr_sets_menu hook to...

function flickr_sets_menu() {
  $items['flickr/%user/sets'] = array(
    'title' => 'Sets',
    'description' => 'Display the Flickr photosets for the specified user',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'flickr_sets_photosets',
    'page arguments' => array(1),
    'access callback' => 'flickr_photos_access', //Access Callback added.
    'access arguments' => array(1), //Access Argument added.
  );
  $items['flickr/%user/sets/list'] = array(
    'title' => 'List',
    'description' => 'Display the Flickr photosets for the specified user',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'access callback' => 'flickr_photos_access', //Access Callback added.
    'access arguments' => array(1), //Access Argument added.
  );
Anonymous’s picture

Status: Active » Closed (fixed)

The access permission change to flickr/%user/sets changes are now in CVS HEAD.
Best, Paul