Hi.
The week view seems to be broken to me, the events don’t appear.
Digging few hours, I can confirm the problem is not a php one, but a javascript one.
Error in the console:
TypeError: $(...).position(...) is undefined
jquery.slimscroll.js (line 275)
scrollContent($(o.start).position().top, null, true);
What I’ve found:
– At this line of slimscroll.js, o.start is an empty jquery object (uh?).
– Why .position() isn’t defined? Hrrr… should be in “What I haven’t found”.
What I’ve tried, without success:
– disable all plugins.
– use Twenty Eleven, Twenty Twelve, and another theme.
– other versions of jQuery (which is loaded, before slimScroll): 1.8.2 (Google CDN), 1.10.2 (Google CDN), 1.10.2 (WP version).
– update slimScroll to 1.3.0.
– call an exorcist. ^^
Confirm the bug location:
– Open tribe-events-week.js
– Look for the tribe_go_to_8() function (line 72 of the dev file)
– Put return $('.tribe-week-grid-wrapper'); at the beginning of the function, save.
– Reload the page in week view: slimScroll is not running, but the events appear.
Config:
– WP 3.6.1
– TEC 3.1 / TEC PRO 3.1
– No custom templates
– 1 or 2 Events in the week
– local site, but reachable from outside, can grant access if needed.
Cheers
Greg
(btw, congrats for the new version(s) 3.1)