Adding new eventDisplay types (extending beyond map, photo, etc)

Home Forums Calendar Products Events Calendar PRO Adding new eventDisplay types (extending beyond map, photo, etc)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #776306
    Motorco
    Participant

    I had hackily customized the old version of ecp to include new “views” of events by simply adding to the logic within setOptions, templateChooser, etc. But within the new (better 🙂 ) structure I’d like to do it “the right way”. Seemed like adding a filter on tribe_events_pro_get_link would do it, but I’m having some difficulty capturing my “type” when passed via http://example.com/?eventDisplay=NewType. Any suggestions? Thanks!

    #776630
    Barry
    Member

    Hi Mike!

    It’s always a great idea to do things the right way and we actually put together a “stub” plugin to demonstrate how this all works:

    github.com/moderntribe/tribe-events-agenda-view

    You can use this to see how everything pieces together and you are more than welcome to basically modify what you need and build on top of it to create your own views.

    Does that help?

    #776848
    Motorco
    Participant

    Excellent – where is the documentation on the plugin? The link given (https://theeventscalendar.com/using-the-stub-plugin-to-create-new-views/) doesn’t work.

    #778125
    Barry
    Member

    Hi – sorry for the mixup.

    That’s no longer available and we’ll do our best to remove that link as soon as we can.

    It wasn’t something that went into any technical depth, though, it was just a summary of downloading and installing the agenda view plugin (which of course can be achieved by downloading it from GitHub in .zip format and uploading it like any other plugin).

    Really the agenda view plugin exists as a standalone example geared towards developers – we hope the structure and layout will serve as its own guide.

    Thanks again 🙂

    #783581
    Motorco
    Participant

    Okay – good enough. It served as an excellent template.

    #785161
    Barry
    Member

    <p>Good stuff :-)</p><p>I’ll go ahead and close this one out, but if we can help with anything else please don’t hesitate to create new threads as needed and one of the team will be only too happy to assist.</p><p>Thanks again!</p>

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Adding new eventDisplay types (extending beyond map, photo, etc)’ is closed to new replies.