Remove “Email Sent” message
-
Hi!
thank you for the great email Before Download plugin. It works very well. I am using it with Download Monitor and Contact Form 7.
I need help fixing an issue. When the download is requested at this page https://aksert.com/business-insights/ the plugin Email Before Download will display a message “The link to the file(s) has been emailed to you”.
This message breaks the page design as you can see here https://www.diigo.com/item/image/5pj5q/apdq
This is caused by the following code in the email-before-download.php file:
if($is_new_cf7){ $additional_settings = $cf7->prop( 'additional_settings' ); $additional_settings .= "\n". "on_sent_ok: \"document.getElementById('wpm_download_$dId').style.display = 'inline'; document.getElementById('wpm_download_$dId').innerHTML='The link to the file(s) has been emailed to you.'; \""; $cf7->set_properties( array( 'additional_settings' => $additional_settings ) ); } else $cf7->additional_settings .= "\n". "on_sent_ok: \"document.getElementById('wpm_download_$dId').style.display = 'inline'; document.getElementById('wpm_download_$dId').innerHTML='The link to the file(s) has been emailed to you.'; \""; }
Please, is there any way to disable this message and avoid it being enabled again in future plugin updates?
Any advice is welcome.
Rgs
IM
The page I need help with: [log in to see the link]
- The topic ‘Remove “Email Sent” message’ is closed to new replies.