Title: ICAL issue
Last modified: September 23, 2019

---

# ICAL issue

 *  Resolved [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/)
 * Hi,
 * I’m having problems with #_ICALLINK and #_ICALURL
 * #_ICALLINK is just showing the text ICAL in the email, no link.
 * #_ICALURL works as a link but opens in Outlook as a meeting request rather than
   an appointment. Can it be changed to open as an appointment instead as it’s not
   efficient for people to have to add themselves in and send the meeting request
   to themselves.
 * I’m happy to add code to the functions file if that is what is required.
 * Thanks,
    David.

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

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11959927)
 * EME has a filter called eme_ical_filter, you can use that to change the content
   of the generated ical info. It *might* be that outlook is happy if just the ORGANIZER-
   line is removed from the ical, otherwise you need to find the difference in meeting
   and appointment ical formats …
    For the filter, see [https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/](https://www.e-dynamics.be/wordpress/category/documentation/12-hooks-and-filters/)(
   it contains an example on how to remove the ORGANIZER line too).
 *  Thread Starter [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960056)
 * Worked a treat, cheers Franky.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960105)
 * Glad to hear. Did you just remove the organizer line? Or also added the class:
   public?
 *  Thread Starter [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960112)
 * I also added the class:public. I tried the function as it is on the page you 
   linked me to, to test that first.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960128)
 * Well, I have no outlook that I can test it on, so it would be nice if people 
   told me what was needed or not, but for now I’ll add a comment to it that outlook
   likes that filter more 🙂
 *  Thread Starter [blanch80](https://wordpress.org/support/users/blanch80/)
 * (@blanch80)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960152)
 * Just tested it…
 * Both seems to work, the one you directed me to works as it is, but the below 
   also worked, both opening up just as an appointment rather than a meeting.
 * // Remove organiser field from iCal to make appointment rather than meeting
    
   function my_ical_filter($ical_entry) { // do a print_r of $ical_entry to see 
   the content // as an example, let’s add a line “CLASS:PUBLIC” // $ical_entry .
   = eme_esc_ical(“CLASS:PUBLIC”); // other example: remove lines that contains “
   ORGANIZER” $ical_entry = preg_replace(‘/ORGANIZER.*\r\n/’,”,$ical_entry); return
   $ical_entry; } add_filter(’eme_ical_filter’,’my_ical_filter’);
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960187)
 * Ok, then it means that ORGANIZER is the one not needed for outlook.
    According
   to [https://www.kanzaki.com/docs/ical/organizer.html](https://www.kanzaki.com/docs/ical/organizer.html)(
   which I probably misread), it is indeed not needed for “entities only on a single
   user’s calendar”. So I assume I can remove that line by default. And according
   to [https://www.kanzaki.com/docs/ical/class.html](https://www.kanzaki.com/docs/ical/class.html),
   CLASS is by default PUBLIC.
 * So I’ll change the code to remove the ORGANIZER line by default.

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

The topic ‘ICAL issue’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/ical-issue-2/#post-11960187)
 * Status: resolved