Help on D7 Download file

Events happening in the community are now at Drupal community events on www.drupal.org.
arnoldB's picture

Hi all,

I'm trying to find an example or a best practice for downloading a file/node from a D7 module I'm developing. I create a node, based upon input provided by the user. Once the node is saved, I want to give the user an option to download the file. The option does not have to be on the node edit/view page. I would like to perform this via the D7 api. Can anyone point me in the right direction. There is no clear cut example or discussion that I could find.

Thanks,
Arnold

Comments

Print (PDF) module

ultimike's picture

Arnold,

Check out the Print module: http://drupal.org/project/print - it can also generate PDFs to download.

-mike

Print PDF) module

arnoldB's picture

Looks good Mike, thanks.

Arnold

Arnold

Alternative

gadams's picture

I have not integrated a Drupal site with Doculicious which is a SaaS but it is possible:
http://www.doculicious.com

Some other alternatives:
http://code.google.com/p/jspdf/
http://pdfcrowd.com/

G

"Just as diamonds are forever, Google Cache is too"

Florida

Group organizers

Group categories

Florida Topics

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: