• Hi

    First off, your plugin is impressive and well thought-out. However we have a need to display an annual calendar view and have read some mentions here of an API. We cant identify obvious end points in the code we’ve reviewed and the docs are a little underwhelming (we note they are WIP).

    So what we’re looking for is an easy way to pull out a list of events for a given month which we can then populate ourselves to a simple small calendar widget (we’ll only show if a day has events or not). We’ll then poll this for each required month and build our own annual calendar.

    Any help with the above would be much appreciated.

    Some feature suggestions:
    1. In the output calendar it would be useful to apply a different style to a cell which has events. This way we could easily style event days differently in the output view.
    2. Enable small calendar view for the sidebar widget.

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • @redcardinal
    Take a look at:
    file: app/helper/class-ai1ec-calendar-helper.php
    1. get_events_between function – starting at line 294
    2. get_events_relative_to function – starting at line 361

    file: app/helper/class-ai1ec-events-helper.php
    1. get_matching_events function – starting at line 722

    Thread Starter redcardinal

    (@redcardinal)

    Thanks – appreciate the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] API and accessing/creating annual calenview’ is closed to new replies.