1
limecity
Xoops image manager sort
  • 2007/3/23 2:18

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Its very annoying when I have 20 pages of images
and when i upload a image i have to wait for them to load
just so I can scroll down to the bottom and click on the last page.


my question is.
how do i hack this image manager so it shows the newest one first on the first page instead of the last page?

or is there a config somewhere in the admin i can do this?
hhttp://www.mounthiking.com
all your hiking gears and gadgets


2
limecity
Re: Xoops image manager sort
  • 2007/3/23 15:49

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


bump[
hhttp://www.mounthiking.com
all your hiking gears and gadgets


3
suico
Re: Xoops image manager sort
  • 2007/3/23 16:12

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


I am not at home, so I can't try it here to know if it works, but try doing this:

Open file image.php
go to line 52:
$criteria->add(new Criteria('i.image_id'$image_id));


add a line immediately under the line above:
$criteria->setOrder('DESC');


Come back here and tell me if it worked.

I hope to have helped you, if not I'll look at it at home for you with more tools to look at it it may work.
Yogurt Social Network Service
Visit: http://www.marcellobrandao.eti.br/

Login

Who's Online

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


Members: 0


Guests: 333


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