webaufzack
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Adding to Abners great advice:
Here is the link to the plugin:
https://github.com/AbnerSam/Elementor-Contact-Form-DB-FIXED
If you dont want to install it, you can REPLACE lines 92 to 123 in the file “wp-content/plugins/sb-elementor-contact-form-db/sb_elementor_contact_form_db.php” with:
function sb_elem_cfd_download_csv() { if ( isset( $_REQUEST['download_csv'] ) ) { if ( isset( $_REQUEST['form_name'] ) ) { if ( $rows = sb_elem_cfd_get_export_rows( $_REQUEST['form_name'] ) ) { header( 'Content-Type: application/csv' ); header( 'Content-Disposition: attachment; filename=' . sanitize_title( $_REQUEST['form_name'] ) . '.csv' ); header( 'Pragma: no-cache' ); echo implode( "\n", $rows ); die; } } if ( isset( $_REQUEST['form_id'] ) ) { if ( $rows = sb_elem_cfd_get_export_rows_by_form_id( $_REQUEST['form_id'] ) ) { header( 'Content-Type: application/csv' ); header( 'Content-Disposition: attachment; filename=' . sanitize_title( $_REQUEST['form_id'] ) . '.csv' ); header( 'Pragma: no-cache' ); echo implode( "\n", $rows ); die; } } } }Same problem here, would love a solution! 🙂
Viewing 2 replies - 1 through 2 (of 2 total)