Hi all,

I recently came across Gordon Heydon's include for the Uploads module:
http://drupal.org/node/67262

I'm wondering if we could devleop a similar include for the Attachment module. I am building a site that will be document heavy, with a lot of PDFs that require titles and descriptions. If I could sync the Attachment Module with Views, I'd have a really powerful and versatile tool to work with...

Please let me know if this is something that could be developed relatively easily.

All the best,
Peter Deitz

CommentFileSizeAuthor
#2 views_attachment.txt4.49 KBdeciphered

Comments

charly’s picture

ill be glad to see it too! I tried to modify the views_upload.inc without succes :(

deciphered’s picture

Status: Active » Needs review
StatusFileSize
new4.49 KB

I copied views_upload.inc to views_attachment.inc and made changes which seem to work, it's not fully tested but it did give me the results I was looking for.

I've attached the file for anyone who is interested, just change the file extension to .inc and stick it in your views/modules directory and it should work.

WorldFallz’s picture

+1 seems to work as expected, no errors. I'd roll a patch for this but I'm not sure how-- it belongs to the attachment module but needs to live in the views module directory.