• Resolved nickjgiordano

    (@nickjgiordano)


    Files don’t get added to emails, whether they’re added as attachments or just links. The field is called “case-images”, and I’ve included the [case-images] tag in the relevant places for the email.

    Let me know if you need any more info.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Glen Mongaya

    (@glenwpcoder)

    Hello @nickjgiordano ,

    Can you please provide a screenshot of your Form & Mail settings?

    Also, include a link to your site where the form was added.

    Glen

    Thread Starter nickjgiordano

    (@nickjgiordano)

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Hello @nickjgiordano ,

    Thanks for the screenshot, it seems like the problem was on the front-end.

    Theres assets/javascript was not loaded:

    /wp-content/plugins/contact-form-7/includes/js/index.js
    /wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/codedropz-uploader-min.js
    /wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/assets/js/dnd-upload-cf7.js

    Please check in your theme maybe there’s a function that disabled this script.

    Regards,
    Glen

    Thread Starter nickjgiordano

    (@nickjgiordano)

    I’ve had a look through the functions.js file to see mentions of where those scripts might be blocked, but I can’t find anything. I’m not sure what I’m looking for really. Would you be able to point me in the direction of where to go and what to look for?

    Thanks,
    Nick

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Try to add this in your wp-config.php

    define( ‘WPCF7_LOAD_JS’, true );
    define( ‘WPCF7_LOAD_CSS’, true );

    Or in your functions.php

    add_filter( ‘wpcf7_load_js’, ‘__return_true’ );
    add_filter( ‘wpcf7_load_css’, ‘__return_true’ );

    Also try to deactivate if there’s any other plugin related to contact form 7. (except drag & drop upload & contact form 7)

    Thread Starter nickjgiordano

    (@nickjgiordano)

    There was a plugin “Redirection for Contact Form 7”, that wasn’t being used for this particular form. I’ve deactivated it anyway. I added those lines to wp-config, but no luck. For good measure I added those lines to functions.php, but that didn’t do the trick either. I don’t see any other plugins that relate to CF7 directly. Do you have any other suggestions?

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Can create temporary admin account so I can take look?

    If it’s okay email me the details glenmongaya@gmail.com

    Thread Starter nickjgiordano

    (@nickjgiordano)

    Hey Glen, I’ve sent another email. Sorry for taking so long to get back to you. Setting up the dev site took longer than expected. Are you able to take a look? Thanks.

    Plugin Author Glen Mongaya

    (@glenwpcoder)

    Okay @nickjgiordano , thanks.

    Thread Starter nickjgiordano

    (@nickjgiordano)

    Thank you so much Glen!

    For those interested, there was code in functions.php that disabled jquery. These lines were present in functions.php and needed commenting out:

    wp_dequeue_script('jquery');
    wp_deregister_script('jquery');
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Files not recognized’ is closed to new replies.