Home Joomla! Joomla! Tutorials How to modify the appearance of the Category List page without having modifications done to the Joomla! Core Code?
 
 
 

How to modify the appearance of the Category List page without having modifications done to the Joomla! Core Code?

PDF Print E-mail

Question: How to modify the appearance of the Category List page without having modifications done to the Joomla! Core Code? Since Joomla! 1.5 this feature has been made available.

Answer: 

STEP 1

Via FTP copy the following file (default_items.php ) from your Joomla! 1.5 installation files to your local machine.

Path to default_items.php
ROOT_PATH/components/com_content/views/category/tmpl/default_items.php

NOTE: For FTP use your favorite FTP client eg. FileZilla

STEP 2

Open the file and edit it as you want the Category List page to look!

I wanted to remove the numbering and replace the numbers with Bullets. I opened the file and replaced line 70 <?php echo $this->pagination->getRowOffset( $item->count ); ?> with <?php echo '& bull;'; ?>  NB: no space between & and bull

STEP 3

Save the file

STEP 4

Again access your Joomla! site via FTP and locate your template directory and open it.

eg. ROOT_PATH/templates/YOUR_TEMPLATE/

STEP 5

Create an "html" folder within your template directory and within your html folder another folder with name "com_content" and within com_content another folder with name "category"

Now your folder structure should look like this: ROOT_PATH/templates/YOUR_TEMPLATE/html/com_content/category

STEP 6

Copy your edited default_items.php file to ROOT_PATH/templates/YOUR_TEMPLATE/html/com_content/category

STEP 7

Open your web page and your customized changes will show. 

NOTE: 

+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Please input the anti-spam code that you can read in the image.
 
 
Banner