This is a great module! However, it applys to all allowed extensions, let's say to all PDFs, but that is not always the case. So, it would be nice if it would apply only to PDF's stored in a certain directory such as sites/default/files/download_directory/my_file.pdf. Is that possible?

Comments

Valdes14 created an issue. See original summary.

digdanlow’s picture

In the attached patch I added a new textarea field where, after you set the mandatory file extensions, you can set the directories to which files this will apply.

valdes14’s picture

@digdanlow: Thank you very much. It works like a charm.

rahulchauhan_ec3’s picture

Status: Active » Fixed

Marking as fixed
thanks @digdanlow and @Valdes14

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.