Flordeliza LaVelle

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
Apr 1, 2020 at 2:23 pm
#124877

I think I found the solution. I updated line 103 in my /download-manager/libs/class.FileSystem.php file to say,

if ( ( get_option(‘__wpdm_open_in_browser’, 0) || wpdm_query_var(‘open’) == 1 ) && ( array_pop( explode(‘.’,$filename ) ) != ‘ies’ ) )

Thank you for all your help!!

Apr 1, 2020 at 1:56 pm
#124873

Thank you Nayeem –

I checked the link and files that end in “.IES” still launch in a new tab.

http://159.65.218.98/resources/
If you scroll down to the table, buttons that say IES should be direct downloads.

Your teams helped me achieve this functionality in this page:

Resources

Please let me know how I can help.

Mar 31, 2020 at 4:39 pm
#123150
This reply has been marked as private.
Mar 30, 2020 at 7:19 pm
#123102

Hello!

I am the original poster to this issue. I have since updated to the new Download Manager and lost the customization to the plugin code. When I tried to repeat the steps illustrated above, it looks like the code has changed, e.g. the code to be replaced is no longer at line no. 97.

Can I please ask for your assistance again in have files that end in .IES force a direct download vs. opening in a new browser window.

Thank you in advance!

Oct 26, 2019 at 5:04 pm
#113935

Thank you so much!! This worked out wonderfully =)

Oct 24, 2019 at 1:59 pm
#113877

Thank you for the help! This worked out great.

Oct 23, 2019 at 8:52 pm
#113847

Thank you for the response!

RE: When using the main download button.
I applied this code to the custom link template and it works great. Is there a way to still have the styled “DOWNLOAD” button with this code, versus just using the words “Download”?

Thank you in advance!

Viewing 7 posts - 1 through 7 (of 7 total)