download manager output

Creating and modifying plugins.
Post Reply
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

download manager output

Post by Xanthouos »

How do I go about re-arranging the display of down loadable items?
I changed the item ID in the DB, to correspond with the desired sequence but it seems it's based on something else (timestamp maybe?)

So how do I make it output according to the mysql ID?

TIA!!!
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: download manager output

Post by garvinhicking »

Hi!

In that case you would need to edit serendipity_event_downloadmanager.php and replace every occurence of "order by timestamp" to "order by id".

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Re: download manager output

Post by Xanthouos »

garvinhicking wrote:Hi!

In that case you would need to edit serendipity_event_downloadmanager.php and replace every occurence of "order by timestamp" to "order by id".

HTH,
Garvin
Thank you Garvin. That definitively makes sense. Although, I get "Search string 'order by timestamp' not found!"

Any other ideas? :-)
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: download manager output

Post by garvinhicking »

Hi!

search for "order" only, and check how the followup-text is. Maybe it's with more whitespace characters in between.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Re: download manager output

Post by Xanthouos »

garvinhicking wrote:Hi!

search for "order" only, and check how the followup-text is. Maybe it's with more whitespace characters in between.

Regards,
Garvin
No, sorry. Only " border=\"0\" "
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: download manager output

Post by garvinhicking »

Hi!

Make sure you search case-insensitive.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Re: download manager output

Post by Xanthouos »

:roll: Sorry for my simplicity! :-D
That was the trick. Found it, changed it, WORKS! Hopefully I'll have a happy "client" (pro-bono work ;-) )

Again, thank you Garvin for your dedication to S9Y. This is just one of the many reasons I love this project.
Keep up the good work!
If you can't be a missionary, you can support a missionary.
~~~~~~~~~~~~~~~~~~~~~
www.GetMepis.com
Post Reply