This is more question than an issue.
I have uploaded text files (.txt). The text of these files will be displayed in the browser window if I klick on the download link. I would like to download these files directly to the disk instead of displaying it in the browser window.
I tried to integrated the modules http://drupal.org/project/file_force and http://drupal.org/project/download_file but I was not able solve my issues.
Does anyone know how to enable this direct download?
Thank you!
Comments
Comment #1
JCB commentedHi Guys,
Here is how I got my Filedepot to supply popup box to save file instead of opening in same window.
First let me state that I think these 3 posts are all experiencing the same issue.
http://drupal.org/node/1543430
http://drupal.org/node/979482
http://drupal.org/node/966256
Here is my solution (derived from http://drupal.org/node/966256)
1. edit the filedepot.module file
2. Replace
$inline_types = variable_get('filefield_inline_types', array('^text/', '^image/', 'flash$'));with
$inline_types = ''3. Make sure you get both instances in the filedepot.module file
This worked for me.
Comment #2
_timpatrick commentedMoving to fixed unless any new issues arise
Comment #4
subhojit777I guess it would be good if we make this change in the module itself.