Feature request: Allow ordering on filelist view on Phoca Download Plugin

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
User avatar
kokbira
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Nov 2019, 19:25

Feature request: Allow ordering on filelist view on Phoca Download Plugin

Post by kokbira » 05 Nov 2019, 14:28

Well, Phoca Download Plugin allows to show a list of files of certain category embedded on an article in Joomla, using {phocadownload view=filelist|id=XX|limit=YY}, where XX is the category ID and YY is the number of files to show, but it does not control the list ordering.

The order of files is set only on Phoca Download general settings, so you cannot set different ordering settings for different categories.

I faced with the issue to put files ordered by ascendant title in a category and to put the last 6 files added in another category where files have the following name format (title=name): CATEGORY YYYY-MM, where YYYY is the 4-digit year and MM is the 2-digit month. So, for this second category, I would ordering by descendant title and limit to view only six files.

I found that solution, to change the code, and it was very simple:

https://joomla.stackexchange.com/questi ... oca-downlo

So, I would like to have that possibility developed for filelist view on Phoca Download Plugin, because I see that it would be very simple - the developers can create at least a new case for each ordering (example, maintain filelist, create filelistdt, filelisstat etc.). Other changes would be made to allow more elegant syntax of calling Phoca Download Plugin, for example {phocadownload view=filelist|id=XX|limit=YY|ordering=ZZ}.

Tags:

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41746
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature request: Allow ordering on filelist view on Phoca Download Plugin

Post by Jan » 05 Nov 2019, 14:46

Hi, thank you for the info.

Added to feature request list.

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

Post Reply