
-
AuthorPosts
-
March 1, 2019 at 10:58 pm #1073434
Hi there,
I’m running into issues with modern tribe ticket functionality not appearing on the events. The issue only happens with enfold but does not happen with the default wordpress themes. I have disabled the AJAX features on the theme. I suspect it is Ajax related as there have been other ajax issues between enfold and modern tribes.
You can see the RSVP function if you switch to another theme.
https://wpmusdev.wpengine.com/event/test-rsvp-01/
Thank you in advance for your help.
March 5, 2019 at 9:16 pm #1075080Hey whatcom_museum,
Best regards,
VictoriaMarch 5, 2019 at 10:11 pm #1075105The script issue has been addressed but the issue of the RSVP not working is sill there. Right now, I have disabled all of the plugins and am using the parent Enfold theme and I’m still not seeing the RSVP functionality. You can see the differnece if you turn on one of the default themes. Thank you for your help.
March 7, 2019 at 8:42 pm #1076109This is an important issue. Can you let me know if you are working on it? Thank you.
March 8, 2019 at 12:10 pm #1076315Hi,
Thank you for using Enfold.
The following filter should disable the theme’s custom events template.
remove_action('tribe_events_template', 'avia_events_tempalte_paths', 10, 2);
Add it in the functions.php file and let us know if the RSVP feature shows up.
It’s possible that an action hook is missing in the template that we are not aware of.Best regards,
IsmaelMarch 11, 2019 at 8:53 pm #1077468Hi Ismael,
It doesn’t work. I’ve added this line to my php file
remove_action(‘tribe_events_template’, ‘avia_events_tempalte_paths’, 10, 2);also this line
remove_action(‘tribe_events_template’, ‘avia_events_template_paths’, 10, 2);also the code from this page
https://gist.github.com/yanknudtskov/c23ea7f308ccfcc42374f339947a8e95Nothing seems to work.
Thank you in advance for your help.
March 14, 2019 at 8:54 am #1078587Hi whatcom_museum,
Please check this thread, maybe it’s just not showing as here?
Best regards,
VictoriaMarch 15, 2019 at 5:11 pm #1079187This wouldn’t work because the RSVP elements aren’t in the dom. You can see this by switching over to any theme other than enfold.
Obvously, there are running issues with the theme in this area.
Can I ask you to look into this and give me a thoughtful reply that helps me solve my problem. This is a big deal to me and this thing has been going on for over two weeks. If you are recommending a solution, at the very least to try it out.
Please give me a thoughtful, researched reply. Thank you.
March 19, 2019 at 4:37 am #1080206Hi,
We would like to apologize for the late response.
The RSVP container is probably rendered by hooking into the modules/meta file or the “tribe_events_single_meta_before” action hook, which is not available when the theme is active unless the “tribe_events_single_event_meta_legacy_mode” is set to true. We edited the functions.php file but encountered an error. We have to enable the legacy mode with this filter.
add_filter("tribe_events_single_event_meta_legacy_mode", function() { return true; }, 10);
This is the error in the functions.php file:
Your PHP code changes were rolled back due to an error on line 191 of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again. Uncaught Error: Call to undefined function have_rows() in wp-content/themes/enfold-child/functions.php:191 Stack trace: #0 [internal function]: sd_shortcode_show_homeslider('', '', 'show_homeslider') #1 wp-includes/shortcodes.php(319): uopz_call_user_func('sd_shortcode_sh...', '', '', 'show_homeslider') #2 [internal function]: do_shortcode_tag(Array) #3 wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(show_h...', 'do_shortcode_ta...', '[show_homeslide...') #4 wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php(488): do_shortcode('[show_homeslide...') #5 wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/textblock.php(253): ShortcodeHelper::avia_apply_autop('[show_homesl...') #6 wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.