Closed (fixed)
Project:
PDF Reader
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Sep 2011 at 11:32 UTC
Updated:
2 Mar 2012 at 12:40 UTC
I need a download button or just the regular link, so the user can both see the document, but also download it just by clicking on the file link.
Comments
Comment #1
damiandab commented+1
Comment #2
damiandab commentedhere the solution: add to pdf_reader.module the download link, here example for google viewer:
Line:123
Comment #3
damiandab commentedif you would like to customize the look of download link , add the class to paragraph tag:
Comment #4
cfleek commentedI'm receiving an error when I try this: Parse error: syntax error, unexpected '.' in...modules/pdf_reader/pdf_reader.module on line 135
Am I supposed to enter a path to the file or put a link in or?
Comment #5
damiandab commenteddid you remove semicolon from
I will try to write a proper patch for that.
For me is working: http://www.apfel-bohnsdorf.de/download/apfel-uni
Comment #6
cfleek commentedThat was it, thanks for pointing that out!
Comment #7
victorcoder commentedComment #8
victorcoder commentedImplemented in beta4