Page 1 of 1
How to hide number of files in Category View
Posted: 13 Sep 2016, 14:39
by philthil
The question is in the title.
I created a menu phoca dowload "Phoca Download List of Files (Category View)" but it displays the number of files for each category.
When a category contains only sub-categories it displays 0.
So I would like to hide this number.
I said "no" in the preferences of phoca download for "displaysf number of files" but it does not work.
Someone an idea?
Thank you
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 15:22
by christine
Hi,
a)
https://www.phoca.cz/documents/17-phoca- ... parameters
b) through an override com_phocadownload/views/category/tmpl/...
c) easier:
adding at the end of template.css or custom.css:
Code concerning of phoca demo.
Kind regards, Christine
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 15:36
by philthil
I tried a) but it didn't work
I didn't understand b)
I tried c) and it didn't work but maybee i dit it wrong : I just add
.pd-title small {
display:none; }
at the end of template.css ( I found the file here : /templates/protostar/css)
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 16:17
by christine
Hi,
on demo it works. Then show the URL please.
or try following:
Code: Select all
.pd-subcategory small {
display:none; }
Kind regards, Christine
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 16:26
by philthil
Hi,
I can't : i'm on a private network
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 16:28
by christine
Sorry, but without checking live, it's difficult. Did you try the 2nd code?
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 16:47
by philthil
OMG, it works !
Thank you very much !!!
Re: How to hide number of files in Category View
Posted: 13 Sep 2016, 17:10
by christine
Hi philthil,
that's fine
Kind regards, Christine