Download & Extend

Adding Attachment Module information to Views

Project:Attachment
Version:master
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

Comments

#1

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

#2

Status:active» needs review

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.

AttachmentSize
views_attachment.txt 4.49 KB

#3

+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.

nobody click here