Home › Forums › Front-end Issues › Front-End Form with template (and The Events Calendar) › Reply To: Front-End Form with template (and The Events Calendar)
Digging deeper I found that in addition to their specific event page types they also wrap inside a more general template – /wp-content/plugins/the-events-calendar/views/ecp-page-template.php – that you can copy into your theme and customize presentation of. That does make a call to get_header() that I can put the acf_form_head() in front of.
I’m still left with two JS errors:
TypeError: e.fn.datepicker.noConflict is not a functioncalling from wp-content/plugins/the-events-calendar/resources/tribe-events.min.js?ver=3.4.1
TypeError: g is undefinedcalling from /wp-includes/js/tinymce/tiny_mce.js?ver=359-20131026
Cross-posted onto the tri.be support forum for plugin conflict impact – http://tri.be/support/forums/topic/plugin-conlict-js-errors-from-tec-front-end-acf-form-on-an-event-template/#DiscussionForm
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We've just released ACF 5.12.3 with a security fix to prevent arbitrary file uploads to forms with ACF fields.— Advanced Custom Fields (@wp_acf) July 14, 2022
Now that we've released this update, we recommend updating your sites as soon as possible.
© 2022 Advanced Custom Fields.