2

I have a content type called "Document" where i have a "file" field so i can upload files. I also have comments enable where another users can add a comment and also upload more files.

Whats i would like to do is have a table of all uploaded file in a single table at the bottom of the node.

In Views i am unable to get files upload from the node and comments in one views. Can anyone help with this?

using Drupal 7

Thanks

1
  • How did you set up file attachments with comments?
    – Shawn Conn
    Apr 12, 2015 at 22:31

2 Answers 2

0

On the view that you have the files upload, under Advanced, add a relationship of comments of the node, then add Comment:Comment as a field.

1
  • I've try the above Can this been done in file view? showing all files attract to the node and comment
    – user46332
    Apr 14, 2015 at 14:56
0

I'd recommend to use File Entity module, which provides all the functionality you need.

File entity provides interfaces for managing files. It also extends the core file entity, allowing files to be fieldable, grouped into types, viewed (using display modes) and formatted using field formatters. File entity integrates with a number of modules, exposing files to Views, Entity API, Token and more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.