Hello,
I am having difficulty finding any modules that will display a user uploaded document file from a webform submission.
Has anybody tried to do this?
- Ideal Situation:
User fills out a webform which includes an uploaded document file;
File then displays in a node, on a page, article .. whatever .. for all users to see.
So many ways to do this with an image file, but the "document" ..not so much.
Or, am I just missing it?
I have been able to put the submission data in a table displayed to the user with a link to the submission;
The "submission link" display has a link to the uploaded file which then allows the file to be downloaded or viewed.
Not very user friendly.
Is there a way for Drupal to (automatically, if possible) display the file onto the website?
Maybe there is a module which converts the document to HTML, or something browser friendly?
Stumped-
Comments
if you have content-type try
if you have content-type try to add new field (goto structures>content-type>manage field) and use file type data.
ꦱꦠꦽꦶꦪ
I see this..
Thanks for the reply.
From what I can tell, this will allow a field where someone can upload a file to the server..
I did use this in the webform for the file upload field. Is there more I can do with this field?
I would like to be able for people to actually view and read the previously uploaded document..
I found a module which uses a third party support: Embedded Google Docs Viewer
which may be a possibility.
I believe this would use Google to view the documents over the net.
Ideally, I would like to keep the files within the server..
What to do, what to do..
There is the Embedded Google
There is the Embedded Google Docs Viewer module that works with the file field.
webform_rules
This might help you: http://drupal.org/project/webform_rulesUpon submission, create a node/article/whatever and attach uploaded file.
Whoops - didn't read the requirements carefully enough - sorry.
_
this is actually somewhat complex. There is no 'display file field file contents' module. It's different for every type of document and sometimes requires parsers/converters depending on the doc type. For text documents you could make a simple custom formatter, but for just about anything else you'll need a parser/converter. For PDFs it becomes even more complex as formatting is involved but there is a pdf to image module available in the downloads area that does a pretty good job.
the other option, as one of the other responders mentioned, is embedding docs with a service and using a viewer.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Feelin' better - kinda
.. 2 reasons for me to be feeling a little better:
- The newly acquired bald spot above my right ear will soon be gone because I can quit pulling my hair out
- It seems as though I wasn't "missing it"
That PDF to image converter really sparked my interest, but, of course, restricting PDF uploads only could be a hassle to many. Trying to be as user friendly as possible, Embedded Google Docs Viewer may be the easiest solution for now.
WorldFallz, you have explained what I have been running into and now I don't feel quite as insane.
If I had the knowledge, I would make the time to develop a module, if possible, to do this.
Storing on the google cloud
One thing I don't like is it appears that with Google Doc Viewer, the documents are stored in their cloud, making every document public domain. I can't (don't want to) use this.
I looked into Ajax Document Viewer. This looks like it may be the ticket... if I can get it to work.
I installed the module and configured it as mentioned in the README txt, but I don't see any of the new options to apply any of the three display formats described in the README:
- Ajax document new window view
- Ajax document inline view
- Ajax document lightbox view
Does anyone have experience with this?
_
such module specific questions are usually best asked in the module's issue queue-- especially for a module with such low usage.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
OK, thanks. I may just do
OK, thanks. I may just do that.
I've never filed an issue and am not sure if it is a black mark toward the module...
AND, not sure if I am just ignorant and going about using the module incorrectly (which I think I probably am).
_
There's no such thing as black marks-- issue queues are just where users of the module and module maintainers can discuss and collaborate with each other. Feel free to just post there-- it's the best place to find users of the module.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
It is Done...
Posted. Thank you.