Module: FEU Uploads Sortorder not working for custom fields

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
blackrain
Forum Members
Forum Members
Posts: 98
Joined: Wed Feb 20, 2008 4:33 pm

Module: FEU Uploads Sortorder not working for custom fields

Post by blackrain »

I would like to order my files by a field definition and have followed the instructions on the module help document.

i.e.

Code: Select all

{Uploads category='Area' sortorder=field:section}
unfortunately this throws an error and so I altered the code to

Code: Select all

{Uploads category='Area' sortorder='field:section'}
This just doesn't work either but the page renders but not in order required

any thoughts are welcome

thanks

Mark
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: Module: FEU Uploads Sortorder not working for custom fie

Post by PinkElephant »

blackrain wrote:

Code: Select all

{Uploads category='Area' sortorder='field:section'}
This just doesn't work either but the page renders but not in order required
It works as expected, here:

Code: Select all

{cms_module module="Uploads" category="test-category" sortorder='field:test-field-definition-02'}
and

Code: Select all

{cms_module module="Uploads" category="test-category" sortorder='field:desc:test-field-definition-02'}
... acting on the value of the test-field-definition-02 dropdown (alphanumeric text).

The Help says it'll only work on a Summary view. If that applies look closely at the section values (e.g. print_r) for whitespace, etc).
Locked

Return to “Modules/Add-Ons”