I have a case where a node type has many file fields, not all of which are mandatory. Using the Views module I can create a table with one row for each node and one column for each file field and so seewhich files have been uploaded. So far so good. However, the filefield is displayed as a icon together with the filename (which is also a link to the file). This does not scale well when there are many files (i.e. columns) to display.
I attach a patch to allow the user to select two new options when configuring Filefields in a View. One is to simply display the file icon and the other is just an "X". Both are links to the file. This takes up much less space and is perfectly suited to dipslaying many columns of Filefields.
I have tested the patch and it works without any problems.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | filefield-5.x-2.4-new-formatter-options_1.patch | 2.26 KB | kevin.mcnamee@mailbox.org |
| #1 | filefield-5.x-2.4-new-formatter-options.patch | 2.24 KB | kevin.mcnamee@mailbox.org |
Comments
Comment #1
kevin.mcnamee@mailbox.org commentedComment #2
kevin.mcnamee@mailbox.org commentedAdded tooltip to icon and "X" links.
Comment #3
quicksketchNo work is being done on the 5.x version. FileField has been moved into core in D7, so no new functionality is being added there either.