Adam

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: How do I change the behavior on the tooltip? #1393038
    Adam
    Participant

    the dequeue worked!

    Thanks again Patricia!

    Of course now I’m having issues getting the edited files in. I am trying to follow the part about Javascript Templates in the Themer’s Guide. It says to follow the Customizing Styles section.

    So I changed the code recommended for .css file, which is:

    function replace_tribe_events_calendar_stylesheet() {
       $styleUrl = get_bloginfo('template_url') . '/custom-events-stylesheet.css';
       return $styleUrl;
    }
    add_filter('tribe_events_stylesheet_url', 'replace_tribe_events_calendar_stylesheet');

    to:

    function replace_tribe_events_calendar_tribe_events_js() {
       $jsUrl = get_bloginfo('template_url') . '/tribe-events.js';
       return $jsUrl;
    }
    add_filter('tribe_events_stylesheet_url', 'replace_tribe_events_calendar_tribe_events_js');

    But I think I need a different filter than tribe_events_stylesheet_url.

    I put this code in functions.php in my child theme along with the .js files.

    I also haven’t had any luck finding more resources here, can you point me in the right direction?

    in reply to: How do I change the behavior on the tooltip? #1385994
    Adam
    Participant

    I am trying to dequeue the tribe-events.min.js file.

    Here is my dequeue code I am putting in function.php in the child theme:

    /*
    * dequeue tribe-events.min.js files
    */
    function dequeue_tribe_events() {
        wp_dequeue_script( 'tribe-events' );
        wp_deregister_script( 'tribe-events' );
    }
    add_action( 'wp_print_scripts', 'dequeue_tribe_events', 100 );

    It doesn’t seem to be working since I can still find that file when I view source.

    Have any tips?

    in reply to: Status wheel not stopping #1383838
    Adam
    Participant

    My apologies, my issue was due to our own code. Ignore the reply above ^

    in reply to: Status wheel not stopping #1383714
    Adam
    Participant

    I’m having the same issue since updating to the latest versions. The Calendar refused to advance to the next Week/Month and the spinner just keeps spinning.

    Please keep us posted on a resolution for this.

    in reply to: How do I change the behavior on the tooltip? #1383006
    Adam
    Participant

    Thank you Patricia!

    could you expand on:

    you will have to change other plugin templates, because if you click an event in month view calendar, it will lead you to the event’s page/URL and not open the tooltip as intended.

    is this the other plugin template I would have to change?

    public/wp-content/plugins/events-calendar-pro/src/resources/js/tribe-events-pro.js

    in reply to: How do I change the behavior on the tooltip? #1382938
    Adam
    Participant

    I’m still digging into this.

    Is this the file I need to change? line 976?
    public/wp-content/plugins/the-events-calendar/src/resources/js/tribe-events.js

    Is there an update on this post?

    in reply to: Sorting Events by Time in Main Calendar View #1370110
    Adam
    Participant

    I’ve deactivated the Post Types Order plugin and the calendar is now behaving as expected. I apologize for not fully testing that before posting here. I did try deactivating plug ins first, but I may have neglected to clear the site cache before testing.

    Thank you for the suggestion. I’ll just have to work around not using the Post Types Order plugin once we get into production. Unless you have any other work around suggestions?

    -a

    in reply to: Sorting Events by Time in Main Calendar View #1369575
    Adam
    Participant

    This reply is private.

Viewing 8 posts - 1 through 8 (of 8 total)