I'm trying to create an area on my site that will list all of the files that have been uploaded as attachments to nodes of a particular type and in a particular taxonomy vocabulary. I would like it sorted by the taxonomy terms associated with them, and displayed in pretty columns. The links should go directly to the files is possible, rather than just their associated nodes. A more complete description, along with a mockup image of what I want it to look like, is available at http://virtualnorthstar.org/project/issues/file-download-section. The direct link to the mockup is http://virtualnorthstar.org/sites/virtualnorthstar.org/files/issues/ns_downl.... Can anyone give me some direction on how to approach this, or better yet, code that I could just plug in and run with? (My Drupal and PHP skills are both just getting started, so the amount of time it would take someone with experience to do it would be orders of magnitude less than me, so if you have a little time I would greatly appreciate whatever you can give me.)
You could do it in a view, and at the theme layer pull the file title and link out and put it in as a link right to the file. Do you get the option to reference the file as a field in the views setup? If so, put it in, go to the view theme wizard, and find the name of the variable it is passing in, and try messing with that. worst case scenario, you load the node again. wouldn't be the best performance wise, but guaranteed to work.
--
Brett Evanson
brettev@gmail.com
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Tony Yarusso Sent: Thursday, March 06, 2008 3:59 PM To: support@drupal.org Subject: [support] File download page
I'm trying to create an area on my site that will list all of the files that have been uploaded as attachments to nodes of a particular type and in a particular taxonomy vocabulary. I would like it sorted by the taxonomy terms associated with them, and displayed in pretty columns. The links should go directly to the files is possible, rather than just their associated nodes. A more complete description, along with a mockup image of what I want it to look like, is available at http://virtualnorthstar.org/project/issues/file-download-section. The direct link to the mockup is http://virtualnorthstar.org/sites/virtualnorthstar.org/files/issues/ns_downl.... Can anyone give me some direction on how to approach this, or better yet, code that I could just plug in and run with? (My Drupal and PHP skills are both just getting started, so the amount of time it would take someone with experience to do it would be orders of magnitude less than me, so if you have a little time I would greatly appreciate whatever you can give me.)
Quoting Tony Yarusso tonyyarusso@gmail.com:
You might be interested in tidbits with the Document Management group[1].
[1] http://groups.drupal.org/document-management
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/