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.
By Unionhill on
I have a content type for for an employee certification. The content type has a date field for the cert's expiration. I've created a view that shows the name field, cert type, and expiration date.
I'd like the view to rewrite the expiration results to show "current" (green), "expiring soon" (yellow), "expired" (red).
Any thoughts on how to approach this? Thanks
Comments
Hi,
Hi,
It might help you...
https://cryptic.zone/blog/conditional-fields-drupal-views