How to hide number of files in Category View

Phoca Download - download manager
philthil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Sep 2016, 14:02

How to hide number of files in Category View

Post 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

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: How to hide number of files in Category View

Post 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: Select all

.pd-title small {
display:none;  }

Code concerning of phoca demo.

Kind regards, Christine
philthil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Sep 2016, 14:02

Re: How to hide number of files in Category View

Post 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)
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: How to hide number of files in Category View

Post 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
philthil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Sep 2016, 14:02

Re: How to hide number of files in Category View

Post by philthil »

Hi,

I can't : i'm on a private network
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: How to hide number of files in Category View

Post by christine »

Sorry, but without checking live, it's difficult. Did you try the 2nd code?
philthil
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 13 Sep 2016, 14:02

Re: How to hide number of files in Category View

Post by philthil »

OMG, it works !
Thank you very much !!!
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: How to hide number of files in Category View

Post by christine »

Hi philthil,

that's fine :-)
Kind regards, Christine
Post Reply