Phoca
Phoca Seal

sub sub category file number display

sub sub category file number display

Postby cyberx on 19 Jun 2013, 10:43

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.
cyberx
Phoca Member
Phoca Member
 
Posts: 10
Joined: 26 May 2009, 09:17

Google Ads


Re: sub sub category file number display

Postby Jan on 20 Jun 2013, 18:11

If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32019
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: sub sub category file number display

Postby cyberx on 21 Jun 2013, 11:41



hi!
this is not perfect solution

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

thanks!
cyberx
Phoca Member
Phoca Member
 
Posts: 10
Joined: 26 May 2009, 09:17

Re: sub sub category file number display

Postby carlux3 on 13 Jan 2014, 17:04

hello !

I have the same issue....

Any new solution ?

Thank you
carlux3
Phoca Newbie
Phoca Newbie
 
Posts: 1
Joined: 13 Jan 2014, 17:00

Re: sub sub category file number display

Postby juansolos on 11 Jun 2014, 15:42

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
juansolos
Phoca Member
Phoca Member
 
Posts: 28
Joined: 24 Feb 2011, 00:13

Re: sub sub category file number display

Postby Jan on 11 Jun 2014, 16:19

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:

http://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 some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32019
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: sub sub category file number display

Postby juansolos on 11 Jun 2014, 17:17

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?
juansolos
Phoca Member
Phoca Member
 
Posts: 28
Joined: 24 Feb 2011, 00:13

Re: sub sub category file number display

Postby Jan on 11 Jun 2014, 23:07

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
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 32019
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: sub sub category file number display

Postby juansolos on 12 Jun 2014, 08:57

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
juansolos
Phoca Member
Phoca Member
 
Posts: 28
Joined: 24 Feb 2011, 00:13


Return to Phoca Download

Who is online

Users browsing this forum: No registered users and 4 guests