Page 1 of 1

Hiding the number of files and folders

Posted: 08 Dec 2014, 14:33
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 ?

Re: Hiding the number of files and folders

Posted: 08 Dec 2014, 16:21
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

Re: Hiding the number of files and folders

Posted: 09 Dec 2014, 11:40
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.

Re: Hiding the number of files and folders

Posted: 12 Dec 2014, 14:36
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

Re: Hiding the number of files and folders

Posted: 02 Feb 2015, 19:54
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

Re: Hiding the number of files and folders

Posted: 07 Feb 2015, 22:36
by Jan
Hi, just let me know the link where you want to hide it.

Jan