Forum Replies Created
-
AuthorPosts
-
Laura
MemberHi Rob. The site is actually not live yet. But it’s easy to replicate as it happens out of the box. Install WP, use twenty 11 theme for example, and install Event Calendar 2.0.2 (this happens on the basic plugin as well)
Add two events for simplicity. One for the current month that ends on a sat or sunday (so it shows up in the right most column of grid). Publish the event, and then go to grid-view and hover over the link. You’ll notice the tooltip correctly appears at the top LEFT of the link.
Now create another event, one for the following month, ending on a sat/sunday. Publish. Go back to grid-view, now change months to the next month, hover over the event. The tooltip is to the top RIGHT.
It makes perfect sense why it happens, it has to do with your AJAX calls for changing months. Basically the tooltip function is called somewhere on page load I assume that checks the position of the links, and adjusts the positions of the tooltips accordingly. Everything works fine if you’re on the initial page load. But once you change months and the AJAX runs, the tooltip script never gets updated for the new links/positions, therefore everything just appears at the top right.
December 15, 2011 at 10:23 am in reply to: Display a featured event in a front page feature box #12347Laura
MemberHi Carlos, I just recently had to do this myself. It took me quite awhile to figure it out but I finally got it.. Just use this to start your loop:
$featured_query = new WP_Query(‘post_type=tribe_events&tribe_events_cat=featured&showposts=1&eventDisplay=upcoming’);
if ($featured_query->have_posts()) while ($featured_query->have_posts()) : $featured_query->the_post();?>Laura
MemberPerfect! Didn’t think to pass in the null value there. Thanks again.
December 8, 2011 at 2:33 pm in reply to: Need function that will return true when viewing the "Event List" page #12020Laura
MemberJust to followup, I ended up figuring out a way to do it by writing my own custom query: if (!empty$wp_query->query_vars[‘eventDisplay’]) && $wp_query->query_vars[‘eventDisplay’] == ‘upcoming’)
-
AuthorPosts
