Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHey Robert, no problem, we’ll get this sorted out. I steered you in the wrong direction actually. is_tax should only be used for taxonomy archive lists and wouldn’t be used for single post views. You can use has_terms() instead like so: https://gist.github.com/2004548
You’ll want to replace the categories and add others as needed. The only downside to this approach is if an event is in two of your categories.
I hope that helps!
Jonah
ParticipantHey Carlos, this appears to be fixed in the development version of 2.0.5 which we’ll be rolling out soon. Can’t say exactly when but it will be soon. To save extra development focus for 2.0.5 it would be better to have you wait even though I know this is an inconvenience for your own development. I hope you understand though. Keep an eye out for the new version!
Jonah
ParticipantHey Carlos, but this is not the grid view, your question was why the sidebar was not consistent in months where there are no events in grid view correct?
Jonah
ParticipantBingo Joe, glad you figured it out!
Jonah
ParticipantHi Catherine, this is a matter of templating where you need to wrap your featured image code in the link you want to use. I’m guessing it will be a custom field as well? So, wherever in the template (whether in /wp-content/plugins/the-events-calendar/views/table.php or /wp-content/plugins/the-events-calendar/views/single.php) you’ll need to find where the featured image code is and wrap the thumbnail code in your link code. For instance, here is the thumbnail code in single.php (single events views) with a custom field for a link wrapped around it:
https://gist.github.com/1995059
Does that help?
Jonah
ParticipantHi Darren,
Using tribe_the_custom_fields() is probably not working for you because this returns a definition list or all custom fields for an event. I think what you want to use is: echo tribe_get_custom_field(‘Label’, $post->ID) or tribe_custom_field(‘Label’, $post->ID) – where “Label” is the label of your custom field.
Let me know whether or not that works.
Jonah
ParticipantHi Fabien, to remove the Updated content; just override /wp-content/plugins/the-events-calendar/views/single.php by placing a copy in an ‘events’ folder in your theme and then find lines 48+49 and remove them.
Hope that helps!
March 7, 2012 at 10:27 am in reply to: Missing argument 2 for TribeEvents::addDateToRecurringEvents() on line 420 #16386Jonah
ParticipantHey Jey, please try setting your permalinks to postname and saving (Settings > Permalinks). I want to see if this will resolve the issue. Using pretty permalinks will make all your URL’s look a lot better anyway and helps with SEO.
Let me know whether or not that helps.
Jonah
ParticipantHi Robert, you should be able to make the change in /wp-content/plugins/the-events-calendar/views/single.php and /wp-content/plugins/the-events-calendar/views/single-venue.php and it should work to wrap those conditions around the links, determining which category you are on and displaying the appropriate link.
Jonah
ParticipantHi Karen, the big old space is being taken up by the google map div which has a height set to 250px. You can see it in this screenshot: http://cl.ly/3I0s3G2a2O232h0e3F3Y – I’m not sure why the actual map is not showing, have you modified the single.php view?
Jonah
ParticipantHey Carlos, looks like it matches to me, is there something I’m not seeing? Can you maybe post a screenshot?
Jonah
ParticipantHey Carlos, is this happening for all events with this organizer? What about events with other organizers? From first glance it looks like a problem with some unclosed tags or tags getting messed up and it may be due to some out of the ordinary data input for this organizer or some of the other event info. If you’re using the stock single.php I trust that this is not the issue. Can you email me admin access so I can take a look? jonah [at] tri [dot] be
Thanks,
JonahJonah
ParticipantStrange, I’m not seeing this issue on my end using an unmodified version of the list.php template. Have any of you made changes to list.php? Is the case for all events or venues or are there some events or venues that do not duplicate? It might help to take a closer look. Yazmin, can you email WP Admin access to jonah [at] tri [dot] be?
Thanks,
JonahJonah
ParticipantHi Scott,
It’s an issue with the CSS and can be cleared up without too much difficulty. First make a copy of /wp-content/plugins/the-events-calendar/resources/events.css and place in an ‘events’ folder in your theme.
Open this file in a code/text editor and find line 28 and add this width like so:
.grid #tribe-events-calendar-header {
height: 50px;
width: 565px;
}
Then on line 136 change the CSS so its like this:
.tribe-events-month-nav {
position: relative;
left: 0;
bottom: 0;
z-index: 0;
width: 366px;
display: block;
top: 12px;
}
On line 142 change the CSS for the class like so:
.tribe-events-prev-month {
margin-right: 5px;
float: left;
}
On line 145 change the CSS to the following:
.tribe-events-next-month {
margin-left: 5px;
float: left;
}
On line 413 remove the display: inline for:
#tribe-events-events-picker, #tribe-events-picker {
display: inline;
}
Somewhere else in events.css (maybe down at the bottom) add the following:
#tribe-events-events-month,
#tribe-events-events-year {
float: left;
}
That should do it but you may need to make some additional tweaks to get it just right in your theme.
Jonah
ParticipantLet us know if you need any other help with this Lachlan 🙂
-
AuthorPosts
