Problem Overriding Events Archives in conjunction with On The Go Toolset

Home Forums Calendar Products Events Calendar PRO Problem Overriding Events Archives in conjunction with On The Go Toolset

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #955218
    chris
    Participant

    I’ve read the Theming guide https://theeventscalendar.com/knowledgebase/themers-guide/

    And I’ve created a /metro-pro/tribe-events/default-template.php

    Using On The Go Toolset I’ve extended the Events CPT considerably to include a relationship with Artists using an intermediate Appearances CPT. Many Artists play one Event. One Artist will play many events. The idea is I update the Artist CPT with rich embeds and links and add this to an event by creating an appearance.

    Toolset allows me to do this easily and I use the Toolset Views plugin to display embeds for Artists in an Event. For example http://www.aquedukt.co.uk/event/bbc-introducing-live-in-berkshire-bellyeyesmile-harry-macintosh-project/

    This works perfectly for Single Events

    The Way Toolset VIews work is it allows me to assign new Content Templates to Single Page Views and Archive Views.

    For some reason I am unable to select Post Archives for Events.

    If anyone is able to help I would be most grateful.

    I am in conversation with Toolset too, and they are reffering me to you.

    #955368
    Brian
    Member

    Hi,

    Thanks for using our plugins I can try to help out here, but I am limited in supporting customizations.

    The Event Views (month, list, etc) are archives, however, the is_archive does not work you need to use is_post_type_archive() instead.

    Not sure if the plugin you use can use that instead. If that does not work we have these conditionals as well to target specific views:

    http://pastebin.com/c4yujaZC

    Let me know if you have any follow up questions.

    Thanks

    #955966
    chris
    Participant

    Ok.

    Thanks, I’ve passed it on to Toolset support and I’ll see if it helps them and report back.

    #955979
    Brian
    Member

    Ok, let us know what you find out.

    Thanks

    #968574
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Problem Overriding Events Archives in conjunction with On The Go Toolset’ is closed to new replies.