file-order

Permalink Browser Info Environment
Hi. How can I sort files in alphabetic order? By default, newly uploaded files appear randomly: neither the size nor date seems to be taken into account.

Very useful features would be:
Dragging files to change order or to put it into another folder.
The possibility of renaming folders.

Type: Discussion
Status: New
algro
View Replies:
ConcreteConversion replied on at Permalink Reply
ConcreteConversion
Hello, sorry about the long reply time, I was away on vacation. Now I'm back with a reply though! There is no obvious way of sorting the files, it's done like a normal dir operation which could cause problems. I think the best way to fix it right now (and probably what I will do in the next release) is to go to models/file_model.php in the method called Files(), and add the line:

sort($output);


Right before the return statement.
ConcreteConversion replied on at Permalink Reply
ConcreteConversion
Update: From version 1.2, files are now sorted in alphabetical order as default.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.