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.
Hide from multi-category view layout
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide from multi-category view layout
Hi, what happen if you unpublish it?
If you find Phoca extensions useful, please support the project
-
shawnhy
- Phoca Member

- Posts: 25
- Joined: 04 Nov 2012, 08:22
Re: Hide from multi-category view layout
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.
However, it will be not possible to put any download items into the category.
-
shawnhy
- Phoca Member

- Posts: 25
- Joined: 04 Nov 2012, 08:22
Re: Hide from multi-category view layout
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;
To add divs id:
id="phoca-dl-categories-box-' . $value->id .
And hide them by css visibility:hidden;
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide from multi-category view layout
Hi, yes, if the category needs to be "active" then the way with hiding it per CSS should be the way 
Jan
Jan
If you find Phoca extensions useful, please support the project