Hello, I hope you can help me on the following issue.
I've just started to use phocedownload. Now that I'm starting to upload files and make subcategories I see that the file counter next to the category name only show the direct files in that categories.
I will try to explain better. I have categories like Catalogues/Inverters/XYtype. I uploaded 2 files to XY type, but in the category view next to Catalogues show the number 0. as Catalogue (0) like it would not contain anything. The number of 2 has only shown next to the XY type subcategory. But it's really misleading. Could you help me with this? Is there any settings to solve this.
I was thinking maybe I could turn of this option which shows the file numbers, but it's not working, or I understand something wrong.
In the setting of PhocaDownload I fould a part which should work but eventually it's not.
There are these lines:
Display Number of Files (Categories View)
and
Display Number of Files (Categories View - Header)
I choose no, but still the filenumbers do not disappear.
That would be my problem.
I hope I hear from you soon.
Thanks in advance for any help.
Display Number of Files
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display Number of Files
Hi, it is displayed:
x / y
x ... number of categories
y ... number of files
if there is no file, only subcategory in the category, then 0 is displayed for the number of the files.
You can hide whole numbers in Options or customize directly the output code and just comment or delete the number of the files.
Jan
x / y
x ... number of categories
y ... number of files
if there is no file, only subcategory in the category, then 0 is displayed for the number of the files.
You can hide whole numbers in Options or customize directly the output code and just comment or delete the number of the files.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Apr 2016, 09:30
Re: Display Number of Files
Dear Jan,
thanks for the response, but I still do not understand. Next to the category name i have only one number. not two (like x / y) or I just misunderstand your answer.
Or where can I customize directly the output code?
Thanks, Ann
thanks for the response, but I still do not understand. Next to the category name i have only one number. not two (like x / y) or I just misunderstand your answer.
Or where can I customize directly the output code?
Thanks, Ann
-
- Phoca Newbie
- Posts: 3
- Joined: 21 Apr 2016, 09:30
Re: Display Number of Files
Categories view is okay, in settings i can solve it, but for the Category view I can't find anything which could turn off to show file numbers... 

- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display Number of Files
Hi, the files are:
omponents\com_phocadownload\views\category\tmpl\default.php
components\com_phocadownload\views\category\tmpl\default_files.php
Jan
omponents\com_phocadownload\views\category\tmpl\default.php
components\com_phocadownload\views\category\tmpl\default_files.php
Jan
If you find Phoca extensions useful, please support the project