Views Table Highlighter

Component ID

670496

Component name

Views Table Highlighter

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

9725

Component created

Component changed

Component body

Views Table Highlighter allows administrators to easily highlight certain Views Table rows based on simple PHP code accessible from the Views UI.

The default CSS classes provided by the module will colorize the rows. You can add your own CSS to apply other styles in addition to color, such as bold.

  • Build your View.
  • Select "Table Highlighter" as the View's Style.
  • Modify the example PHP code provided to highlight the rows you're interested in.
  • Enjoy.

If you'd like to use styles other than the predefined colors, you can return your own custom string from the highlighter PHP code. In your theme, create a corresponding CSS class "views-table-highlighter-$color", where "$color" is your custom string.