File counting sub dirs?

Phoca Download - download manager
greenmeanie
Phoca Member
Phoca Member
Posts: 10
Joined: 05 Jun 2008, 18:12
Location: ct
Contact:

File counting sub dirs?

Post by greenmeanie »

EX - (Category name)
-> (test)
--> (test1)
--> (test2)

Anything uploaded and posted in test1 and test2 doesn't add to the Category NAME post count?
Last edited by greenmeanie on 19 Aug 2011, 17:17, edited 2 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File counting sub dirs?

Post by Jan »

Hi, which version of Phoca Download you are using, the count is only count of category, so files from the category are countend not from all subcategories.

Jan
If you find Phoca extensions useful, please support the project
greenmeanie
Phoca Member
Phoca Member
Posts: 10
Joined: 05 Jun 2008, 18:12
Location: ct
Contact:

Re: File counting sub dirs?

Post by greenmeanie »

I am using VER 2.0.1 of Phoca Download.
Maybe someday you can have it add all Directories so people know there are files in the subdirectories too.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File counting sub dirs?

Post by Jan »

Hi, added into feature request list.

Jan
If you find Phoca extensions useful, please support the project
greenmeanie
Phoca Member
Phoca Member
Posts: 10
Joined: 05 Jun 2008, 18:12
Location: ct
Contact:

Re: File counting sub dirs?

Post by greenmeanie »

Thanks
hkingman
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 08 Mar 2011, 05:26

Re: File counting sub dirs?

Post by hkingman »

Yes, this would be useful! I would prefer (x files, n subcats). The code looks set up for this, with $numDoc and $numSubcat vars.

Also, in 2.0 and now 2.01 (on Joomla 1.7), I can't disable the count. In Control Panel | Options I have set:

Display Number of Files (Categories View) NO
Display Number of Files (Categories View - Header) NO

But the file count still shows up.

Cheers

-Henry
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File counting sub dirs?

Post by Jan »

Hi,

Display Number of Files (Categories View) NO
Display Number of Files (Categories View - Header) NO
Testing now and everything is working Ok :idea:
If you find Phoca extensions useful, please support the project
Post Reply