Don't work "Filter Parent Category ID"

Phoca Gallery - image gallery extension
HiopsNerevar
Phoca Member
Phoca Member
Posts: 32
Joined: 17 Feb 2011, 18:08
Location: Russia
Contact:

Don't work "Filter Parent Category ID"

Post by HiopsNerevar »

Hi Jan. On my site don't work "Filter Parent Category ID"
If i set parent category ID example 2 or 2,3 then on page do not show no categories. But if i add on end comma (ex. 2,3,) then zero effect and in gallery show all categories.

I test on two my sites. identically effect. In what may be a problem?

Kind regards, HiopsNerevar
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Don't work "Filter Parent Category ID"

Post by Jan »

Hi, exactly which parameter you mean? (So I can test it)

Thank you, Jan
If you find Phoca extensions useful, please support the project
HiopsNerevar
Phoca Member
Phoca Member
Posts: 32
Joined: 17 Feb 2011, 18:08
Location: Russia
Contact:

Re: Don't work "Filter Parent Category ID"

Post by HiopsNerevar »

When I create Menu Item with Categories View.
HiopsNerevar
Phoca Member
Phoca Member
Posts: 32
Joined: 17 Feb 2011, 18:08
Location: Russia
Contact:

Re: Don't work "Filter Parent Category ID"

Post by HiopsNerevar »

Oh. And Phoca 3.2.1 and Joomla 2.5.6
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Don't work "Filter Parent Category ID"

Post by Jan »

Hi, hmmm, testing now without any problem, the 2,3 works the same like 2,3, except that by the second case, 0 will be added (it means all the categories which have parent_id = 0 - means all root categories will be displayed too) :idea:

means: 2,3 => all categories which belongs to parent category 2 and 3
means: 2,3, => (zero will be added - the same like 2,3,0) - all categories which belongs to parent category 2 and 3 and of course all root categories

:idea:

Jan
If you find Phoca extensions useful, please support the project
impressionestudio
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 08 Feb 2013, 11:28

Solved: Don't work "Filter Parent Category ID"

Post by impressionestudio »

Hi all,

In the past I faced the same problem. I tried to use the field "Filter Parent Category ID" which appears when I created a menu item of type "List Of Categories (Categories View)". It didn't work no matter what I wrote in that field.

In order to solve the problem you have to go to the "Options" of the component and at the section "Categories View Settings", set the parameter "Display Subcategories" to "yes".

Thanks for this great tool.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Don't work "Filter Parent Category ID"

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
mr-seven
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Oct 2013, 17:53

Re: Don't work "Filter Parent Category ID"

Post by mr-seven »

Hi
thanks for this great component
I'm using Phoca Gallery v.3.2.6 and joomla 2.5.11 and i have a problem like post1:
If i set parent category ID example 1 or 1,2 then on page do not show no categories.
pleaaaaaaaaaaaaaaaaaase help me.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Don't work "Filter Parent Category ID"

Post by Jan »

Hi, are you sure, category 1 or 2 includes subcategories? Did you set "displaying of subcategories" to yes, like mentioned above?
If you find Phoca extensions useful, please support the project
mr-seven
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 29 Oct 2013, 17:53

Re: Don't work "Filter Parent Category ID"

Post by mr-seven »

Jan wrote:Hi, are you sure, category 1 or 2 includes subcategories? Did you set "displaying of subcategories" to yes, like mentioned above?
I didn't make parent and sub categories and i just made 4 categories.
now i make a parent category and my problem solved.
thanks
(sorry for my poor English.)
Post Reply