How to display subcategories with content plugin ?
Posted: 03 May 2021, 10:25
Hi.
We need to display the 5 most downloaded files of all subcategories of a parent category. How to do this with the PhocaDownload content plugin?
We put the following tag
but no files are displayed since the parent category does not contain (and will never contain) any files.
Another problem with this plugin is that options 13, 14, 15 and 16 of the ordering attribute do not work, an SQL error is displayed, count and average fields appear unknown:
Thank you in advance for your help.
Best regards.
We need to display the 5 most downloaded files of all subcategories of a parent category. How to do this with the PhocaDownload content plugin?
We put the following tag
Code: Select all
{phocadownload view=filelist|id=9|limit=5|ordering=10|target=b}
Another problem with this plugin is that options 13, 14, 15 and 16 of the ordering attribute do not work, an SQL error is displayed, count and average fields appear unknown:
Code: Select all
Unknown column 'r.count' in 'order clause'
Unknown column 'r.average' in 'order clause'
Best regards.