How can I auto-update the file I upload?

in Download Manager Free

Viewing 12 posts - 26 through 37 (of 37 total)
Jan 8, 2022 at 9:56 am
#166424
Spectator
Tanvir

Hello,

“Download” text can be changed by editing php file of wpdm theme.
However, to change download text in the file list,
https://ftsincome.co.uk/testin-dwn/

It needs to edit in src/package/filelist.php page.
However, to edit button on shortcodes, I need to edit in another php files.

Do you just need to change download text in the filelist only?

Also updating wpdm plugin or activated theme will remove the edits unless you use child theme.

Thanks

Jan 8, 2022 at 10:36 am
#166425
Participant
Adeyeye Gabriel
OP

Hello Tanvir,

I want to edit each button shortcodes, so the button shows different download text, how do I do that.

Like the text link style where I set any text as the download text, I want the same too.

And also how can list the files on https://ftsincome.co.uk/testin-dwn/ to show from the newest to the oldest.

I have been able to make it show just 14 files as I want but I don’t get the sorting.

Thanks

Jan 9, 2022 at 5:08 pm
#166436
Spectator
Tanvir

Hello,
Glad to hear that the 14 files issue has been fixed.
Let me know please did you edit the filelist.php for that?

Also Adding asort($allfiles); in download-manager\src\Package\filelist.php
in near around line 345 will solve the sorting issue.
sort

However, You can also change the download text from there. Also to change download buttons in shortcode, just provide me the page url with the shortcode you are using so that I could guide you to change those too.
Thanks

Jan 9, 2022 at 6:25 pm
#166437
Participant
Adeyeye Gabriel
OP
This reply has been marked as private.
Jan 10, 2022 at 7:58 am
#166441
Spectator
Tanvir

OK please provide me temporary admin access of your website and ftp access.
So that I could do it.
Also please let me know the changes you want in shortcode and just let me know where did you applied changes to show 14 files. That could also create issue.
Thanks

Jan 11, 2022 at 3:29 pm
#166500
Participant
Adeyeye Gabriel
OP
This reply has been marked as private.
Jan 12, 2022 at 1:53 pm
#166545
Spectator
Tanvir

Hello,

You can change this text to change the download button text.
Screenshot-8

I checked it in the line 67 in FileList.php file.

Thanks

Jan 12, 2022 at 2:00 pm
#166546
Participant
Adeyeye Gabriel
OP

I want to be able to set different download text for different single file package, not a total change to all download button.

The same way this Direct download link work
https://www.wpdownloadmanager.com/doc/short-codes/wpdm_direct_link-embed-direct-download-link-as-a-simple-text-link/

Or if there is a CSS class I need to add to the direct link as a simple text link to make it a button, I will appreciate.

Thanks.

Jan 14, 2022 at 12:34 pm
#166610
Spectator
Tanvir

Hello @science4me,
Hope you are well.
Unfortunately it is not possible currently. You can’t add different text for individual buttons. Instead, you can set different text for all the buttons as I showed in the last reply.
However, you can contact with the customization team about this issue like the another issue to get a customization service.
Thanks

Jan 15, 2022 at 8:11 am
#166627
Participant
Adeyeye Gabriel
OP

Okay Tanvir,

Where Can I put the codes I put in Filelist.php so that new updates wont overwrite it

Thanks

Jan 15, 2022 at 10:55 am
#166631
Spectator
Tanvir

Hello,
Sorry There is no filter available for this function . You have to manually edit this every times you update. However, if you apply customization service, they will give you the solution to use the codes without overwriting.
Thanks

Jan 30, 2022 at 7:27 am
#167290
Keymaster
Shahjada
Staff

We shall add a filter with the next update to manipulate file list

Viewing 12 posts - 26 through 37 (of 37 total)

The topic "How can I auto-update the file I upload?" is closed to new replies.