Phoca Gallery Plugin - couple questions

Phoca Gallery - image gallery extension
lee_haire
Phoca Member
Phoca Member
Posts: 37
Joined: 22 Aug 2023, 17:49

Phoca Gallery Plugin - couple questions

Post by lee_haire »

Hi,

I am using a custom module with Phoca Gallery Plugin to display my categories (with thumbnail image) on my home page.

I am using very basic settings:

{phocagallery view=categories|imagecategories=1|imagecategoriessize=1}

A couple of questions (as I cannot find the answer anywhere):
  1. I will have many, many categories on my site. I'm assuming this plugin will display all of them? This is really not feasible for my site as I will way too many to display them all. Is there a way to display (for example), the last 5 which were created (or posted to)? Or is it only possible to statically specify (with the category id) which ones should be displayed? I'm basically looking for it to work like a news feed (e.g. display the last 5 articles posted, but in this case instead of articles, it would be the categories). Does anyone have a workaround that I should consider?
  2. I also have a hierarchy with my categories (at 3 levels deep). Currently, the module is displaying the entire hierarchy for each category. This is rather cumbersome to look at. Is there a way to display only the lowest level of the hierarchy (i.e. the one that the images are actually assigned to) and not show the higher levels?
Thanks.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9689
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Gallery Plugin - couple questions

Post by Benno »

Hi,
Is there a way to display only the lowest level of the hierarchy (i.e. the one that the images are actually assigned to) and not show the higher levels?
This is standard and this part of your code does that: imagecategories=1

Kind regards,
Benno
lee_haire
Phoca Member
Phoca Member
Posts: 37
Joined: 22 Aug 2023, 17:49

Re: Phoca Gallery Plugin - couple questions

Post by lee_haire »

Benno wrote: 22 Aug 2023, 22:07 Hi,
Is there a way to display only the lowest level of the hierarchy (i.e. the one that the images are actually assigned to) and not show the higher levels?
This is standard and this part of your code does that: imagecategories=1

Kind regards,
Benno
I have this parameter set, but it still displays the complete hierarchy. For example - below the Category image, the caption will be Level 1 - Level 2 - Level 3. I only want it to say "Level 3".
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9689
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Phoca Gallery Plugin - couple questions

Post by Benno »

Hi,
here it works as expected. So check your versions of Phoca Gallery Component, Plugin and Button Plugin...
See image:

Image

Kind regards,
Benno
Post Reply