Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey there idv. Thanks for the note here; I’m seeing this too, in Chrome. We have had a few users report this and what I’ve suggested (and which generally does the trick) right off the bat:

    * It could be a permalinks-related issue. Resave your permalinks page to reset them.
    * Make sure you’re running the latest version of the plugin (2.0.5).
    * Check that there aren’t any earlier versions of The Events Calendar or Events Calendar PRO active anywhere on the site. If they’re present, deactivate them.
    * Make sure you’re running the latest version of WordPress.
    * Try to identify whether this is a conflict with another plugin. You can do so easily by deactivating any other plugins you’ve got active and checking whether the issue persists.
    * If it isn’t a plugin conflict, it may be a theme one. If after deactivating all other plugins the issue persists, please revert to the default 2011 theme and test whether it’s an issue there.

    Give that a go, and – particularly after trying the last two – let me know what occurs.

    Thread Starter idv

    (@idv)

    Its down to the theme as it looks good in 2011?

    Any ideas on what could be causing this problem in the theme?

    I am having the same issue… is there any further info on why this could be happening?

    Hey idv. Thanks for confirming this as a theme issue. If it is a conflict on that end, there isn’t a whole lot we can do beyond wait for the 2.1 release on our end (which is updating the templating system so the plugin should integrate smoother with outside themes straight out of the box). Have you contacted the theme dev on their forum? If they have any suggestions as to how the calendar could be improved to work with their framework specifically, we’re totally open to it.

    Amberwave: were you able to identify this as a theme conflict as well?

    Actually, I don’t think this is theme related. In tribe-view-helpers.class.php on line 566 there’s this:

    /**
    		 * Helper method to return an array of years
    		 * default is back 5 and forward 5
    		 */
    		private static function years() {
    			$current_year = (int) date_i18n( 'Y' );
    			$years_back = (int) apply_filters('tribe_years_to_go_back', 5, $current_year);
    			$years_forward = (int) apply_filters('tribe_years_to_go_forward', 5, $current_year);
    			$years = array();
    			for ($i = $years_back; $i > 0; $i--) {
    				$year = $current_year - $i;
    				$years[] = $year;
    			}
    			$years[] = $current_year;
    			for ($i = 0; $i <= $years_forward; $i++) {
    				$year = $current_year + $i;
    				$years[] = $year;
    			}
    			return (array) apply_filters('tribe_years_array', $years);
    		}

    The second loop should say “$i = 1” or else the current year should not be inserted in this line:

    $years[] = $current_year;

    I mean, I could be missing something here.

    Oh, and I should add: thanks, Rob, for all the work on this plugin! It’s been a life-saver.

    Hey ianjohn27. Thanks for the follow-up here, and for the words. I’ve asked a dev on our end to take a look (as your last comment is beyond the scope of what I’m comfortable with) but if they can confirm your last point we will definitely modify as needed on our end. I’ll have them comment directly if so.

    Thanks again, and let us know if we can do anything else in the interim.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: The Events Calendar] BUG – Browsing by date’ is closed to new replies.