Home › Forums › Calendar Products › Community Events › New user in need of urgent help….
- This topic has 3 replies, 2 voices, and was last updated 8 years, 5 months ago by
KEITH LOVE.
-
AuthorPosts
-
November 5, 2017 at 7:18 am #1375529
KEITH LOVE
ParticipantSo, long story short I’m a teacher at a public school and am building a system for staff to reserve a common space.
I have Pro and Community events but am having a few problems:
Website: http://techbostonacademy.org/tba-commons/
1. I have used the theme’s guide and setup custom templates. I removed the things we didn’t want to have on form (tags, cost…) I would like to also be able to remove category and automatically assign a specific category to all added events. Is this possible?
2. Is there any way to have a notes section that isn’t viewable in the actual event. I’d like teachers to be able to request laptops, projectors… and not have that viewable by the public. If you click on add event on the link above, I’ve added it as an additional field but it is public (and renders really badly in a small textfield).
3. Just as above, is it possible to add a default image (of the event hall) so that I could delete that option from the form as well?
Also: getting this in the help section, hope it’s not a problem:
Existing theme overrides that may need revision:
map/single-event.php (version data missing from override)
photo/loop.php (version data missing from override)
photo/single-event.php (version data missing from override)
widgets/list-widget.php (version data missing from override)
widgets/venue-widget.php (version data missing from override)
COMMUNITY EVENTS
No notable changes detectedOverall, I love this events calendar… thanks so much for all of your hard work! 🙂
R
November 7, 2017 at 7:39 am #1376912Jaime Marchwinski
KeymasterHi Robin,
Thanks so much for reaching out!
1. I have used the theme’s guide and setup custom templates. I removed the things we didn’t want to have on form (tags, cost…) I would like to also be able to remove category and automatically assign a specific category to all added events. Is this possible?
<span style=”font-size: 0.875rem; color: #4f4c54;”>There isn’t an out of the box way to do this, but you can do it with a small customization. First, you can copy the template for that page into your child theme by following </span>these instructions<span style=”font-size: 0.875rem; color: #4f4c54;”>. The template can be found at </span><strong style=”font-size: 0.875rem; color: #4f4c54;”>wp-content/plugins/the-events-calendar-community-events/src/views/community/modules/taxonomy.php<span style=”font-size: 0.875rem; color: #4f4c54;”>. You can then add the following code to the template in your child theme, just above the foreach block on line 42:</span>
// set default category
if ( 'tribe_events_cat' === $taxonomy && 0 === get_the_ID() && empty( $value ) ) {
$value = array(16); // Default category term ID
}
You’ll need to replace the ’16’ with the ID for the category you want to set as the default. You can find the category ID by going to Events > Event Categories and clicking on the category – it will appear in the URL (see screenshot).2. Is there any way to have a notes section that isn’t viewable in the actual event. I’d like teachers to be able to request laptops, projectors… and not have that viewable by the public. If you click on add event on the link above, I’ve added it as an additional field but it is public (and renders really badly in a small textfield).
Our plugin doesn’t have an inherent way to do this. Â You can have events submitted as Drafts, and then delete the information (and record it somewhere) before publishing the event.
Or you could try to add a custom metabox field somewhere in your post/event/page/etc. edit screens, and then adjust the permissions controls and functions within WordPress to selectively display this field and its data.
3. Just as above, is it possible to add a default image (of the event hall) so that I could delete that option from the form as well?
You could remove the image option from your template, and simply add in a specific image to the form in your template for Community Events as well. Â Here is our Themer’s Guide for your reference:
https://theeventscalendar.com/knowledgebase/themers-guide/
Please let me know if you need more details about how to go about implementing this.
Your template overrides should not be an issue, as I’m assuming those are the templates you have altered. Â If there are no issue present, everything should be all good.
Let me know how it goes and if you have any other questions!
Thanks,
Jaime
November 29, 2017 at 8:35 am #1394859Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘New user in need of urgent help….’ is closed to new replies.
