Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
CCK version: 6.x-2.2
I have a filefield in a fieldgroup called "Attachments". If, in the filefield settings, "List field" is set to "enabled", an empty fieldgroup gets shown on the node page, although the filefield is empty. Can anyone confirm this?
Comments
Comment #1
quicksketchThanks for the report. I'm not seeing this immediately in the latest dev version of FileField. What display settings are you using for both the surrounding field group and for the file field?
Comment #2
quicksketchI might have fixed this with this commit:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/filefield/f...
This changes the normal generic file formatter. Previously it was printing out an HTML comment if the file was not being listed
<!-- you do not have access to view this file -->
, which would cause the field to be printed if the files inside of it were not displayed. This function now returns an empty string.Comment #3
quicksketchMarking as fixed, please reopen if this problem still exists in the development version or after making the changes from #2.