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
How to hide number of files in Category View
-
- Phoca Newbie
- Posts: 4
- Joined: 13 Sep 2016, 14:02
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: How to hide number of files in Category View
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
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: Select all
.pd-title small {
display:none; }
Kind regards, Christine
-
- Phoca Newbie
- Posts: 4
- Joined: 13 Sep 2016, 14:02
Re: How to hide number of files in Category View
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)
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)
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: How to hide number of files in Category View
Hi,
on demo it works. Then show the URL please.
or try following:
Kind regards, Christine
on demo it works. Then show the URL please.
or try following:
Code: Select all
.pd-subcategory small {
display:none; }
-
- Phoca Newbie
- Posts: 4
- Joined: 13 Sep 2016, 14:02
Re: How to hide number of files in Category View
Hi,
I can't : i'm on a private network
I can't : i'm on a private network
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: How to hide number of files in Category View
Sorry, but without checking live, it's difficult. Did you try the 2nd code?
-
- Phoca Newbie
- Posts: 4
- Joined: 13 Sep 2016, 14:02
Re: How to hide number of files in Category View
OMG, it works !
Thank you very much !!!
Thank you very much !!!
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: How to hide number of files in Category View
Hi philthil,
that's fine
Kind regards, Christine
that's fine
Kind regards, Christine