Ideas

This board is only for raising and voting on feature requests (Ideas / Suggestions).
Please raise any BugsĀ via "Get Help" button on your calendar admin dashboard.

Specify start date for ICS export

I am using ai1ec to export events from WordPress sites into Jevents for Joomla!

I would like to be able to specify the start date for events in the ICS export URL, so that I can import all events to Jevents, not just upcoming events. I added the following code to lib/command/export-events.php :

line 56

$params['start'] = Ai1ec_Request_Parser::get_param(
                                'start',
                                false
                        );

line 114:

if ( ! empty( $this->_params['start'] ) )
                        $start =  $this->_registry->get( 'date.time', $this->_params['start'] );
                else

Now I can use a URL like http://mysite.com/?plugin=all-in-one-event-calendar&controller=ai1ec_exporter_controller&action=export_events&no_html=true&start=2012-01-01

Would it be possible to include something like this in future releases? It may be useful for other people, and it would prevent me from needing to make the changes again each time I update the plugin.

  • Guest
  • Mar 3 2016
  • Needs More Votes
  • Attach files