Is there a way to include a link to an uploaded file in a view. For example I have a table layout view of a list of events. Columns are title of event, type of event, and date -- the title of event links to a node with a description and a link to a downloadable program for the event. I would like to add a column to the table that is the link to download the file so that viewers can download without first going to the node if they don't want to see the description.

Is this possible??

Comments

WorldFallz’s picture

How did you upload the file? upload module? filefield module? ftp?

dckantor’s picture

upload module

WorldFallz’s picture

Then you should be able to add upload fields to the view-- check for fields prefixed with "Upload:".

dckantor’s picture

I don't want people to be able to upload items in the view though. I will do that in admin pages. I want to be able to use views to display a table of nodes each with it's title (linking to the node), it's uploaded file name (linking to a download of the file) and a few other related items. Is this possible?

thanks very much

WorldFallz’s picture

Views just shows the fields-- they are not in edit mode. afaik there's no way to upload a file through a view unless there's a contrib module for it.

dckantor’s picture

I don't see a field called "upload" anything in the list of fields that can be added to my view. I am using the drupal core upload module. Any thoughts?

thanks - I appreciate all your time on this.

WorldFallz’s picture

If you click the "+" in the "Fields" settings box, then click on the "Groups" dropdown-- what do you see listed there?

dckantor’s picture


content
global
node
node revision
node translation
product
taxonomy
upload
user

WorldFallz’s picture

so click on "upload"!

dckantor’s picture

AAAAUUUUUUGGGGGGG!
I swear that was not there when I listed all and searched through the whole list (though of course I know it must have been).

Thanks for your patience.

WorldFallz’s picture

lolol, no worries. It's easy to get lost in the views ui. happy to help.