Page 1 of 1

Hide from multi-category view layout

Posted: 24 Dec 2015, 09:42
by shawnhy
Can I make a category hidden from multi-category layout? (a layout like https://www.phoca.cz/download)
I don't want this category be seen here.
I just want to put download items in and insert download links into articles with phoca download plugin.
I try set the accessibility "nobody" but result to un-downloadable. Obviously not a correct way.

Many thanks.

Shawn.

Re: Hide from multi-category view layout

Posted: 27 Dec 2015, 02:25
by Jan
Hi, what happen if you unpublish it?

Re: Hide from multi-category view layout

Posted: 28 Dec 2015, 05:40
by shawnhy
When I un-publish the category, of course the category is disappeared from the front-end.
However, it will be not possible to put any download items into the category.

Re: Hide from multi-category view layout

Posted: 31 Dec 2015, 18:57
by shawnhy
Since I cannot find an interface to do that, I edit default.php file which located in /components/com_phocadownload/views/categories/tmpl/
To add divs id:
id="phoca-dl-categories-box-' . $value->id .

And hide them by css visibility:hidden;

Re: Hide from multi-category view layout

Posted: 03 Jan 2016, 00:58
by Jan
Hi, yes, if the category needs to be "active" then the way with hiding it per CSS should be the way :idea:

Jan