Problem with empty categories in plugin

Phoca Gallery - image gallery extension
linda_h
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 29 Apr 2012, 13:54

Problem with empty categories in plugin

Post by linda_h »

Hi,

first of all thank you for the excellent component and plugins.
I've an album with many categories and subcatgeories. Because of this I also have empty catgeories (the subcategories contain the images).

I've now installed the plugin to show a list of categories under an article. Problem is the empty categories are not shown. This is troubling, because instead of referring to ten categories under an article I prefer to just refer to the main category in my photoalbum.

Is there a solution for this?

Thanx, Linda
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with empty categories in plugin

Post by Jan »

Hi, sorry, I don't understand? If the category does not include any image, then there are not displays images - in the component, even in the plugin :idea:

Jan
If you find Phoca extensions useful, please support the project
linda_h
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 29 Apr 2012, 13:54

Re: Problem with empty categories in plugin

Post by linda_h »

Hi,

sorry, it's a bit hard to explain. I've a galery with many empty categories because they contain subcategories which contain the images. (see http://www.ttvshot.nl/foto-s). At the bottom of articles I would like to add a link to the folder of the parent category (like clubactiviteiten) from where the viewer can navigate to the year he wants to see.

I can of course add ten different links to alle the subcategories that contain images, but this means that when a new year is add to an activity I've to manually add this to the specific article. Someone is going to forget this.

The problem is the folder is not shown because of the lack of images in the main folder. I now add a link manually, but it would be nice to be able to use the image button plugin for this as well.

Hope you understand now.

Linda
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with empty categories in plugin

Post by Jan »

Hi, in component, if the folder/category is empty, it can try to find images in subcategories (but this can take some memory), for plugin there is no such option, so this needs to be customized directly if the plugin :-(
If you find Phoca extensions useful, please support the project
Post Reply