In my scenario I'm trying to display a flag (Font Awesome icon) in Views Global Text Field if another field in the same row of a type "Date" has a value of, say, a week from now. I tried Views Table Highlighter but it has some bugs with filters I'm using, so I thought that using the above approach would be better.


You can use views conditional module.

Views Conditional is a simple module that allows you to define conditionals (if xxx then yyy) with fields in views

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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