Display last created category

Phoca Gallery modules - modules for Phoca Gallery extension
Pepozzo
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 01 Sep 2011, 16:25

Display last created category

Post by Pepozzo »

Hello!

I'm using PG Image Module and I would like to know if is it possible to show last created categories (with a random thumbnail, for example) and not only the last uploaded images.

This could be useful for me to show more album/category in the same module.

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

Re: Display last created category

Post by Jan »

Hi, the image module only displays images, to display categories, this module should be customized:

- sql query should asks categories
- random image should be found from category images to make a thumbnail of the category

or you can e.g. customize https://www.phoca.cz/phocagallery-tree :idea:

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