mediatribe.net -- Drupal et développement web

Notice: this post was last updated Il y a 6 years 27 weeks so it might be outdated. Please be cautious before implementing any of suggestions herein.

Displaying the total number of rows in a view

Put a pager, make sure your items to display is not set to unlimited, and put this in your header or footer:

<?php
$view
= views_get_current_view();
print
$view->total_rows . ' ' . t('items in this category');
?>