Henrico County

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • in reply to: Disable 'featured events' feature #1235126
    Henrico County
    Participant

    Yes, that would work, and be a bit easier than a filter.

    in reply to: API questions #974827
    Henrico County
    Participant

    Okay. Thanks. You are right – the testing environment I am working on is a bit dated. Our production version is current. I will work on getting that updated. Thanks for your help.

    in reply to: API questions #974788
    Henrico County
    Participant

    The function was being called in a shortcode. The page has been loaded and the content area of the page calls this shortcode. So – it seems like the function should be okay to run.

    I’ve moved my call to tribe_get_organizers() in this same section – and it works perfectly.

    But tribe_organizer_upcoming_events() does not. The tribe_organizer_upcoming_events is not listed as an API function. And tribe_venue_upcoming_events also gives me a fatal error. It seems these two functions are not part of the API…? Is there something I need to do to be able to utilize these functions?

    in reply to: API questions #974717
    Henrico County
    Participant

    Thanks, Barry, for your response. Can you tell me if https://theeventscalendar.com/function/tribe_organizer_upcoming_events/ is available? I get a Fatal error: Call to undefined function tribe_organizer_upcoming_events() when I attempt to use it. And – it doesn’t appear to give any return data in the function verbiage.

    I have the queries I need into the post and postmeta data – but if the meta key names change – I would have to update my code and the code would break until I realized there was an issue. I was trying to use the API but I need an organizer’s events (not a venue’s events) and I don’t see it.

    Thanks for your help.

    in reply to: API questions #974251
    Henrico County
    Participant

    I have resolved #1 using tribe_get_organizers. What I need for #2 (and could be used for #3) is something like tribe_get_organizer_events ( $organizer_id ). Does this exist?

    Thanks!

    Henrico County
    Participant

    Since we had not looked in detail at the Event List or Advanced version of it, and couldn’t find a visual reference, we assumed Advanced would have a lot more options (more filtering and customizing of the list). And while we were really excited for this new feature, we actually thought it was more of an option that you would turn on.

    Henrico County
    Participant

    Ok, I do have a follow up question – will that snippet fix show the new calendar like option (similar to the month widget) that was referenced in #3?

    Henrico County
    Participant

    Im sorry, but we aren’t seeing that. This is all we see – http://imgur.com/TTlVeHr . There are none of the new options or the feature we are looking for, nor anything more than just how many to show and the parts to show.

    We also couldn’t find any documentation on these differences, whats so ‘advanced’ in the advanced one, or its config. Are these available?

    in reply to: Calendar displays mobile version only. #816010
    Henrico County
    Participant

    I found the issue, and a fix, which is a Roots template issue. As I was researching, after I found out that it cleared out that media query, I found something similar where I had issues with it applying print stylesheets.

    If you check out https://github.com/roots/roots/blob/5.2.0/inc/cleanup.php#L607 , it looked something like this. I added an extra check for the style that this puts out, and it now works.

    Thank you for your help, and sorry for the confusion. I am guessing that how TEC has so many overrides, this was the only way for you to implement such a feature.

    in reply to: Calendar displays mobile version only. #815913
    Henrico County
    Participant

    That’s exactly it (I think) – the fact that its not adding that media line. It does this in your plugin at https://github.com/moderntribe/the-events-calendar/blob/056aca6f5887a3b2425a61ba6234e2e25b273683/lib/tribe-template-factory.class.php#L688 .

    Why would this not get set? If I use the inspector and add that line, things work as they should.

    in reply to: Calendar displays mobile version only. #815899
    Henrico County
    Participant

    Yet another update. I realized if you read from https://github.com/moderntribe/the-events-calendar/blob/056aca6f5887a3b2425a61ba6234e2e25b273683/lib/tribe-template-factory.class.php#L639 till about line 700, its supposed to add some extra stuff when it enqueues, and it doesn’t on our theme – but does on others. For example, at the end of the include, it adds media=’only screen and (max-width: 768px)’, but its not doing that on ours. Could this shed some insight on the issue?

    in reply to: Calendar displays mobile version only. #815821
    Henrico County
    Participant

    I have done more testing. Nothing on the Roots forum at this time reflects anything like we are seeing – we are using a much older version before they moved to this theme nesting stuff.

    First of all, by doing an echo in a sample template, the tribe_get_mobile_breakpoint is actually returning the valid value – so it is getting set. Secondly, if I add say @media(max-width:800px) { to the top of the mobile file – it also works responsively as it should.

    I got the second idea from https://wordpress.org/support/topic/plugin-the-events-calendar-problem-with-responsive , where a support rep for Modern Tribe notes that if we can narrow it down to Events Calendar, they should be able to help. Something about how you set this value is off, or not picking up at the right time. How can I adjust that? Moving the break up to the top of the functions file doesn’t change anything.

    in reply to: Calendar displays mobile version only. #815772
    Henrico County
    Participant

    This reply is private.

    in reply to: Calendar displays mobile version only. #812886
    Henrico County
    Participant

    Hi,

    This isn’t really a solution that works though. Only the ‘kill responsive’ works, no matter what we set a breakpoint to, that code never does anything.

    What appears to be happening is that no matter what the breakpoint is, the mobile theme is being included. Since that then doesn’t use its own set of media queries, they are overriding everything. For example, looking at line 651 in tribe-template-factory-class https://github.com/moderntribe/the-events-calendar/blob/056aca6f5887a3b2425a61ba6234e2e25b273683/lib/tribe-template-factory.class.php#L651), as long as that number is not 0, it includes. These includes are happening before our bootsrap includes from our theme.

    Example:

    <link rel=”stylesheet” href=”/wordpress/plugins/the-events-calendar/resources/tribe-events-full.min.css?ver=3.8.1″>
    <link rel=”stylesheet” href=”/wordpress/plugins/the-events-calendar/resources/tribe-events-theme.min.css?ver=3.8.1″>
    <link rel=”stylesheet” href=”/wordpress/plugins/the-events-calendar/resources/tribe-events-full-mobile.min.css?ver=3.8.1″>
    <link rel=”stylesheet” href=”/wordpress/plugins/the-events-calendar/resources/tribe-events-theme-mobile.min.css?ver=3.8.1″>
    <link rel=”stylesheet” href=”/wordpress/css/bootstrap.css”>
    <link rel=”stylesheet” href=”/wordpress/css/bootstrap-responsive.css” media=”screen”>
    <link rel=”stylesheet” href=”/wordpress/css/app.css”>

    We need more assistance on the direction to take. We started off using the Root’s theme, which we had read before has conflicts out of the box with this plugin – but no fixes or notes are shown. We haven’t seen anything like this with any of our other projects or custom code.

    in reply to: Calendar displays mobile version only. #801388
    Henrico County
    Participant

    Thanks for the info this is great. When I use the Kill responsive function it works. I’m having problem trying to find the proper break point. No matter what number I insert its still seem stuck in the responsive view.

Viewing 15 posts - 1 through 15 (of 17 total)