Page 1 of 1
download manager output
Posted: Mon Mar 16, 2009 12:23 pm
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!!!
Re: download manager output
Posted: Mon Mar 16, 2009 12:36 pm
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
Re: download manager output
Posted: Mon Mar 16, 2009 1:53 pm
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?
Re: download manager output
Posted: Mon Mar 16, 2009 2:40 pm
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
Re: download manager output
Posted: Mon Mar 16, 2009 2:52 pm
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 " b
order=\"0\" "
Re: download manager output
Posted: Mon Mar 16, 2009 3:14 pm
by garvinhicking
Hi!
Make sure you search case-insensitive.
Regards,
Garvin
Re: download manager output
Posted: Mon Mar 16, 2009 3:39 pm
by Xanthouos
Sorry for my simplicity!
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!