Static files used on websites which could be video, images, pdfs etc.

learn more… | top users | synonyms

2
votes
0answers
38 views

How can I generate commerce file audio preview automatically?

In a store of music files with the Commerce File module, how can I generate an audio preview of that file? Would be perfect if I could use the Rules module for detect the adding of file and SOX ...
2
votes
0answers
258 views

How to set up permissions while using dso as PHP handler?

I'm having all kinds of troubles while setting up my site online. I can't upload new modules and if I try caching this is what I get: Warning: file_put_contents(temporary://filedwZLkV) ...
2
votes
0answers
181 views

Remote upload with a CCK file field in Drupal 7

How can use a CCK file field for uploading a file to another server? Without leaving the Drupal site, the end users click on the file field's "Browse" button. They browse for a file on is local ...
2
votes
0answers
226 views

Dealing with files when file system is set to private download

I am working on a site where the file system security is a bit important. So we have it configured to use a private directory with the private download method is enabled. And this works great for the ...
1
vote
0answers
23 views

Restricting certain files from appearing in search results in Drupal 7

I would like to upload multiple revisions of documents, but only for the Latest ones to be displayed in the search results. For example. I will have the following pages and policies on each: Apples ...
1
vote
0answers
26 views

D7 Ubercart 3.4 not displaying uploaded file

I'm using ubercart for a poster printing process. It allows users to upload files for poster printing. But in the order page where I can see the summary of the order, the section for Upload File ...
1
vote
0answers
60 views

Building a custom file library module

We have a business website I'm trying to migrate to Drupal 7 We have a custom download system that was implemented as a custom page in native PHP - wich is terrible and I want to convert it to a ...
1
vote
0answers
43 views

Add taxonomy terms to files

Is it possible to add a taxonomy term to a file that it is uploaded to the site? If not I imagine that I would need to create a content type to encapsulate the file and tag that.
1
vote
0answers
42 views

How do I output a file from outside public://

I'm outputting an image at urls starting with image-for, e.g. image-for/example/path would choose an appropriate image for example/path. Basically this looks up the first image from a field for the ...
1
vote
0answers
62 views

Clear FormAPI file field in Drupal 7

I've put together a simple FormAPI form including a file field. The user should be able to upload a file and save the form, then come back later having the option to "undo" the upload - making the ...
1
vote
0answers
263 views

Change file upload destination to private in node type

I have several attachments in nodes and when I'm not logged in I can still download them. I have figured out how to configure private uploads but I can't change them to private in my node type. How ...
1
vote
0answers
174 views

File upload with ajax

Is there any example how to set up form element with type file to upload it via AJAX. I want to be same as field image in node type article. thx
1
vote
0answers
964 views

How to programatically create new file / folder in drupal 7 files directory

I tried to create new file/folder programmatically inside drupals site/default/files. But i am getting error "Can't Open file". Here is what I am doing, When my registered user visits certain page, I ...
1
vote
0answers
762 views

In Drupal 7, how do I create a custom rules event for any and all file entities?

I'm having trouble creating a small module to add an Event scenario to Rules using the Rules API. Basically, I'm creating a rule that should detect to see if certain fields of a file entity have ...
1
vote
0answers
98 views

how to log downloaded files

I have a content type with a (private) file field. Content is protected by a node access module. I would like to log (in a particular way) when a user is about to download a file. hook_file_download ...

1 2 3 4 5
15 30 50 per page