Views Field Rewriter

Categories

Component ID

2660436

Component name

Views Field Rewriter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

207

Component created

Component changed

Component body

This module provides a new global view field which takes the value from another field in the view and outputs either "0" or "1" depending on the value of the other field. This is useful if, for instance, you have one field whose output is either "Yes", "No" or "Maybe" and you want your view to display "OK" if the user entered "Yes" or "Maybe" and "Not OK" if the user entered "No".

You could also accomplish the same outcome by modifying view templates, but this puts the power of this type of configuration in the hands of site builders.