Actions

Override:No Numbers in Category List

From Joomla! Documentation

Revision as of 20:38, 11 June 2009 by Elin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To remove the numbers in a category list copy this file:


\components\com_content\views\category\tmpl\default_items.php

to the the html folder of your template.

templates\yourTemplate\html\com_content\category\default_items.php


Open the file.

Delete or comment out line 43 <?php echo JText::_('Num'); ?>


Delete or comment out line 70 if you still want an empty column where the numbers were <?php echo $this->pagination->getRowOffset( $item->count ); ?>

Or lines 69-71 to eliminate the whole column

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