Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHmmm, 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
Jonah
ParticipantOk 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
Jonah
ParticipantHi 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
Jonah
ParticipantHey Javier,
You’ve got the right line number but try this code instead: http://snippi.com/s/kngfnfe
I hope that helps!
– JonahJanuary 3, 2013 at 7:19 pm in reply to: inconsistant calendar view: grid view checked in settings but list view displays #30283Jonah
ParticipantHi 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
Jonah
ParticipantHmm, 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
January 3, 2013 at 1:15 pm in reply to: Compile iCal / Google Calendar events from Category, Month/Day or Venue views #30275Jonah
ParticipantHey 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
Jonah
ParticipantHi 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,
JonahJanuary 3, 2013 at 12:55 pm in reply to: Update "Calendar" Nav Menu Item with "current" class #30273Jonah
ParticipantSo are you all set here then Will?
Jonah
ParticipantHey 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
Jonah
ParticipantHi 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,
JonahJonah
ParticipantHey 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,
JonahJonah
ParticipantWow, that’s interesting that that fixed it… Glad to hear it did though!
– Jonah
Jonah
ParticipantHey Steve, can you post the before and after HTML you used here: http://snippi.com/
Thanks,
JonahJonah
ParticipantSounds good Lee, let me know.
– Jonah
-
AuthorPosts
