Home › Forums › Calendar Products › Events Calendar PRO › How to Fix Address-less Venue Not Showing
- This topic has 10 replies, 6 voices, and was last updated 11 years, 6 months ago by
Leah.
-
AuthorPosts
-
July 10, 2014 at 4:31 am #333783
Cliff
ParticipantJust in case this helps anyone, as it took me a minute to figure out what was going on:
The venue post meta now hides itself if the venue does not have an address attached. I can see the idea, but we use areas inside a campus as venues, so this just caused all venues to hide automatically after upgrading to 3.6.
To fix this, you need to create a file at [your-theme]/tribe-events/modules/meta/venue.php and comment out (or remove) the first line. Should look something like this after you’re done:
//if ( ! tribe_address_exists() ) return;
That file checks for the address again later, so it won’t fail if you don’t have an address. This patched things right up.
To the devs: maybe consider a softer check when excluding the whole template? 🙂
July 10, 2014 at 4:35 am #333795Cliff
ParticipantI should add to the above that you’ll want to copy everything from the original venue.php file before commenting out the line, which is located in plugins/the-events-calendar/views/modules/meta.
July 10, 2014 at 4:49 pm #337832Rob
MemberThanks for the heads up here, Cliff – this is awesome and most appreciated. At face value this honestly looks more like a bug than an intended implementation, and I’ve logged it as such – unless the devs tell me there’s a specific reason for this, which isn’t something we’ve ever discussed, I’m guessing it’s just an oversight that is likely a byproduct of the meta walker changes we made in 3.6.
Just so I understand properly, and can pass the word onto our dev team accurately. You’re doing the following:
1) Creating a new event
2) Adding a venue with just a venue name (no other data) in place, attached to that event
3) Publishing and finding that the venue is totally gone from the frontend, despite existing as a saved venue within the backend of the siteLet me know – that’s the process I was just able to recreate but wanted to check to confirm you aren’t reporting some other variation on this. I’m glad you found a solution and really appreciate you taking the time to share it here with the community. Let me check with the devs as to when we’re expecting to have this patched – it probably won’t be 3.7, since that’s already almost done and ready to ship, but I’m making a case to include it in our next release.
Thanks again for the heads up and let me know if you need anything else here 🙂 We’ll be in touch when we’ve heard more on this specific tweak.
July 11, 2014 at 2:22 am #345113Cliff
ParticipantThat’s correct, Rob. Thanks!
July 11, 2014 at 4:58 am #347036Cliff
ParticipantLooking a bit more, maybe this would be better?
if ( ! tribe_get_venue_id() ) return;
July 11, 2014 at 8:16 am #348587Rob
MemberCliff: you rule. Thanks for taking the time to reply here and even moreso for offering up this further suggestion…really helpful and should make it that much quicker for our devs to get a patch out the door. We’ll let you know when we’ve got this slated to ship.
If we can do anything else in the interim, you know how to reach us 🙂 Thanks again for your support.
July 17, 2014 at 5:46 pm #434342Leah
MemberHi there,
I just wanted to drop in and update you on the status of this issue. We are working on a fix, but we were not able to include it in our upcoming release (3.7). Correcting this problem is still important to us and we hope to have a fix done for a future maintenance release. We will do our best to keep you updated here on our progress. Thank you for your patience and understanding while we work on this.
Best,
LeahJuly 23, 2014 at 2:36 am #487364firstchurchofharwichorgm1lt0n
ParticipantThanks for the update. We’re in the same boat, looking forward to a fix.
September 10, 2014 at 11:46 am #735991Brandon University
ParticipantThanks, Cliff. I just found this solution independently, and came here to see if it’s already been reported. Excluding the whole template for want of an address seems a little scorched-earth to me, too, especially considering that later on in the same file, an empty address is specifically checked for.
September 10, 2014 at 12:00 pm #736015Barry
MemberWe do indeed have some changes in the works following Cliff’s report and I’m hopeful we’ll see them when our next release goes out – so stay tuned and we’ll do our best to update this thread to ensure you stay in the loop 🙂
September 26, 2014 at 11:58 am #768935Leah
MemberHi there,
I just wanted to let you know that we were able to work on this issue for our upcoming 3.8 release. Keep an eye out on your site for an update announcement! If you update and are still seeing this problem, please post a new thread so we can check it out. Thank you for your patience while we got this fix in place.
Best,
Leah
and the team at Modern Tribe -
AuthorPosts
- The topic ‘How to Fix Address-less Venue Not Showing’ is closed to new replies.
