For showing total number of items in search and tag pages go to :
components\com_k2\views\itemlist\view.html.php
line : 381
add this :
$this->assignRef('total', $total);
in this statement:
else { $this->assignRef('items', $items); }
some thing like this:
else { $this->assignRef('items', $items); $this->assignRef('total', $total); }
and you can show total number of items by this code:
$this->total
in generic.php
components\com_k2\views\itemlist\view.html.php
line : 381
add this :
$this->assignRef('total', $total);
in this statement:
else { $this->assignRef('items', $items); }
some thing like this:
else { $this->assignRef('items', $items); $this->assignRef('total', $total); }
and you can show total number of items by this code:
$this->total
in generic.php