Il 29/04/2011 17:45, Carl Wiedemann ha scritto:
I don't think you are using the 'page arguments' parameter correctly. Check out the documentation on hook_menu http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_me... or peruse other modules' implementations.
I would also suggest that your effort be posted as an issue to the Private Download issue queue and you post a patch such that you may contribute to the existing body of work. http://drupal.org/project/issues/search/private_download
The page arguments were fine :)
Turns out there was something weird going on with the system/files url path. Once i changed that, the module started working as intended.
I will post a feature request asking for multiple private directories support (with multiple permissions), but i had to hack something up in the meantime.
Have a nice weekend!