Welcome to the archive of the old FlatPress support forum. Browse more than a decade of FlatPress wisdom! Login is disabled.

The current FlatPress support forum is available here: forum.flatpress.org
Media Manager Plugin - How to sort files by most recently uploaded?
  • Anyone know how to do this? I haven't used php in a while and could use a hand. Thanks!!
  • I did some searching and answered my own question. In the panel.mediamanager.file.php, in the first function, I changed "name" to "mtime". Now it sorts by date. However, I wanted it to sort by most recent date, so in the return section of this function I simply swapped the $a,$b to $b,$a and now it does what I wanted. Hope this helps someone.
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion