Home › Forums › Calendar Products › Events Calendar PRO › Since Update most of event listing content no longer displays
- This topic has 8 replies, 3 voices, and was last updated 10 years, 8 months ago by
Support Droid.
-
AuthorPosts
-
July 30, 2015 at 11:04 am #991873
jussibr
ParticipantThe event content on my site no longer displays, location, venue, website, images etc.. I have been using this plugin on the site for a few years now with the same template – nothing has changed. Can someone help me figure out what is wrong now – the events guide is the core of my website.
July 30, 2015 at 3:57 pm #991966Brian
MemberHi,
Sorry for the issues on this.
I can help resolve this. This function is giving a fatal error, tribe_events_single_event_meta() was deprecated 14 months ago in 3.6 and removed in 3.11.
So that is why nothing is displaying.
To fix this you need to update your custom template single-events.php in your theme.
You want to replace:
echo tribe_events_single_event_meta();with this function:
tribe_get_template_part( 'modules/meta' );Let me know if that resolves the issue for you.
Thanks
July 30, 2015 at 4:46 pm #991973jussibr
ParticipantHI – I actually have the following in my code.. not sure how to modify: This is to hide the organizer info.
add_filter( ‘tribe_events_single_event_meta_legacy_mode’, ‘__return_true’ );
add_action(‘tribe_events_single_event_the_meta_addon’,’tribe_hide_custom_meta’, 100);
function tribe_hide_custom_meta() {
echo “”;
}July 31, 2015 at 7:56 am #992124Brian
MemberHi
Try changing this:
add_filter( 'tribe_events_single_event_meta_legacy_mode' , '__return_true' );to this:
add_filter( 'tribe_events_single_event_meta_legacy_mode' , '__return_false' );If that does not work you may have to back out your customizations and start with the latest template and then remove the organizer field that way.
July 31, 2015 at 8:49 am #992155jussibr
ParticipantDidn’t work. I do actually need the organizer field as it passes info to me about who submitted the event. I just do not want that info then showing on the event listings (as it is now!) since it contains email addresses etc that should not be shown to our audience. Is there a new way I need to hide this info now?
July 31, 2015 at 11:51 am #992271Brian
MemberHi,
It sounds like you have custom templates in your theme. Unfortunately, I cannot troubleshoot customizations you have made.
The only thing I can suggest it backing out your customizations to get the latest coding and then follow our themer’s guide to get them back in.
https://theeventscalendar.com/knowledgebase/themers-guide/
I would then move this file to your theme:
the-events-calendar\src\views\modules\meta\organizer.php
And in there just delete the email field or any other organizer field you do not want to display.
Thanks
July 31, 2015 at 12:11 pm #992285jussibr
ParticipantThe ‘customizations’ were provided to me through support here when I asked how to hide the organizer info from my event listings. All the code came from this forum.
July 31, 2015 at 1:27 pm #992345Brian
MemberHi,
If that is the case the best thing is to go back to square one either way and use the latest templates as there is to much guessing otherwise. I can help get the customizations back to what they were.
The first thing would be to follow the points in my last thread to remove the organizer email from that template.
Then we can go from here.
August 15, 2015 at 7:05 am #996296Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Since Update most of event listing content no longer displays’ is closed to new replies.
