Override:No Numbers in Category List

From Joomla! Documentation

Revision as of 16:56, 5 March 2011 by Cmb (Talk | contribs)

You may remove the numbers in a category list.

Copy the File

Copy the default_items.php file:


to the the html folder of your template:


Edit the Copied File

Delete or comment out line 43:

<?php echo JText::_('Num'); ?>

If you still want an empty column where the numbers were, delete or comment out line 70:

<?php echo $this->pagination->getRowOffset( $item->count ); ?>

To eliminate the entire number column, delete or comment out lines 69 through 71:

<td align="right">
   <?php echo $this->pagination->getRowOffset( $item->count ); ?>