Hiding the number of files and folders

Phoca Download - download manager
Midos
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 08 Dec 2014, 14:29

Hiding the number of files and folders

Post by Midos »

How do you hide the number of files and folders that are displayed in the bracket next to the file name or folder name ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hiding the number of files and folders

Post by Jan »

Hi, see similar posts in this forum, depends on which place you want to hide them and which version of Phoca Download you are using - for some places it can be done per parameters in Options, for some in PHP code directly.

Jan
If you find Phoca extensions useful, please support the project
Midos
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 08 Dec 2014, 14:29

Re: Hiding the number of files and folders

Post by Midos »

Hi
I have checked simmilar posts and they reference to this https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
I tried changing the css but I cannot find this file components/com_phocagallery/assets/phocagallery.css.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hiding the number of files and folders

Post by Jan »

Hi, this is an example for Phoca Gallery, so you need to find similar file for Phoca Downlaod, just use e.g. firebug or other tool and see which CSS is loaded on your site and such you can customize.

If you are using Phoca Download version 3, just see:
/media/com_phocadownload/css/custom/default.css

Or you can add in administration your own CSS file and set the customized code here - when you will save the file with your name, such will be not overwritten by update and your changes will be not lost.

Administrator - Components - Phoca Download - Styles - Add new, move it to last position so it will be loaded as last and there you can add the changes.

Jan
If you find Phoca extensions useful, please support the project
lescarcom
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 02 Feb 2015, 19:42

Re: Hiding the number of files and folders

Post by lescarcom »

Hi,
I have the same problem, trying to hide numbers of files in folders.
There is a parameter in backoffice that don't seems to work : "Display number of files (category view)". I set on "No", but no effect.
I tried to add css code in my defaut.css or in phocadownload.css but no more effect.
I'm not really good with coding (and my english is not not really better), so that can explain...

Can someone help me ? Do you have details to give me ?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Hiding the number of files and folders

Post by Jan »

Hi, just let me know the link where you want to hide it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply