1
nuker
imagemanager image sort order
  • 2006/6/28 17:09

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


is it possible to set the default sort order for the imagemanager pictures to sort by newest first?

currently the oldest images are at the start of the list, so when users add a new image, they must navigate to the last page/end of list....

2
elpaksu
Re: imagemanager image sort order
  • 2009/1/13 10:07

  • elpaksu

  • Just popping in

  • Posts: 10

  • Since: 2006/2/9 1


PUSH UP?

3
elpaksu
Re: imagemanager image sort order
  • 2009/1/14 7:39

  • elpaksu

  • Just popping in

  • Posts: 10

  • Since: 2006/2/9 1


Add in file /imagemanager.php after row 90 ($criteria->setStart($start);)

$criteria->setSort('image_id');
$criteria->setOrder('DESC');

4
Peekay
Re: imagemanager image sort order
  • 2016/1/20 12:54

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


The lack of any sort order in the TinyMCE image-manager plugin has bugged me for years, but I have just lived with it.... until now!

Quote:
class\xoopseditor\tinymce\tinymce\jscripts\tiny_mce\plugins\xoopsimagemanager\xoopsimagebrowser.php


Added the above fix at around line 470.

It is a little late (6 years) but many thanks elpaksu

5
Mamba
Re: imagemanager image sort order
  • 2016/1/22 17:14

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Cool! I've added it to XOOPS 2.5.8

Thank you for letting us know about this solution...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

234 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits