[Drupal] How to hide VBO form when there is no result to display in a view using Drupal

| | 1 min read

While handling a view in one of my Drupal 7 project I need to display only a text message for empty result. I used VBO (View Bulk Operation) in that view for delete, enable, disable etc operations.
But it shows the VBO form even if there is no more data to display. To hide the VBO form in an empty view, do the following :

  • Download 'VBO Hide' module from 'https://www.drupal.org/project/vbo_hide' and install the same in 'sites/all/modules'. This module requires 'Views' module, 'Views UI' module and 'Views Bulk Operation' module.
  • In your view's "OTHER" option under "Advanced" settings tab, choose 'Yes' in 'Hide VBO' option.

You may also look into other solved solutions related to Drupal module configurations over here.

Reference : https://www.drupal.org/project/vbo_hide