Support

Home Forums Event Espresso Premium Add Event Location to Calendar Shortcode (Follow up)

Add Event Location to Calendar Shortcode (Follow up)

Posted: December 7, 2016 at 2:53 am

Viewing 5 reply threads


Jeff Long

December 7, 2016 at 2:53 am

Hello

I had a topic called ‘Add Event Location to Calendar Shortcode’ that is closed, but I need to follow up.

The example snippet you provided worked great (https://gist.github.com/joshfeck/501a66f238e74db316c5d82f54e37f63). However, I didn’t really want to use tooltips. Would there be a way to use that filter to eliminate everything in the tooltip except the location?

I did find that I could get the result that I wanted by adding my own code around line 507. Is there a way that I can replace EED_Espresso_Calendar.module.php safely with my own file? That way I can update my software, and then check the updated version against my own version.


Josh

  • Support Staff

December 7, 2016 at 7:31 am

No the filter cannot remove everything else from the tooltip. You would need a new filter added there. Do you have a github account?


Jeff Long

December 7, 2016 at 8:48 am

Yes – @JRyven is my Github handle.


Josh

  • Support Staff

December 7, 2016 at 2:17 pm

Great! If we give you access to the Calendar repository there on Github, would you be able to do a pull request to add a new filter hook that will make your customizations possible?


Jeff Long

December 7, 2016 at 3:54 pm

Yeah, I’ll give it a shot. Ill watch Git for notifications.


Josh

  • Support Staff

December 7, 2016 at 4:10 pm

OK an invitation has been sent. A little tip about how we name action and filter hooks: Action hooks are prefixed with AHEE__ and filter hooks are prefixed with FHEE__. Then the class name follows, then a unique descriptive slug for the specific hook.

Viewing 5 reply threads

The support post ‘Add Event Location to Calendar Shortcode (Follow up)’ 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