Forum Replies Created
-
AuthorPosts
-
Timothy Wood
ParticipantMatthew, I replied directly to your email; however, in case anyone else is having similar issues they can check that the main query isn’t being influenced by another plugin, post type or permalinks.
I created a simple gist that will check if the original query vars are calling for The Events Calendar and forces the query to stay on track without having ‘post_type’ reset to another post type https://gist.github.com/3286798
August 28, 2012 at 12:44 pm in reply to: Recurring Events showing wrong date in Google Calendar #24239Timothy Wood
ParticipantHi all, I have updated the code for this particular bug and the next release of PRO will include the fix.
Timothy Wood
ParticipantHey Tai, I imported your field set and have not been able to replicate your issue reliably. I say reliably because the image doesn’t stick when publishing while not having a main post data (title or content), but as long as the event fields are set it saves fine. Do you have any other plugins or ACF field groups that could be conflicting with ACF? Have you tried seeing if it saves with just a basic text field?
Side note that I not able to replicate the issue with the events menue open while you are editing the field group at all.
Timothy Wood
ParticipantGreat thank you! I will work on setting up my dev instance to replicate the field group. Cheers.
Timothy Wood
ParticipantHello Tai, I am one of the developers on The Events Calendar (TEC) plugins, I also have a lot of experience with Elliot’s ACF plugin and TEC. Can you tell me what version of ACF you are using?Are the fields you are using in the repeater field or just fields by themselves in the group? Finally, if you don’t mind exporting your field group so I can try it locally on a dev instance?
August 24, 2012 at 12:13 pm in reply to: Permalink conflict with Yoast SEO on recurring events #24072Timothy Wood
ParticipantThere is a bug fix coming in the next release for this. In the meantime, if you look in The Events Calendar core plugin /lib/the-events-calendar.class.php around line 602 replace the function “addDateToRecurringEvents” with the following code:
public function addDateToRecurringEvents($permalink, $post) {
if( function_exists(‘tribe_is_recurring_event’) && $post->post_type == self::POSTTYPE && tribe_is_recurring_event($post->ID) && !is_search()) {
if( is_admin() && (!isset($post->EventStartDate) || !$post->EventStartDate) ) {
if( isset($_REQUEST[‘eventDate’] ) ) {
$post->EventStartDate = $_REQUEST[‘eventDate’];
} else {
$post->EventStartDate = TribeEvents::getRealStartDate( $post->ID );
}
}if(!isset($post->EventStartDate) || !$post->EventStartDate)
return $permalink;if( ” == get_option(‘permalink_structure’) ) {
return add_query_arg(‘eventDate’, TribeDateUtils::dateOnly( $post->EventStartDate ), $permalink );
} else {
return trailingslashit($permalink) . TribeDateUtils::dateOnly( isset($post->EventStartDate) ? $post->EventStartDate : null );
}
}
return $permalink;
}Timothy Wood
ParticipantHey Matt, I appreciate your patience and it has taken me too long to get to you on this. I have been looking over the thread and your live site. Since using the debug code from Paul and the results are not showing I am wondering if you have any custom templates in your theme that override the calendar view?
Just to clarify you had a page called “events” in the pages of your WordPress install and you have renamed it?
-
AuthorPosts
