adding venue to mini calendar widget

Home Forums Calendar Products Events Calendar PRO adding venue to mini calendar widget

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1084019
    paul
    Participant

    Hi, found this forum post / answer:

    Event Venue not appearing on Mini Calendar

    …but not sure it’s current. The code referenced in the fix isn’t in the current version of the mini calendar widget.

    Can you advise re: how to add the event venue/address/map link etc to the mini calendar widget? I have the themeing folders set up, and files in place, just not sure how to tweak the code exactly to get the venue info to show up.

    Thank you!

    #1084348
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    This step here should still work:

    Event Venue not appearing on Mini Calendar

    Did you try adding it to that template and it did not work>

    #1084366
    paul
    Participant

    Correct, I have it here:

    http://prntscr.com/aab5au

    My site is here, and you can see that the venue does not appear (the list widget below the calendar widget is displaying the venue info I’d like in to show in the calendar widget):

    http://143.95.67.209/~easthigh/

    Also, you’ll notice that although there are events on the 29th and 30th of March, when you click those days nothing appears below the mini calendar, so not sure what’s up there. Here’s the full calendar:

    http://143.95.67.209/~easthigh/schedules/category/games-varsity/

    Thanks for any ideas.

    #1084417
    Brian
    Member

    Ok it looks like we removed the query I was checking on in 3.10.

    You can try adding this:
    <?php if ( $wp_query->query_vars['is_tribe_widget'] == 1 ) { ?>
    <span class="fn org tribe-venue"><?php echo tribe_get_venue_link(); ?></span>
    <?php } ?>

    Under this:

    <div class="tribe-events-location">

    And add this:

    global $wp_query;

    Under this:

    $multiple_organizers = count( $organizer_ids ) > 1;

    Unfortunately, that will show in both the mini calendar and event list widget as they use the same template. To prevent duplicates in the list view I would uncheck that box in the widget settings for the venue name.

    Let me know if that helps with this and we can move on to the next issue with the 29th and 30th events.

    Cheers

    #1084424
    paul
    Participant

    Looks good, thanks:

    http://143.95.67.209/~easthigh/

    It didn’t cause dupes in the list widget, FYI… but I’ll be removing that anyway.

    Thoughts on the dates that have data, but are showing empty?

    #1084520
    Brian
    Member

    Ok glad one things is moving forward.

    For those two events not showing.

    If you change the start time does that help?

    What is the start and end time for the events as they are?

    Also, what is your End of Day Cutoff setting:

    Events > Settings > General Tab > “End of day cutoff”

    Thanks

    #1084528
    paul
    Participant

    The events are pulled in from an ical link… and for those two events there is no time in the ical link, just a “TBD”… so looks like The Events Calendar set them up with a 12:00 am start time. The end of day cut-off is set to 12:00 a.m. I changed it to 1 am but then it moved each event back one day, to the wrong days.

    So, thoughts on best way to tweak these, since they are TBD, and imported every hour?

    #1084579
    Brian
    Member

    Since the our plugin does not have a way to handle a time TBD that looks to be causing the issue.

    If you can set it as an All Day Event it should show then, is that possible?

    #1084582
    paul
    Participant

    Well, unfortunately I don’t have any control over the ical feed, which will overwrite anything I put in to my calendar. Might be out of luck, eh?

    #1084583
    paul
    Participant

    Or maybe it’s the venue that’s the issue… it comes through as “TBA”. Not sure if the time would cause the issue, since it looks like it is in the database as 12:00 am. You can see the event here:

    http://143.95.67.209/~easthigh/schedule/lacrosse-boys-varsity-8/

    #1085648
    Brian
    Member

    Hi,

    Sorry for the late reply here.

    I see that event. Is both the start and end time 12:00am?

    I do not think the venue is causing this.

    It might be out system not knowing how to read an event that starts and ends at 12am.

    It might be possible to create a custom script on your site to change it to an all day event so it at least shows there. It would have to run after the import so it does it everytime.

    If you change one of those events temporary to an all day event does it then show?

    #1091853
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘adding venue to mini calendar widget’ is closed to new replies.