Home › Forums › Calendar Products › Events Calendar PRO › Display "Calendar View" for Venues
- This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by
Geoff.
-
AuthorPosts
-
January 14, 2015 at 10:30 am #932827
protechig
ParticipantHello,
I am building a site for a hobby show that has two locations. Each location holds different events on a weekly basis. We want to realistically have a separate calendar for each venue. So when you go to the page of the “Cedar Park” venue you’d only see events for Cedar Park, as a calendar. In this case it just shows all upcoming events for the Cedar Park venue. I users to be able to delve a bit deeper into this by being only able to show only “Magic: The Gathering” (event category) or “Warhammer” (Category) for just one specific venue – but in a calendar view.
How can I accomplish this? Everything I see is only in list view for the Venue pages.
Thanks,
ZachJanuary 14, 2015 at 11:16 am #932854Geoff
MemberHey there, Zach! Welcome to the forums–we hope the plugins have been treating you well so far. š
Great question. Unfortunately, the Venue page only supports List view right out of the box. You may be able to try overriding the Venue template to make this happen, but I’m afraid it will take a hefty amount of custom development that we’re unable to support here in the forums.
My first thought is that you might want to link visitors directly to a filtered query of events within a venue while in Month view. The Filter Bar add-on will be required to make this happen, but then you would end up with a specific URL, such as:
[your-site]/events/month/?tribe_venues[query-ID]
If you’d prefer to take on a templateĀ override, you’ll want to grab theĀ single-event.php template (located in /plugins/events-calendar-pro/views/pro) and customize it to get what you’re looking for. You can read more about template overrides in our Themer’s Guide, but the basic process will be:
- Make a copy of theĀ single-event.php template
- Make a new folder in your theme directory calledĀ tribe-events
- Make another folder inside that one calledĀ pro
- DropĀ the copied file into that folder
Now that the template is in your theme directory, you can modify it to suit your needs. You’ll see where the Upcoming Events query begins around Line 75.
Sorry I don’t have a concrete answer for you here, butĀ I hope it at least gets you started in the right direction! We also have a UserVoice page where we accept feature requests, and I think this would be a nice one to add if you want to see it considered.
Cheers!
GeoffJanuary 14, 2015 at 11:38 am #932870protechig
ParticipantThanks for your response,
I’m familiar with Template Overrides in BuddyPress for a project I was working on in the past – it uses the same concepts.
I’ll work on that and let you know if I run into any issues.
Thanks,
ZachJanuary 14, 2015 at 1:11 pm #932927Geoff
MemberSweet–thanks for following up and good luck! Be sure to check back in and let us know if and how you were able to make it happen. I bet other would find that super helpful as well.
I’ll go ahead and close this thread but please don’t hesitate to start a new one if you run into any other questions or issues along the way–we’d be happy to help. š
Cheers!
Geoff -
AuthorPosts
- The topic ‘Display "Calendar View" for Venues’ is closed to new replies.
