Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.

    #1075080

    Hey whatcom_museum,

    Best regards,
    Victoria

    #1075105

    The 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.

    #1076109

    This is an important issue. Can you let me know if you are working on it? Thank you.

    #1076315

    Hi,

    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,
    Ismael

    #1077468

    Hi 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/c23ea7f308ccfcc42374f339947a8e95

    Nothing seems to work.

    Thank you in advance for your help.

    #1078587

    Hi whatcom_museum,

    Please check this thread, maybe it’s just not showing as here?

    Best regards,
    Victoria

    #1079187

    This 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.

    #1080206

    Hi,

    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.