Home › Forums › Calendar Products › Events Calendar PRO › Some Questions
- This topic has 6 replies, 2 voices, and was last updated 12 years, 6 months ago by
Barry.
-
AuthorPosts
-
October 9, 2013 at 4:02 pm #70204
Greg
ParticipantThe date is displaying as January 1, 1970 when you select daily details. Also, we typically load our schedule to display through 2016 and after a recent update it is limiting the number of classes we can input. We are also looking to simplify the display/interface as the current calendar system is more detailed than we require.
October 10, 2013 at 10:59 am #70341Barry
MemberHi blizzdesign!
When I visit the URL you provided I am unable to locate your main calendar page (or at least I am unable to locate one that looks as though it’s generated by our plugin(s)). Can you confirm which URL I should visit?
Have you also tried deactivating all other plugins and at the same time switching to a default, unmodified theme such as Twenty Twelve?
Thanks!
October 11, 2013 at 9:24 am #70555Greg
Participanthttp://www.mvmansionhouse.com/health-club-schedule/
We got the Jan 1st to stop appearing because we decided that all of the events per day should be displayed on the month view, and the button that was displaying that date is null now. To do that we just allowed more slots than events to be displayed. I could try and deactivate plugins and switch themes, but I would rather do that as more of a last resort since we decided that showing all the events was not only a work around for our main problem but displays our events properly.October 11, 2013 at 3:32 pm #70662Barry
MemberOK, so essentially you are happy for the time being?
If you do want to try and troubleshoot this at some future point the steps outlined in my last reply are definitely the way to go. I’ll leave this open for a few days in case you do decide to try that, but otherwise will close this thread.
Thanks!
October 18, 2013 at 10:38 am #71651Greg
ParticipantHi there,
I apologize, I am taking over for someone else who was managing our support account. The client is still seeing the issue with “Events on: January 1, 1970” on all single day views. For example, take a look at:
http://www.mvmansionhouse.com/health-club-schedule/2016-10-02/. When I switch the theme to twentythirteen the problem goes away and the correct date displays. I’m using the default page template for the events template. I’ve tried switching to the default events template and the problem is still there. I’ve tried deactivating all plugins and the problem is there. Only when I have my normal theme activated, I get this error within the plugin admin and on the editing screen for individual events:Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback,
‘tdav_css’ was given in /usr/home/web/mvmansionhouse.com/wp-includes/plugin.php on line 173
Any way you can give me some insight here on what to check in my theme? The theme was built a few years ago as a copy (not a child – I know that’s bad) of twentyten. I stripped down page.php to the bare bones and that still didn’t help. I can’t figure out what the heck could be affecting it, so frustrating!
October 18, 2013 at 10:52 am #71652Greg
ParticipantOk so I found some code in my functions.php file that was causing the issue. I don’t remember adding this but I’m sure I did. I know at some point I was given custom code by your support team to add. I can’t remember why we added it. Is there any way for me to view all of my past support threads? I can’t seem to find that option anywhere. Here is the code…maybe you can enlighten me?
add_filter(‘tribe_get_events_title’, ‘my_get_events_title’);
function my_get_events_title($title) {
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
return ‘Events Calendar’;
} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
return ‘Events Calendar’ . ‘ » ‘ . single_term_title(”, false);
} elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List
return ‘Events List’;
} elseif( tribe_is_event() && is_single() ) { // Single Events
return get_the_title();
//} elseif( tribe_is_day() ) { // Single Event Days
//return ‘Events on: ‘ . date(‘F j, Y’, strtotime($wp_query->query_vars[‘eventDate’]));
} elseif( tribe_is_venue() ) { // Single Venues
return $title;
} else {
return $title;
}
}
add_action( ‘pre_get_posts’, ‘tribe_fix_title’ );
function tribe_fix_title( $query ) {
if ( $query->is_main_query() ) {
if ( ! $query->tribe_is_event_query ) {
$tec = TribeEvents::instance();
remove_filter( ‘wp_title’, array( $tec, ‘maybeAddEventTitle’ ), 10, 2 );
}
}
}October 18, 2013 at 12:27 pm #71665Barry
MemberYou should be able to research some number of your previous events if you click here.
I’m guessing it related to some sort of theme compatibility issue – but depending on when it was added (if you can no longer remember and perhaps it was in the days of our 2.x releases or earlier) then it may no longer be pertinent and might be quite safe to remove without replacing it.
-
AuthorPosts
- The topic ‘Some Questions’ is closed to new replies.
