PHP to call event calendar in photo view for a single event category

Home Forums Calendar Products Events Calendar PRO PHP to call event calendar in photo view for a single event category

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #109774
    sciotomile
    Participant

    Okay… We have two different weekly event series in our park — Rhythm on the River concerts and FountainSide (free children’s programing). I have set these up as separate event categories. I would like to create a separate page template for each series and have each one display the photo view option of only Rhythm on the River events and only FountainSide events on there respective pages. Is there a way to achieve this?

    #110018
    Kelly
    Participant

    Hi, sciotomile. Great question! 🙂

    Our calendar isn’t really set up to be called on a page outside of the usual ones. To get the photo view for a single category the URL would be something like: yoursite.com/events/category/category_name/photo/

    Do you think you could make it work just calling the specific URLs?

    #110213
    sciotomile
    Participant

    Perhaps using iframes…

    #110345
    Kelly
    Participant

    Hi, sciotomile. The problem is that there are lots of things that need to be loaded in order for our plugin to work correctly.

    If this is something you’re set on implementing, the best hack right now is to embed the calendar widget and customize it to add back whatever of the missing stuff you need. It’s possible to use tribe_get_view() and/or another function to pull in the actual fullsize calendar template, but you’ll need to take care of enqueuing all the assets that are required to support that view. (Otherwise, you basically have a non-functional calendar and can’t page forward or anything.) Admittedly, this is a bit outside the scope of support that we can provide here on the forums.

    Hope that helps a little. Please let me know if there are any other questions I can answer.

    #118788
    Kelly
    Participant

    Hi, sciotomile. As it’s been a couple of weeks now, I’m going to close this thread. Please start a new topic if you’d like to pursue this further.

    Thanks for being a TEC user! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘PHP to call event calendar in photo view for a single event category’ is closed to new replies.