Forum Replies Created
-
AuthorPosts
-
Adam
Participantthe 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?
Adam
ParticipantI 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?
Adam
ParticipantMy apologies, my issue was due to our own code. Ignore the reply above ^
Adam
ParticipantI’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.
Adam
ParticipantThank 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
Adam
ParticipantI’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.jsIs there an update on this post?
Adam
ParticipantI’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
Adam
ParticipantThis reply is private.
-
AuthorPosts
