Hello All,
I have a question regarding the main view in the gallery version 4.0.2 for Joomla3.
I have the following configured
main categorie <--- no pics
- sub cat <--- pics
- sub cat <--- pics
- sub cat <--- pics
I blocked sub categories in the main view and allowed empty categories.
Is there any possiblitly that the thumbnails from the subcat will be used in the mosaic of the main categorie?
Best regards
Timmi
Main categorie should use sub categories thumbnails
-
timmi.org
- Phoca Newbie

- Posts: 6
- Joined: 19 Oct 2013, 17:58
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Main categorie should use sub categories thumbnails
Hi, no there is no such option, as searching the images in subcategories can be very problematic (because of memory demands
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
timmi.org
- Phoca Newbie

- Posts: 6
- Joined: 19 Oct 2013, 17:58
Re: Main categorie should use sub categories thumbnails
Hi Jan,Jan wrote:Hi, no there is no such option, as searching the images in subcategories can be very problematic (because of memory demands)
Jan
do you see any possibility to add such feature on your roadmap?
Best regards
Timmi
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Main categorie should use sub categories thumbnails
Hi, it is in feature request list but it is very problematic feature, such needs to be customized for server directly, I think, it is no possible to add it a default feature as it can make problems on the server
(memory problems) 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
timmi.org
- Phoca Newbie

- Posts: 6
- Joined: 19 Oct 2013, 17:58
Re: Main categorie should use sub categories thumbnails
Hi Jan,
thank you so much for the reply.
Why do you think it could be a memory issue?
Because of the database query or why?
Best regards
Timmi
thank you so much for the reply.
Why do you think it could be a memory issue?
Because of the database query or why?
Best regards
Timmi
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Main categorie should use sub categories thumbnails
Hi, I don't think, I know it, most problematic for memory is loading all the tree of categories and searching in them. Normally, you get information about if category includes an image (with standard query) but to search the tree - not found in category, try to search all the subcategories - if they don't include, try to search their subcategories is really memory demanding (does not matter if you use tree traversal method or recursive function
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
timmi.org
- Phoca Newbie

- Posts: 6
- Joined: 19 Oct 2013, 17:58
Re: Main categorie should use sub categories thumbnails
Hi Jan,
is there a easy way to activate the search in subcategories as well?
I want to test the impact on my server.
Best regards
Timmi
is there a easy way to activate the search in subcategories as well?
I want to test the impact on my server.
Best regards
Timmi
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Main categorie should use sub categories thumbnails
Hi, as I wrote above, such needs to be customized and new functions needs to be added for such feature
so no for now there is no easy way to do such feature
(in previous posts I wrote about why such features was not added)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
nairu
- Phoca Newbie

- Posts: 1
- Joined: 02 Nov 2013, 19:43
Re: Main categorie should use sub categories thumbnails
Hi, first sorry for my bad english
. A suggest to avoid problems with overload server or search in a subtree: in category include a field called "category thumbnail" (or other name), in which we can select an existing image (or upload new). This way category show this thumbnail if exists.