Sorting Download Files

in Download Manager Free

Viewing 8 posts - 51 through 58 (of 58 total)
Oct 29, 2013 at 4:24 pm
#9504
Member
donkeymusic
OP

i think when i first had Download Manager installed in asked about sorting by a creation date/upload date which would work with my monthly newsletters. I had this working. Then there was an upgrade and i lost the settings, now i cant find my initial thread where i asked about what change to the date order.

Basically i am after a chronological order

Oct 29, 2013 at 4:31 pm
#9506
Member
donkeymusic
OP

which table in SQL do you look in for the fields that could be changed?

Oct 29, 2013 at 4:32 pm
#9507

I’m working on sorting by date.
I must add a columm named date to the tabel “ahm_files”.
The plugin must only write the date of all new Downloads to the database.
And there you are.
The mysql command must be “order by date asc”
It’s a lot of work.

Thank you for replying.
Alexander Jank

Oct 29, 2013 at 4:34 pm
#9508

The tabel odf the manager is the ahm_files tabel.

Oct 29, 2013 at 5:09 pm
#9509

I’ve found a way, to sort by date….
In the database-tabel “ahm_files”, you start with the mysql command:

ALTER TABLE `ahm_files` CHANGE `description` `description` DATE NOT NULL

Then go ahead to your WordPress and go to File Manager > Manage.
Edit waht you want and write the date of the file into the field for the description, it’s the tall field.
Edit the php-file of the manager and write “order by description asc” or “order by description desc” in the specified lines(600 or 345).
Now it is sorted by date.

Nov 19, 2015 at 9:40 am
#36703

push – looks like sorting by id is not yet supported. Sorting by file name wont work when you have file_1, file_2,…file_10 then you end up with file_1,file_10,file_2

Jan 15, 2019 at 4:45 am
#92291
Participant
Jerod Schaefer

I know I am late to the game, but has this issue been resolved? I really need to arrange packages in ascending order by date with categories….

Jan 16, 2019 at 5:13 pm
#92413
Moderator
Shafayet
Staff

@jerschae, the total structure is completely different now, please create a new post with your issue, add issue url and the shortcode you are using.

Viewing 8 posts - 51 through 58 (of 58 total)

The topic "Sorting Download Files" is closed to new replies.