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.
The title "Date of item" is displated even when no date is entered. In a hook_nodeapi I added the following to take this into account:
if(empty($node->field_date_of_entry[0][value])) unset($node->content[field_date_of_entry]);
Comments
Comment #1
wmostrey CreditAttribution: wmostrey commented