List all items under all categories

164 views
Skip to first unread message

Valentin Despa

unread,
Jul 21, 2012, 12:57:11 PM7/21/12
to joomla-...@googlegroups.com
Hello,

This is a general Joomla! programming question but I will give an example from the com_contacts component.

I am looking at the possibility of displaying all contacts that are under all categories. It looks to me that there are two display options given:

  • List All Contact Categories - This will give us like a list of categories
  • List Contacts in a Category - This will give us all the contacts, but only from one category.
And I've noticed this pattern among many other components.

Is there any component out there that implements the feature of listing all the categories and under each category, all items?

Like

Category 1
  • Item 1
  • Item 2
Category 2
  • Item 3
  • Item 4

Thank you,

Valentin Despa

hoochicken

unread,
Jul 23, 2012, 8:39:27 AM7/23/12
to joomla-...@googlegroups.com
Hello,
once I've generated an override via template to show all categories and their items (for com_contacts, com_weblinks and com_content).
Have a look at it in http://webdesign-freiburg.ql.de/downloads/joomla-template-standard
It's an overriding workaround, therefore quick and dirty, but working,
Greeting
Mareike

elin

unread,
Jul 23, 2012, 9:30:02 AM7/23/12
to joomla-...@googlegroups.com
I started to do something like that as a 3.0 feature but then I realized that you can easily get it using a Smart Search filter on Type where Type is the component you want to list the items from and make sure to enable empty searches. You can also play around with the options to customize it more.


Elin
Reply all
Reply to author
Forward
0 new messages