Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Blaine,
Try something like this:
$select = tribe_get_custom_field( 'Checkbox' );
if ($select == 'Yes') {
echo $select . ' is checked.';
} else {
echo 'Something else is checked.';
}
February 9, 2012 at 2:30 pm in reply to: Error when event is set to reoccur when set to daily or weekly or custom #14968Jonah
ParticipantNot sure, I wouldn’t think so though. It might be related to something on the server – PHP/MySQL versions, server memory so I would make sure PHP/MySQL are up to date (but they probably are if you’re running the latest version of WP) and try upping the server memory via .htaccess or php.ini to at least 64mb… other than that I don’t know. I’m going to get one of the other devs to step in and take a look.
February 9, 2012 at 2:15 pm in reply to: Error when event is set to reoccur when set to daily or weekly or custom #14966Jonah
ParticipantHey Francisco, I was also unable to reproduce this and am not sure what it could be. I’m going to get one of the other devs to take a look.
Thanks,
JonahFebruary 9, 2012 at 2:08 pm in reply to: How do I remove the agenda/calendar switch from the template? #14965Jonah
ParticipantHi Jeff,
You can either set the .tribe-events-calendar-buttons class to display: none in your CSS or make a duplicate copy of:
/wp-content/plugins/the-events-calendar/views/list.php
and place in an ‘events’ folder in your theme and then delete or comment out the HTML/PHP where that class appears.
I hope that helps but let me know if you need anything else with this,
JonahJonah
ParticipantHi Jeff, you can override the CSS and many of event templates by making copies of:
/wp-content/plugins/the-events-calendar/resources/events.css
/wp-content/plugins/the-events-calendar/views (all the files in there)Place duplicate copies of any files you want to modify in an ‘events’ folder within your theme. Then you can safely make changes and not worry about updates overwriting your changes.
I hope that helps,
JonahJonah
ParticipantHi Herman,
It looks ok to me. It’s just a page with a title and no content. What’s wrong with this? Here’s what I see: http://cl.ly/0j0u2Q2X04123v2y1W2z
February 8, 2012 at 2:34 pm in reply to: Displaying Custom Field Attributes on Frontend in Custom Template File #14883Jonah
ParticipantHi Reggie, yes it should echo the custom events field with the label you specify.
Jonah
ParticipantHey John,
You’re close. tax_query is a WordPress function parameter and you can find out more about what it accepts here: http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
Try setting field to id and using an array for multiple “category” id’s and an operator like so (change NOT IN to IN):
‘field’ => ‘id’,
‘terms’ => array( 103, 115, 206 ),
‘operator’ => ‘NOT IN’Jonah
ParticipantNo problem. Canvas Dreams, Fused Network, Dreamhost, and Host Monster are all pretty good alternatives.
February 8, 2012 at 9:39 am in reply to: List view does not work when calendar widget is used. #14863Jonah
ParticipantHey Kris, I’m not able to replicate it. I switched to the TwentyEleven theme and the toggle works fine for me… Have you tried flushing your permalinks? Sometimes that can help too. I’m going to get another dev to take a look at this because I’m not sure what else to do.
Jonah
ParticipantHey Sean,
Not sure why Pretty Photo (the lightbox script) is not working. You’re going to have to troubleshoot that on your own. There’s no script errors or anything so I don’t know why its not working. I would check with the theme developer to see if they have any ideas.
By the way, your website loads super slow for me when other sites load fast. I would ditch GoDaddy and find something better. GoDaddy is known for being a bad web host.
Jonah
ParticipantHi Herman, do you have a specific example setup with the widget issue that I can look at?
Jonah
ParticipantHi John,
It sounds like you partially figured out the first part of your question. Using ‘upcoming’ for ‘eventDisplay’ will only pull in upcoming events. Other valid options here are: ‘past’, ‘day’, ‘all’, ‘month’.
As for querying by specific category, you can definitely do this. Look at the 2nd to last example in the doco here: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events
We use taxonomies for categories so that’s why category_in was not working for you.
I hope that helps but let me know if you need anything else.
Jonah
ParticipantHi Sean,
No problem. No, the ‘events’ folder should not get deleted when you update your theme but in all cases where you are updating things it’s always a good idea to make a backup before you do.
I’m seing a 500 error page when I try to visit your site now so I can’t look at the lightbox thing…
You’ll need to check with the web host for the preferred way of upping the server memory but most times updating the .htaccess should work. Just add:
php_value memory_limit 128M
February 8, 2012 at 9:06 am in reply to: List view does not work when calendar widget is used. #14856Jonah
ParticipantHi Kris, can you try disabling other plugins to see if this changes anything?
-
AuthorPosts
