File counter error

Phoca Download - download manager
Blazer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2013, 10:56

File counter error

Post by Blazer »

Hi all, apologies if that topic is already covered, although i did a deep search in the forum, did not find any answer.

I am usisng the download component and even everything seems to be working fine, file counter does not seem to work when you have a folder-subfolder-file.

When files are below just a folder they get counted, when they are under 3 folders, still shows 0, even though has 4 files inside.
Any step by step guidance help will be appreciated
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File counter error

Post by Jan »

Hi, the count of files is about the category, not subcategory - such needs to be customized in the code (to use some recursive function to search all the tree of the categories - can be memory issue - see other similar posts)
Jan
If you find Phoca extensions useful, please support the project
Blazer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2013, 10:56

Re: File counter error

Post by Blazer »

Thank you for your answer Jan..

Is there any easier way to do it >? cause i am not much into coding...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: File counter error

Post by Jan »

Hi, I think not :-(
If you find Phoca extensions useful, please support the project
Post Reply