Friday, January 22, 2010

Drupal tip: Adding "number of results" message to your View

Quick Drupal tip for Views 2. You can add some PHP code in your header or footer to display the amount of total results AND the number displayed in the page (if you're using paged results) using this tip:

http://drupal.org/node/131031#comment-2507598

Thanks to matteo.boria and kingandy for figuring it out!