3 calendars in photo view php code

Home Forums Calendar Products Events Calendar PRO 3 calendars in photo view php code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104124
    jamsmunson
    Participant

    Hello

    I have a website that is needing to have to display 3 different calendars in 3 different categories for a market.

    The website is a 1 page website that changes content areas via jquery depending on which market you wish to look at

    I need to be able to display 3 different calendars in photo view that i can hide and show – ive done this with wordpress items news by using 3 different php codes that i can embed and then show/hide the divs

    Can i get that code for the calendar from somewhere?

    is it possible for the widget to show in photo mode?

    #104528
    Kelly
    Participant

    Hi, jamsmunson! 🙂 This sounds like an awesome implementation.

    I’ve never actually tried doing what you describe, but I don’t think the calendar views were intended to support having multiple on a single page. Not that that means it is impossible, it’s just a toss up as to whether there would be issues with the code. Based on that, it might be worthwhile to try to take and adapt widgets because they are designed in such a way there can be many to a page.

    Alternatively, you could investigate embedding photo view on the page. We can’t really offer you instructions on how that would work (because we don’t have them), but it comes down to using tribe_get_view() and also ensuring the support JS/CSS assets are made available – and you’d have to work some special shenanigans of your own to dynamically load in the different categories you want, so it perhaps looks like the calendar is present multiple times but isn’t really…

    Again, that is sufficiently bespoke we can only suggest a few ideas and can’t take it much further. If you do hit a snag and get stuck, please give us a shout. We’re always eager to make sure you stay on the right track.

    Good luck! 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘3 calendars in photo view php code’ is closed to new replies.