Joomla_catagory_numbersBy default joomla shows a number by each article when listing all the titles in a category view layout.

Here's how to remove the numbers...

 

Navigate to /components/com_content/views/category/tmpl/default_items.php and download the file.

To overide the file we need to copy it to the template folder. If it doesn't already exist, create the folder:

/templates/yourtemplatename/html/com_content/category/

Open up the file and locate the line:

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

Comment it out by changing it to:

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

This will remove the numbers by each article.

To remove the # in the head, locate the line:

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

And replace with:

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

If you want to reduce the width of the column, just reduce the 5% in the line above to 1%

Save the file and upload it to

/templates/yourtemplatename/html/com_content/category/default_items.php

It should now look something like thisJoomla_catagory_numbers_removed

 

Category: Joomla

Newsletter Signup

Latest Posts

Google+ Timeline Feed for your Website Google+ Timeline Feed for your Website 2012-05-11 - I was asked earlier today to create a Google+ widget for a website to replace a twitt... More detail
Run Facebook Messenger on Windows Vista Run Facebook Messenger on Windows Vista 2012-04-19 - Facebook has just released it's new messenger for windows but it only runs on Windo... More detail
Translate K2store Product Attributes with Joomfish Translate K2store Product Attributes with Joomfish 2011-11-03 - If you have a K2store and your site is in multiple languages, you might have found th... More detail
French Translations for K2store French Translations for K2store 2011-11-02 - I have been working recently with the K2 component/plugin K2store. As a simple sho... More detail
How I Upgraded to Joomla 1.7 How I Upgraded to Joomla 1.7 2011-09-25 - Inspired by Robert Vining over at www.joomstew.com and the fact that I am building mo... More detail

Twitter Stuff