eternity575 Posted April 21, 2006 Share Posted April 21, 2006 im using osc with htmlarea 2.03 in it. in the image manager, the image filenames are randomly sorted. any chance of having a solution? please dont tell me to change editor, too much of a hassle for such a small thing :) thnx Link to comment Share on other sites More sharing options...
compwhizmm90 Posted April 21, 2006 Share Posted April 21, 2006 im using osc with htmlarea 2.03 in it.in the image manager, the image filenames are randomly sorted. any chance of having a solution? please dont tell me to change editor, too much of a hassle for such a small thing :) thnx I have been wanting to do the samething. Does anyone know how? Thanks Link to comment Share on other sites More sharing options...
Wizzums Posted April 27, 2006 Share Posted April 27, 2006 im using osc with htmlarea 2.03 in it.in the image manager, the image filenames are randomly sorted. any chance of having a solution? please dont tell me to change editor, too much of a hassle for such a small thing :) thnx I'm not sure what version of HTML Area I'm using, but I struggled with the same issue. The solution I found is pretty simple (hope it works for you). In the /htmlarea/popups/ directory, you will find a file called "lister.php". In that file you will find a function called "listDirs()". At the very end of that function, you will see: // return the Directories return $result; Change this to: // sort result sort($result); // return the Directories return $result; This will sort the contents of the $result array alphabetically. You will also need to make the exact same change to the "listFiles()" function directly below the "listDirs()" function. Good luck! Link to comment Share on other sites More sharing options...
♥stubbsy Posted October 31, 2006 Share Posted October 31, 2006 Thanks for that fix, works a treat :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.