Introduce yourself here! In order to avoid spam, new users must first comment on the discussion in the 'Introductions' before they become 'full members'
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