Flordeliza LaVelle

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
in reply to: Direct Download only certain file types #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!!

in reply to: Direct Download only certain file types #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.

in reply to: Direct Download only certain file types #123150
This reply has been marked as private.
in reply to: Direct Download only certain file types #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!

in reply to: Direct Download only certain file types #113935

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

in reply to: Open PDFs in New Browser Tab #113877

Thank you for the help! This worked out great.

in reply to: Open PDFs in New Browser Tab #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)