Number of images in each category - Menu tree

Phoca Gallery modules - modules for Phoca Gallery extension
livasi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 01 Nov 2011, 12:03

Number of images in each category - Menu tree

Post by livasi »

Hi to all,

First question:
is it possible to add small part of code in module PhocaMenuTree which will pull data from database and count amount of images for each category. I think that this is not so hard solution to provide, example:

Main Gallery
- sub gallery I. (12)
- sub gallery II. (33)
- sub gallery III. (3)


Second question:
If we open some gallery category and click on thumbnail which open popup in some of styles (highslide, modal, or else) why there is no counter to show how many photos are in that category and number of that photo in gallery? Example:

Name of Image
Description of image
Image 3 / 33

Thanks for further answers.
Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Number of images in each category - Menu tree

Post by Jan »

Hi, such option needs to be customized, the counter in popup window will work only in iframe methods:
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

Jan
If you find Phoca extensions useful, please support the project
Post Reply