Forum Replies Created
-
AuthorPosts
-
Nico
MemberHi there Melanie,
Thanks for getting in touch with us! And thanks for testing for conflicts before posting 🙂
Additional fields are shown when tickets quantity field is set to 1 or more, in the events front-end. Depending how many tickets you set, the corresponding amount of fields will be shown. Does this makes sense? Are you testing it this way?
Also, inspecting your site I see this event has some JS errors in the browser debug console: http://gacpr.melanieadcockdevsites.com/class/bls-healthcare-providers-2/ regarding the front end tickets form. Do the same errors appear when you switch to TweentySixteen theme and no other plugins are active?
Please let me know about it,
Best,
NicoNico
MemberThanks for following up Aaron! We are almost there!
Renaming the file as you suggested brings it back to picture-less status.
I understand but are events showing correctly the title and date when you remove the template override?
I’m not sure what you not seeing the new issue I described “locally” means (apologies again for my lack of tech savvy!)
Just to make sure we are on the right path I’m making the same test in sample WordPress site in my computer.
Is there a “settings” feature I might need to adjust? Or might I have put the code snippet in a wrong location in the “single-event” page?
No extra settings are needed. Take a look at how I edited my copy of ‘single-event.php’:
https://gist.github.com/niconerd/d4bf4aae0a9eb6f1164e8eebc9ab8a54
Please try to place the exact same code above in the file and let’s hope that makes it right,
Best,
NicoNico
MemberHi Karly,
Glad to help you out on this one too! A team member assigned this ticket to himself but asked me for help so here we go again…
/* Custom venue validation */
function tribe_custom_venue_validation ( $valid, $submission, $class ) {/* If no saved venue and there's no new venue title add error message and prevent submit */
if ( empty ( $submission['Venue']['VenueID'][0] ) && empty ( $submission['Venue']['Venue'] ) ) {
$valid = false;$message = __( '%s is required', 'tribe-events-community' );
$message = sprintf( $message, 'Venue');
$class->add_message( $message, 'error' );
}return $valid;
}add_filter('tribe_community_events_validate_submission', 'tribe_custom_venue_validation', 10, 3);
The code above should limit submission with no saved venue or without new venue name (if you want to validate some more fields let me know). The only limitation is that the venue field label won’t be shown in red if invalid, because the variable holding those values is not accessible outside the submission handler class. If this is vital we can find a hacky work around like setting a general class or inserting some css or js directly into the page, surely not the best but it will work for now.
Please give this a try and let me know,
Best,
NicoNico
MemberThis reply is private.
Nico
MemberThanks for following up! Glad to hear you could make the images work in there.
Regarding the new issue, I’m not seeing that locally but if you disable the template override (by renaming it for example to ‘_single-event.php’), does this still happens?
Please let me know about it,
Best,
NicoAugust 2, 2016 at 4:03 pm in reply to: How can I introduce information throught The Event Calendar's details section ? #1146837Nico
MemberPerfect, thanks for confirming!
Ok, let’s see if this works for you:
– Insert the ‘facilities copy’ in the event excerpt field: https://cloudup.com/cJuHs1JDUZQ
– Once that’s in place, you’ll need to add this snippet to your theme (or child theme) functions.php file:
/* Add excerpt to single event meta */
function tribe_add_excerpt_to_meta ( ){
echo get_the_excerpt();
}
add_action('tribe_events_single_event_meta_primary_section_end', 'tribe_add_excerpt_to_meta' );
That’s the basic, if you want you can add the same markup as other meta info or do things in a different fasion. For example in this case I’ll add some markup and hard-code the title:
https://gist.github.com/niconerd/528b1aca0e6a3fbd9c8b1912131f3f03
Please let me know if this works for you, and note that this content will be shown in the list view, which might be a limitation for you. I choose this approach as there’s no need to add any additional fields,
Best,
NicoNico
MemberOh! Sorry to hear the lost reply email @giswest, please do let me know if you still have troubles with notifications. Also note that we generally give a reply in less than 24hrs, but that can extend up to 48hrs if the forum activity is high.
First of all I extended your license for one more month so no worries on that front. Regarding the actual bug, I see it couldn’t be reproduced by the QA team using latest development versions of the plugins. This code will be released tomorrow (that’s the initial plan), so please update The Events Calendar to 4.2.4 when available and re-test this.
I was also re-checking the bug report notes on the issue and it seems to be tied to an oembed issue we already fixed. Anyway I would like you to update the plugins and re-test once again with fresh data. If you are still able to reproduce after the update please send over testing instructions and I’ll try to reproduce locally, hopefully this won’t be necessary.
Please let me know how it goes after the update!
Best,
NicoNico
MemberHey Catherine,
No worries on the delay of your reply!
Paste the snippet below in your functions.php file and let me know if it works for you:
/**
* Causes calendar to always show Google Map and Link, regardless of individual event settings
*/
add_filter( 'tribe_embed_google_map', '__return_true' );
//add_filter( 'tribe_show_google_map_link', '__return_true' );
Uncomment the second line to always show the map link as well.
Please let me know if this helps,
Best,
NicoNico
MemberPerfect! Thanks for doing so Karly 🙂
I’ll go ahead and close out this thread, we will be happy to assist you in your new issue!
Best,
NicoNico
MemberHi Karly,
Thanks for the patience while I checked this! Indeed there seems to be an issue as well with the venue validation, I guess we could use a similar technique but not exactly the same apparently (as the issue here is that it never shows the message as opposed to Organizers which is always showing the error). I did some quick tests but I’m not sure about it.
If you can open up a new thread for this issue it would be best, please include a link back to this one as it might be a good starting point.
Thanks so much,
NicoNico
MemberPerfecto! Thanks for confirming Joseph 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
NicoNico
MemberSure!
The only widget that works well on horizontal layout is ‘This Week Events’ widget (that’s the exact name) so we’ll use this one. To add the featured image you’ll need to create a template override (I guess you are familiarized at this point, but remember to check the themer’s guide for any details) of the file and place it in: [your-theme]/tribe-events/pro/widgets/this-week/single-event.php. Once the copy of the file is in place just add the following line:
<?php echo tribe_event_featured_image( $event->ID, 'thumbnail' ); ?>
Just make sure it’s inside the main div element.
Give a try and let me know about it,
Best,
NicoNico
MemberHi there Jason,
I could reproduce the issues with the check-in plugin Barry helped you out with. He will get back to you pretty soon with an updated version of it!
Let’s solve this issue out first and then we can look into the page loading times.
Thanks,
NicoNico
MemberThanks David!
Use the following CSS snippet to hide the header in the main events views and in single event view:
/* Hide page title div in events archive and single views */
.post-type-archive-tribe_events #grve-page-title,
.single-tribe_events #grve-page-title {
display: none;
}
Please give the code a try and let me know if it works for you,
Best,
NicoNico
MemberThis reply is private.
-
AuthorPosts
