The category article list view shows a fancy table with a few columns, a filter form, pagination options, etc.
I want it to be a simple list instead. Only the links, nothing else.
I guess this should be made by editing a view file, right?
Which one?
how can i tweak category view?
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Forum rules
Re: how can i tweak category view?
Ok, i think i found the file.
instalationdir/components/com_content/views/category/tmpl/default.php
but then , on lines 22 and 23 it has this:
where's that 'items' template?
I need to edit it
instalationdir/components/com_content/views/category/tmpl/default.php
but then , on lines 22 and 23 it has this:
Code: Select all
$this->items =& $this->getItems();
echo $this->loadTemplate('items');
I need to edit it
-
- Joomla! Apprentice
- Posts: 41
- Joined: Sat Dec 15, 2007 3:02 pm
- Location: Washington DC Metro
Re: how can i tweak category view?
joomla_root/components/com_content/views/category/tmpl/default_items.phpwhere's that 'items' template?
The 'default.php' is the header portion of the page and 'default_items.php' handles the item list.
If you haven't considered it already, you should save your revised files as a template override rather than changing the core code.
Denise
Re: how can i tweak category view?
I actually found out how to change the view sometime ago, since i got no reply in here i ended up finding out myself..
Anyway, i didn't do it yet, precisely because i was trying to find an alternative to core hacking.
Where can i find documentation about overriding templates?
Or you can explain me very briefly how to do it here if possible.
How do I create another items template based on the default one, and how do i make it available from the admin menu?
I also need the following string:
ContentViewCategory
from the main template... it shows huge on the template i am using. I looked around in the admin pannel and apparently there's no way to take that away without designing a new template.
Anyway, i didn't do it yet, precisely because i was trying to find an alternative to core hacking.
Where can i find documentation about overriding templates?
Or you can explain me very briefly how to do it here if possible.
How do I create another items template based on the default one, and how do i make it available from the admin menu?
I also need the following string:
ContentViewCategory
from the main template... it shows huge on the template i am using. I looked around in the admin pannel and apparently there's no way to take that away without designing a new template.