Viewing 2 replies - 1 through 2 (of 2 total)
  • To see how events can be created programmatically you can look at our ics import function add_vcalendar_events_to_db which you can find in lib/import-export/ics.php.

    It’s quite a long function, i know, towards the end there is event creation

    Thread Starter shermano

    (@shermano)

    Hi all,
    after a long time I find time to take a look to this file.

    I have an extended question to this. What I would like to do:
    I have an Database with a lot of games with Day, Start and Endtime, Venue and name of the Teams. The easiest way for me is to read all necessary parameters from my table and write it into the ai1 event calendar table.

    To question for this:
    – Is possible?
    – What timeformat do you have inside of the DB?

    Regards,
    shermano

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘create events using PHP code’ is closed to new replies.