Category description (number of images)

General Forum
Dekks
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Nov 2011, 18:07

Category description (number of images)

Post by Dekks »

Hello,

I admin a small site for my sister displaying her artwork, in my Joomla installation, I have a menu link that links to the phoca gallery module and displays the two categories, one marked [animals] and the other is [places] which then leads to three sub categories so it is setup as follows:

Animals (5)
Places
-- [Place 1]
-- [Place 2]
-- [Place 3]

When displaying the site in a browser, everything works fine, except as my example above shows, the category 'Animals' shows that there are five images contained in it, but the category 'Places' does not, and when you go into the places category, which then shows the three available sub categories, none of the sub categories show how many images are contained in each sub category either.

So my question is, how do I either display how many images are contained in Places total or its sub categories, or if nothing else make it not display how many images are contained in each category at all.

I hope that makes sense! To recap: I want to either show how many images are contained in the category next to each category/sub category name, or to just not display that at all on any category.

Great plugin btw!

Edit: Running version 2.2.4
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Category description (number of images)

Post by Jan »

Hi, the number only displays how many images are included in the category, not in its subcategories. For displayig the number of all images in the tree, the code needs to be customized - some tree traversal function must be done (search in this forum, there were some info about it)
If you find Phoca extensions useful, please support the project
Post Reply