Sorting Download Files

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

donkeymusic
Member

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

#9506

donkeymusic
Member

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

#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

#9508

The tabel odf the manager is the ahm_files tabel.

#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.

#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

#92291

Jerod Schaefer
Participant

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….

#92413

Shafayet
Moderator

@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.