display the number of files in a category, recursively

Phoca Download - download manager
peorthyr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Sep 2014, 11:36

display the number of files in a category, recursively

Post by peorthyr »

Good day all.
I've installed phoca download and everything has gone pretty forward.
My only doubt is that from what I see in the preferences, there is no way to display the number of file recursively on categories and subcategories, I mean, is there a way to show the number of files in parents categories, counting also the ones inside its subcatecory? something like:

categoryname (5)
|_ subcategory (1)
|_ _file
|_ subcategoryB(4)
|_ _subcategoryC(4)
|_ _ _file
|_ _ _file
|_ _ _file
|_ _ _file

from what I've found, there's only the option to display the file number of the category itself, not the subcategories, and at least, do not display anything... but the count of the files of a given category should be an important layout helper imho... how can I achieve it?

thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: display the number of files in a category, recursively

Post by Jan »

Hi, this needs to be customized in the code.

See other similar posts in this forum. There is never knows, which way is right:

- to display count of files in category and all subcategories (is it right to display the count of files in other categories? can be this confusing?)
- to display count of files only in the selected category

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