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.
sub sub category file number display
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: sub sub category file number display
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 26 May 2009, 09:17
Re: sub sub category file number display
hi!
this is not perfect solution
possibel this option change each category separately?
(future request

thanks!
-
- Phoca Newbie
- Posts: 1
- Joined: 13 Jan 2014, 17:00
Re: sub sub category file number display
hello !
I have the same issue....
Any new solution ?
Thank you
I have the same issue....
Any new solution ?
Thank you
-
- Phoca Member
- Posts: 30
- Joined: 24 Feb 2011, 00:13
Re: sub sub category file number display
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
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
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: sub sub category file number display
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 30
- Joined: 24 Feb 2011, 00:13
Re: sub sub category file number display
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?
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?
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: sub sub category file number display
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 
I think the best way is to customize, to exactly add which number/count you need there
Jan

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

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 30
- Joined: 24 Feb 2011, 00:13
Re: sub sub category file number display
Hi,
yes this could be fine.
Any idea to do this?
In the category view, i have only
At least how get the number of subsub cat?
Regards
yes this could be fine.
Any idea to do this?
In the category view, i have only
Code: Select all
$valueSubCat->numdoc
Regards