Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
iCal Custmization | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium iCal Custmization

iCal Custmization

Posted: December 16, 2013 at 2:38 pm

Viewing 6 reply threads


Deborah Walden

December 16, 2013 at 2:38 pm

Is there a way to use custom functions or a hook to modify the contents of the iCal link?


Seth Shoultes

  • Support Staff

December 16, 2013 at 4:23 pm

If you want to override the default pluggable functions for the iCal feature. Look in the event-espresso/includes/functions/ical.php file. You should be able to override the “espresso_ical” function.


Deborah Walden

December 17, 2013 at 12:03 pm

Hi Seth,

I tooled around with the function file and this looks like what I need. I’m not sure how to safely override the function though (I know the code, just not where to place it). Where in my overrides can I do this? In the custom_functions, custom_includes?

Main thing I need to do is un-comment the Event Description parts of this so that the description gets sent through the link arguments and into the calendar. I also need to add/tweak some other things.


Josh

December 17, 2013 at 2:32 pm

Hi Deborah,

You can copy the entire modified espresso_ical function into /wp-content/uploads/espresso/custom_functions.php and Event Espresso will load functions from there before it loads its functions.


Deborah Walden

December 19, 2013 at 2:21 pm

Hi Josh,

Yep this worked, I’m wondering why the Google maps link is not available though. I suppose I can build it out myself with the location information provided but it would be nice to include that. I tried using the google_map_link meta value but it was formatting my link strangely so I left it out.


Josh

December 24, 2013 at 8:51 am

Hi Deborah,

I can’t say for sure why the Google Maps link didn’t work, without seeing the code in question.

Did you try using the espresso_google_map_link function?


Deborah Walden

January 3, 2014 at 5:39 pm

I was able to get it to pass to the iCal but when I tested in Outlook it stripped some of the ASCII characters out of the link and I was left with a partial link. It may not be possible for iCal / Outlook to work together on this :/

Viewing 6 reply threads

The support post ‘iCal Custmization’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server