Cannot hide category

Phoca Gallery - image gallery extension
Kebb
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Sep 2010, 09:30

Cannot hide category

Post by Kebb »

Hi all, sorry for my english :oops: ,

I can't hide category which I can use only for inserting images into articles. I put "system" category name in a global setting to Hide Categories (like here: https://www.phoca.cz/documents/2-phoca-g ... egory_List_ - Hide Categories), but it appears between displayed categories on my web. :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot hide category

Post by Jan »

Hi, you need paste an ID of the category not a name.

Jan
If you find Phoca extensions useful, please support the project
Kebb
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Sep 2010, 09:30

Re: Cannot hide category

Post by Kebb »

Hi,
thank you Jan for your help.

I tried it and inserted ID of unwanted category, but nothing happen :( It is allway visible.

Second step I inserted ID's of "wanted categories" to "Show categories" in config and by this way it runs. Now I can see only nonsystem categories on my web. But it is not good, because I have only one unwanted cat., but many of wanted categories.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot hide category

Post by Jan »

Hi, no idea what can be wrong there, if I paste hide categories ( separated by ; ) I get them all hidden :-( :idea:

Did you add them to parameters component in menu link to gallery?
If you find Phoca extensions useful, please support the project
Kebb
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Sep 2010, 09:30

Re: Cannot hide category

Post by Kebb »

Hm,

Until now, I've tried it in global settings of component. Now I put ID number of unwanted category into setting of menu link to photogallery and there it works without problems.

Thx. :twisted:

My english is terrible, so in czech :

Dosud jsem to zkoušel nastavovat v globálním nastavení komponenty. Pak jsem zkusil vložit ID nechtěné kategorie přímo do nastavení odkazu v menu a tady to funguje bez problémů. Tak nevím, kde byl zakopán pes, ale jsem spokojen.

Každopádně díky.
M.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot hide category

Post by Jan »

OK

Parameters Component overrides global configuration, so if parameter components includes zero e.g. then it will override the selected category Ids in global configuration:

https://www.phoca.cz/documents/16-joomla ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
Alexander_photo
Phoca Member
Phoca Member
Posts: 18
Joined: 23 Feb 2010, 14:07
Contact:

Re: Cannot hide category

Post by Alexander_photo »

How to hide sub-categories (not category)?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot hide category

Post by Jan »

Hi, see the link above, you can hide subcategories in Category view or in Categories View in Category View (this is disabled as default), see the glossary too:
https://www.phoca.cz/documents/2-phoca-g ... d-glossary

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