Page 1 of 1

Quick and Dirty File Count?

Posted: 14 Aug 2012, 23:39
by tapiochre
Hi there

Has anyone got an idea how I can simply extract the number of published files in a catagory?

I want to have a module that looks at a PDL Category ID, counts the number of published files in that Category and returns that as a number to show in the module.

The application is to let me show visitors the total number of downloable forms that are available for access without them having to drill down into the category list view!

Chris

Re: Quick and Dirty File Count?

Posted: 16 Aug 2012, 22:59
by Jan
Hi, just create new module and add the sql query with sum of the files stored in phocadownload table.

Jan