Home › Forums › Calendar Products › Events Calendar PRO › Using Advanced Custom Fields with Events Calendar Pro
- This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brook.
-
AuthorPosts
-
November 12, 2014 at 8:53 am #879909
fjorge
ParticipantHello,
I have my dev site here: http://medinaentertainment.com.l01.project-qa.com/events/ with the events calendar pro using a custom template I created. You can see the calendar on the bottom – however – on the top part of the template I have an ACF repeater that is not displaying. The top portion appears if I am not using the calendar so I know it can display the data – which means there must be a conflict with using the calendar as well as having a separate ACF repeater in one template…I’m new to the plugin so any help would be appreciated!November 13, 2014 at 10:18 am #882622Brook
ParticipantHowdy fjorge,
I apologize for the slow response. I typed on up yesterday but must have closed the window too quickly after clicking submit.
I bet this is related to the JavaScript error you can see on that page. It can be hard to debug minified JS files. You might try setting the wp-config.php constant SCRIPT_DEBUG to true. That will deminify the scripts in use and allow us to debug further. Although, sometimes the best way to debug even with readable files is to just disable a script or more at a time until it is working, then we can have a closer look at the conflict. You could try renaming the the-events-calendar/resources/ folder to resources-bak. Do the same thing with PRO. This will break more than a few things on your site, so be prepared to name it back to the original.
If ACF starts working then it’s a JS error that we are looking for. If it does not start working, then I bet ACF is in the wrong place. If you put it inside of the events loop, it will have all the wrong data and will not be able to display. It would need to be moved outside of the loop/events template. It might work better inside of a page template. Don’t worry about this until we have checked if it is a JS error though.
Please let me know if that helps isolate the problem. Thanks!
– Brook
November 13, 2014 at 11:42 am #882772fjorge
ParticipantHey thanks for your response – it wasn’t a JS issue but with your advice I did discover that my ACF fields were not getting reached by the template I had created since they were specific to a page and not “global”.
So issue resolved and thanks for your help!
November 17, 2014 at 10:26 pm #888749Brook
ParticipantAwesome, glad to hear you got it resolved. Thanks for the update fjorge.
– Brook
-
AuthorPosts
- The topic ‘Using Advanced Custom Fields with Events Calendar Pro’ is closed to new replies.
