Change Category and Subcategory Description number of files

Phoca Download - download manager
miguelreal
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Apr 2012, 16:52

Change Category and Subcategory Description number of files

Post by miguelreal »

Hello.

I wanted to change something in the ategory and Subcategory Descriptions. In front of the title i have this:

Category (N / N)
Subcategory 1 (N)
Subcategory 2 (N)

This is confusing visitors, because a category displays (0) because it don't have subfolders but it has files in it but users don't click on it thinking it's empty folder/category.

Well, what i want to achieve is something like this:

Category (N sub folders/ N files)
Subcategory 1
Subcategory 2

OR if is more simple

Category (N sub folders/ N files)
Subcategory 1 (N sub folders / N files)
Subcategory 2 (N sub folders / N files)


I think i have to edit some files but which ones and where should i change the code? I don't have much knowledge of php programing too.

Thanks in advanced,
Miguel.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48581
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change Category and Subcategory Description number of fi

Post by Jan »

Hi, yes, the output files needs to be changed:

categories view:
components/com_phocadownload/views/categories/ ...
category view:
components/com_phocadownload/views/category/ ...

there are output files behind the "tmpl" folder but maybe you will need to customize the view.html.php files too.

Jan
If you find Phoca extensions useful, please support the project
Post Reply