dnn Documents module
Last Post 10/02/2007 9:23 AM by Joseph Craig. 3 Replies.
Author Messages
Kriz Van Looy
Nuke Ace
Nuke Ace
Posts:41


--
10/01/2007 4:50 AM  
Hi,

I am writing a new module, very similar like the documents - module from dnn.

This module shows all the documents, used in the documents - modules, in a dropdownlist.

Next to this dropdownlist is a button. When a user clicks this button, The selected document should be downloaded.
However I can't find the procedure to download a document from the documents module.

Can anyone help me with this please?

Thanks in advance
Joseph Craig
DNN MVP
Posts:11667


--
10/01/2007 10:09 AM  
I haven't looked at the code for the documents module, but ... look for references to "response."

Joe Craig, Patapsco Research Group
Complete DNN Support
Kriz Van Looy
Nuke Ace
Nuke Ace
Posts:41


--
10/02/2007 2:12 AM  

Hi,

Thanks for your reaction but what do you mean exactly by references to "response"?

Has this something to do with the SQL - stored procedure to download a document from the website?

Thanks in advance

Joseph Craig
DNN MVP
Posts:11667


--
10/02/2007 9:23 AM  
"Response" has to do with the response written back to the client computer. So, if you do something that results in a file being downloaded, you may see code that writes the file into "response."

But, like I said, I haven't looked at the code for the Documents module ...

Joe Craig, Patapsco Research Group
Complete DNN Support


---