Page 1 of 1

Hide one of the category in List Of Categories (Categories V

Posted: 12 Sep 2011, 16:39
by gregorius
Hi,

Can you provide me an solution what do i have to edit to hide one of the category in List Of Categories (Categories View).
I have two places where i'm using this component and in one i am using List Of Categories (Categories View) and in the other just List of Files (Category View). And i don't want to show this other cat in the List Of Categories (Categories View) :)

Re: Hide one of the category in List Of Categories (Categori

Posted: 12 Sep 2011, 17:03
by Chrisx909
I think, that's not possible.

Re: Hide one of the category in List Of Categories (Categori

Posted: 12 Sep 2011, 18:21
by Jan
Hi, yes, for now there is no such option, added to feature request list.

Jan

Re: Hide one of the category in List Of Categories (Categori

Posted: 12 Sep 2011, 19:58
by gregorius
I know that is not possible in this version. But there should be an easy way, if you knew this component, by edit tmpl file or any else and add php to hide the category by ID. Could you provide that kind of code form me? Please :-)

Re: Hide one of the category in List Of Categories (Categori

Posted: 13 Sep 2011, 00:29
by Jan
Hi, I don't know exactly what all needs to be changed, because I didn't do such modification yet :-(, see:

forum-rules.php (9)

The sql query is located in model:

components/com_phocadownload/models/category.php so there needs to be added some limitation

Jan

Re: Hide one of the category in List Of Categories (Categori

Posted: 13 Sep 2011, 08:39
by gregorius
Np.

Thank you