Page 1 of 1

Change Category and Subcategory Description number of files

Posted: 18 Jul 2013, 17:29
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.

Re: Change Category and Subcategory Description number of fi

Posted: 23 Jul 2013, 17:36
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