Jonah

Forum Replies Created

Viewing 15 posts - 1,651 through 1,665 (of 4,001 total)
  • Author
    Posts
  • in reply to: Conditional Tag Issues #30313
    Jonah
    Participant

    Hmmm, actually the last conditional code I posted doesn’t work for me in Genesis but the original conditional do… Have you tried deactivating all other plugins? I wonder if something else is interfering?

    – Jonah

    in reply to: Conditional Tag Issues #30310
    Jonah
    Participant

    Ok Danny, sorry about that. Try this pattern instead:

    if ( $query->query_vars['eventDisplay'] == 'upcoming' || $query->query_vars['eventDisplay'] == 'past' || $query->query_vars['eventDisplay'] == 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
    //your code here
    }

    Does that work at all?

    – Jonah

    in reply to: Repeating events with irregular dates #30309
    Jonah
    Participant

    Hi Philippe,

    Unfortunately I don’t believe it has. We are doing a lot of re-architecture and adding some new views among other exciting features and fixing a lot of underlying bugs that have been ongoing problems with recurrence. This will likely make it much easier for us to add features like irregular dates for recurrence patterns in the future. But for now, we’ve got to do this initial release just to restructure and regroup with the plugin.

    – Jonah

    in reply to: Custom field as the event link #30308
    Jonah
    Participant

    Hey Javier,

    You’ve got the right line number but try this code instead: http://snippi.com/s/kngfnfe

    I hope that helps!
    – Jonah

    Jonah
    Participant

    Hi Brenna,

    Try creating a custom menu item with the title of Calendar that links to http://www.1863lawrence.com/calendar/ instead of http://www.1863lawrence.com/?post_type=tribe_events – that’s the problem.

    – Jonah

    in reply to: Conditional Tag Issues #30277
    Jonah
    Participant

    Hmm, it looks like that should work. Have you tried taking out some of the conditions to see if any of them work? For example, stripping it all down to using just tribe_is_month() ?

    – Jonah

    Jonah
    Participant

    Hey Will,

    First, in almost all cases you’re always going to want to use WP_Query for custom queries. Here is an example of what you could use with your query args: https://gist.github.com/4447338

    With that code you should be able to simply plop tribe_get_ical_link() in the query loop and have it return what you need. Does that help?

    – Jonah

    in reply to: Events not importing/Page ID's not listed. #30274
    Jonah
    Participant

    Hi Finn,

    I’m not sure and I checked with one of our developers and he isn’t sure either. This has cropped up before for other users so I’m going to create a ticket to have it looked at. No guarantees when or if it will get done but at least now it will be on the plate. Sorry I can’t give you more now.

    Cheers,
    Jonah

    in reply to: Update "Calendar" Nav Menu Item with "current" class #30273
    Jonah
    Participant

    So are you all set here then Will?

    in reply to: Custom field as the event link #30272
    Jonah
    Participant

    Hey Javier,

    Sorry for the limitations on recurring events. We hope to improve the flexibility of this in the future. Your solution is a good one though. Let me see if I can help you. What I would do is use this plugin for your custom fields: http://www.advancedcustomfields.com/ – it’s way easier and more powerful than using WP custom fields. You can create the custom reference link field and have it only show for the tribe_events post type too! So what I did was just that, and then in the template, for instance I’m going to modify /wp-content/plugins/the-events-calendar/views/table.php for the big calendar, on line 133 you would change that to: http://snippi.com/s/9jzsbru – make sure to make a copy of /wp-content/plugins/the-events-calendar/views/table.php and place in an ‘events’ folder in your theme first too! Then if any event has a link input, the template will use that link instead of the event link. You could event possibly improve this by using a relationship or post object field to be able to select your reference post directly instead of copy/pasting the URL. You’re on your own with that one though 🙂

    Does this help?

    – Jonah

    in reply to: Events cannot end at Midnight #30265
    Jonah
    Participant

    Hi Tony,

    You should definitely update to the latest version. You may have to manually update by logging into Account Central in the upper right, going to Downloads and downloading the latest version of the plugin (2.0.10). Then you’ll need to manually upload the files to your website.

    Let me know if you need any more details or help with this.

    Thanks,
    Jonah

    in reply to: Events not importing/Page ID's not listed. #30264
    Jonah
    Participant

    Hey Finn, that is likely the problem. Unfortunately at this point in time there is nothing that can be done about importing 21+ events. Can you try removing that restriction on an event or two to see if they import?

    Thanks,
    Jonah

    in reply to: Dropdown box out of alignment #30255
    Jonah
    Participant

    Wow, that’s interesting that that fixed it… Glad to hear it did though!

    – Jonah

    in reply to: Dropdown box out of alignment #30253
    Jonah
    Participant

    Hey Steve, can you post the before and after HTML you used here: http://snippi.com/

    Thanks,
    Jonah

    in reply to: Blog Posts Expiring / showing as events #30252
    Jonah
    Participant

    Sounds good Lee, let me know.

    – Jonah

Viewing 15 posts - 1,651 through 1,665 (of 4,001 total)