Page 1 of 1

sub sub category file number display

Posted: 19 Jun 2013, 10:43
by cyberx
Hello!
How do I on / off switch on the number of multiple sub-categories in category names for the files?
Currently, the structure looks like this:
cat-(1/0)
--- SUBCAT-(0) [<-on / off this?]
------ subsubcat-(8)
----------file1-
----------file2 ...

I'd like to "SUBCAT" category is see on the number of files subcategories, or you could turn this off.
Understand me?
Could it be?
Help me! Thank you!
(sorry my english is poor)

Display Number of Files (Categories View) if i change no, nothing happens
Display Number of Files (Categories View - Header) if i change no, the main category number can't see, but the subcategory yes.

Re: sub sub category file number display

Posted: 20 Jun 2013, 18:11
by Jan

Re: sub sub category file number display

Posted: 21 Jun 2013, 11:41
by cyberx
hi!
this is not perfect solution

possibel this option change each category separately?
(future request :))

thanks!

Re: sub sub category file number display

Posted: 13 Jan 2014, 17:04
by carlux3
hello !

I have the same issue....

Any new solution ?

Thank you

Re: sub sub category file number display

Posted: 11 Jun 2014, 15:42
by juansolos
Hi,
any idea.
Indeed, if the sub cat shows 0 files because only sub sub cat have ones, it is a pity.

So
SUBCAT-(XXXX)
------ subsubcat-(8)
----------file1-
----------file2 ...
subsubcat2-(7)
----------file1-
----------file2 ...

How to remove only the XXXX or better show 15 files in 2 subcat.

Thanks

Re: sub sub category file number display

Posted: 11 Jun 2014, 16:19
by Jan
Hi, see parameters, some count items are in parameter, so they can be hidden in options.

If not, it can be easily done in CSS:

https://www.phoca.cz/documents/2-phoca-g ... ca-gallery (similar guide for Phoca Gallery, how to hide numbers with help of CSS)

See similar posts in this forum, where is described, why the number only displays the count in the particular category not in its subcategories.

Jan

Re: sub sub category file number display

Posted: 11 Jun 2014, 17:17
by juansolos
Hi, thanks,
i know how hide the count item.

But i dont want to hide it everywhere.

So when the subcat display 0 item, it is not fine and not right.
An alternative could be to display the number of subsubcat like (2/0) but i can't do it in the category view.
Any idea?

Re: sub sub category file number display

Posted: 11 Jun 2014, 23:07
by Jan
Hi, in such case you need to have three numbers: count of subcategories/ count of files in the category/ count of files in all subcategories include this category :idea:

I think the best way is to customize, to exactly add which number/count you need there :idea:

Jan

Re: sub sub category file number display

Posted: 12 Jun 2014, 08:57
by juansolos
Hi,
yes this could be fine.
Any idea to do this?

In the category view, i have only

Code: Select all

$valueSubCat->numdoc
At least how get the number of subsub cat?

Regards