Looking for someone to build a module or the add the possibility to Drupal in some way or another to allow displaying via a "view" the files in a specified directory. The files will be placed there via FTP. All other functions of Drupal must apply to this "view" such as rights and permissions, users, display options....

Please drop me a line if you are interested and we can discuss.

Thanks,
Kyle

Comments

drupalexpert_amit’s picture

For it to be a Drupal VIEW > the filenames/locations need to be imported into drupal database (possibly as custom nodes)

An easier solution would be:
1. create a custom block > set permissions etc > ensure that it comes on your desired node in display options in the main content area
2. Write custom PHP code in the block to parse a directory for pdf files and display it

$dir = opendir ("files/pdf_folder/"); 
while (false !== ($file = readdir($dir))) {
   if (strpos($file, '.pdf',1)) {
   echo "$file <br />";
   }
}

Hope that helps... lets keep drupal simple :)

Regards,
Amit
Email: drupalexpertamit@gmail.com