Hi, I would like to ask you, if is possible to set this module to show image also from child of selected category. Now when I create child category I need to edit every module and manually select it although the parent of new child category is selected.
Thank you.
Joomla 3.3.6, Phoca gallery 4.1.1, Phoca Gallery Image Module 4.0.0
Phoca Gallery Image Module - category
-
mino182
- Phoca Professional

- Posts: 224
- Joined: 12 Feb 2015, 13:30
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Image Module - category
Hi, no, only the categories, you exactly specify in the module options. To display the images from subcategories, I think, then the module needs to be customized (the SQL query which loads all the items
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
chrisjclay
- Phoca Member

- Posts: 26
- Joined: 06 Oct 2011, 19:56
Re: Phoca Gallery Image Module - category
Does anyone know how to edit the module's SQL settings to retrieve child categories? We have a parent gallery (just called "Photos") and are hoping that the module can display images from the most recently-added sub-category. Right now, we have to manually update the module every time we create a new gallery since we're using the module to show the latest photos added to the website. Any tips would be appreciated!
Chris
Chris
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Image Module - category
Hi, there can be more ways - e.g. to load selected categories and load their subcategories (must be recursive) and store the category ID - then after getting all categories in the tree to run the sql which will load the images from such categories 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
chrisjclay
- Phoca Member

- Posts: 26
- Joined: 06 Oct 2011, 19:56
Re: Phoca Gallery Image Module - category
Thanks, I'll see what I can come up with...
Chris
Chris