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
category view > filelist ONE PAGE
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: category view > filelist ONE PAGE
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 35
- Joined: 15 Nov 2015, 11:25
Re: category view > filelist ONE PAGE
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.
I need all available files listed one one single page, separated by their category.
Any ideas? Thx.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: category view > filelist ONE PAGE
If you find Phoca extensions useful, please support the project