Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantGlad to hear you figured it out Alastair – closing this thread 🙂
Jonah
ParticipantHi Troy, please email me WP admin and FTP access to jonah [at] tri [dot] be and I’ll take a closer look.
Thanks,
JonahJonah
ParticipantYou can either remove it in the templates (make sure you override the template files – https://theeventscalendar.com/faq/what-are-template-overrides-and-how-do-i-do-them/) or hide it with CSS.
Jonah
ParticipantSorry about that, on line 87 the code you’re replacing is: http://pastie.org/private/fi8nv2f0gbspqgzep2kexq
And the code to replace with is:
http://pastie.org/private/5udzgryiujkkbmgldn4zdwJonah
ParticipantHi Piotr,
You’ll want to modify /wp-content/plugins/the-events-calendar/views/table-mini.php.
1. First make a copy of it and place in an ‘events’ folder in your theme.
2. Find line 87 and replace:
$return = "";
with:
if (count($monthView[$day]) > 0) {
$return = "";
} else {
$return = "";
}
… that will add a class of ‘has-events’ to the days that have events.
3. In your CSS simply target the .has-events class and style it however you want.I hope that helps!
Jonah
ParticipantHi Troy,
First make sure are using the latest version of our plugin – 2.0.5. The next thing I would suggest taking a look at is server memory. Typically if not enough memory is allocated, you will see a white screen when activating the plugin. Another thing to check would be plugin and/or theme conflicts. There may be plugins you are running that are causing problems so please try deactivating all other plugins to see if this helps. If not, try switching themes to see if it’s a theme conflict.
I hope that helps but let me know if you’re still having issues.
April 9, 2012 at 2:25 pm in reply to: Normal fields and Pro added fields missing from events posting page #17744Jonah
ParticipantHey Jacqui, if you follow the instructions in this thread you’ll be able to make a link: https://theeventscalendar.com/support/forums/topic/displaying-custom-fields
Jonah
ParticipantRight, you need to put the link into an href like so: https://gist.github.com/17b7655a61e24d264a56
April 9, 2012 at 10:22 am in reply to: Help with Additional Fields – links, and display on Event List page #17736Jonah
ParticipantHi Kym, tribe_the_custom_fields will always get all of your custom fields, so no, there’s no way to exclude it with that function. This should do what you need it to though: https://gist.github.com/2344826
Basically you just use the unset function from PHP to unset the custom field label you want from the array. I’m echoing the label and value for every other custom field found and feel free to wrap those in whatever markup you want. And, make sure to change the label in the unset function to the label of the custom field you want to exclude.
I hope that works!
Jonah
ParticipantHey Maeda, this is tricky and you’ll probably want to hire a dev to help you with but I can provide some additional ideas. What about creating a custom field in your Venues to be able to check that that venue is closed on certain days. I would suggest using something like http://www.advancedcustomfields.com/ for that. Then, if you want to modify the calendar widget you’ll want to edit the /wp-content/plugins/the-events-calendar/views/table-mini.php to check for that custom field in the day display loop. The hard part will be parsing the specific day of the week within the loop… You’d maybe want to check for a match between the custom field value and the day of the week…
I hope that helps!
Jonah
ParticipantHi Wayne, unfortunately our plugin does not provide this functionality out of the box. You will need to find another plugin to help you with or customize the rewrite code in the way you want. You may also want to suggest this as a feature request here: https://theeventscalendar.com/support/forums/topic/events-calendar-pro-feature-requests/
April 9, 2012 at 9:47 am in reply to: Normal fields and Pro added fields missing from events posting page #17733Jonah
ParticipantHi Jacqui, there is a bug we are aware of and will be fixing where if you deactivate the Pro plugin, you’re custom fields will be wiped from the admin. They won’t be wiped from the db though and the solution is to simply re-add them in the admin and they will be there again.
I hope that helps!
Jonah
ParticipantHi Jason, unfortunately we don’t have the resources to troubleshoot or ensure compatibility with all plugins so you’ll need to figure this out on your own.
Jonah
ParticipantThanks Henry, and Lee make sure if you are editing the templates that you follow the instructions in this FAQ: https://theeventscalendar.com/faq/what-are-template-overrides-and-how-do-i-do-them/
Jonah
ParticipantHi Jeff, glad you figured it out. I’m closing this out but feel free to re-open another thread if it’s still an issue.
-
AuthorPosts
