Skip to main content
2 of 2
added 188 characters in body
googletorp
  • 35.4k
  • 10
  • 69
  • 109

The generic file output of the file field is pretty close to what you are asking. It creates a link with a icon showing the file type and links to the file (download, unless the browser understands the file, like an image would be displayed in the browser instead of being downloaded)

You could with theming/css alter the appearance if you so please.

If you want force download, you have to modify the headers sent to the browser. You can use the File Force Download if this is your goal (Thanks for the tip @nicoz). It seems to be using field formatters, which functions much like the generic file display possible with file fields.

googletorp
  • 35.4k
  • 10
  • 69
  • 109