Skip to content Skip to main menu Skip to utility menu

"Add to Calendar" not working in IE?

Home Forums GovIntranetters "Add to Calendar" not working in IE?

This topic contains 2 replies, has 2 voices, and was last updated by ISD BOL ISD BOL 4 months ago.

  • Author
    Posts
  • #3035

    aaron robb
    Participant

    Quick note here.
    With the events ‘Add to Calendar’ option, when you’re using IE (since local governments can’t seem to figure out Chrome), the ‘ICal’ and ‘Outlook’ options don’t work.
    They just seem to bring up another window and nothing is downloaded/opened.
    The links for gmail and yahoo seem to work. And it does work on Chrome.

    Is there a fix for this at all? Force download of ics file or something?

    Thanks!

  • #3036

    aaron robb
    Participant

    Ok, so looking into it, IE doesn’t like the ics format…
    People are suggesting to use the following php to call the proper type in the headers:

    header(‘Content-Type: text/calendar; charset=utf-8’);
    header(‘Content-Disposition: attachment; filename=”calendar.ics”; ‘);

    I haven’t tested yet, but i’m wondering if on single event pages, we can add this to the header and it may recognize it?? I’m not totally sure yet though…

  • #3047
    ISD BOL
    ISD BOL
    Participant

    Hi Aaron,
    Having the same problem here with IE and adding items to Outlook Calender.
    Does the PHP-solution solve the problem? If so, could you please elaborate a bit on that. I don’t really understand how this PHP-stuff works 🙂
    Thanks, Pascal

You must be logged in to reply to this topic.