November 2018: Registration is broken at the moment - we are working on it. Sorry for the inconvenience!
Check the blog for the latest news about the ongoing FlatPress revival!
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