Page 1 of 1

category view > filelist ONE PAGE

Posted: 27 Aug 2015, 15:49
by erium22
Hello all,
i need to display the file lists whithin the subcategory list, on one page.

- SUBCATEGORY 1
- Download 1
- Download 2
- Download 3

- SUBCATEGORY 2
- Download 1
- Download 2

- SUBCATEGORY 3
- Download 1
- Download 2

How can I display the file lists of the subcategories?
Line 73 /components/com_phocadownload/views/category/tmpl/default.php

// Subcategories
if (!empty($this->subcategories)) {
foreach ($this->subcategories as $valueSubCat) {

echo '<div class="pd-subcategory">';
echo '<div class="list-row">';
echo '<h2>'. $valueSubCat->title.'</h2>';

HERE FILE LIST
- Download 1
- Download 2
- Download 3


I tried something with PhocaDownloadModelCategory::getFileList() and $valueSubCat->getFileList
didn't work..

Did anybody already made this hack?

Thanx for help,
Pierre

Re: category view > filelist ONE PAGE

Posted: 29 Aug 2015, 13:22
by Jan
Hi, for now I didn't do such modification as it needs to be set directly for server environment - displaying all categories, subcategories and all files on one site can slow down your server or stop it working (when a lot of items needs to be loaded at once - no pagination, no difference between categories, subcategories and files)

Jan

Re: category view > filelist ONE PAGE

Posted: 15 Nov 2015, 14:26
by sirkai
Hi, I think I need the same functionality.
I need all available files listed one one single page, separated by their category.
Any ideas? Thx.

Re: category view > filelist ONE PAGE

Posted: 16 Nov 2015, 22:53
by Jan