I'm working on a module to integrate SSP (http://slideshowpro.net/) with drupal/image, however, why do I always get "access denied" with this piece of code? (even when loggged in as user/1)

function image2ssp_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'image2ssp.xml',
      'title' => t('gen_xml'),
      'callback' => 'image2ssp_gen_xml',
      'access' => TRUE,
      'type' => 'MENU_CALLBACK');
  }
  return $items;
}

I don't want any extra access options in "access controll" at this point.

//Johan

Comments

forngren’s picture

Follow up: This problem solved it self after a few days, I don't use Drupal's built-in cache and tried to reset the reset the browser's cache, but it did't work. But suddenly, after a few days it started to work like a charm Strange.

(when will it be possible to edit comments?)

deville’s picture

So how are you doing with this integration? I'm in need of something similar...

dcoder’s picture

It's available this module already? I need to integrate SSP and drupal and this will be really great..
any ideas? alternatives?