Page 1 of 1

display the number of files in a category, recursively

Posted: 10 Sep 2014, 11:44
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.

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

Posted: 10 Sep 2014, 21:48
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