Event Organiser
[resolved] Showing only excerpt on full calendar (5 posts)

  1. kings3jm
    Posted 3 years ago #

    I'm looking to integrate gravity forms with this plugin. It works fine on the event listing, however when looking at the full calendar, the full description of the event shows on hover, which includes the shortcode for the gravity form, not the form itself.

    Is there a way to only show the event excerpt when hovering over the event in the full calendar view? This would easily solve my problem.



  2. Stephen Harris
    Plugin Author

    Posted 3 years ago #

    mmm...seems I should have used strip_shortcodes(). Otherwise the tooltips do show an 'excerpt' (trimmed event content). (The reason for not just using get_the_excerpt() for this was because its is not available outside the loop. In any case, it adds a 'read more' link which I did not want. ).

    I'll release an update shortly, but if you want to alter this yourself - the code concerned can be found here https://github.com/stephenh1988/Event-Organiser/blob/master/includes/event-organiser-ajax.php#L76.

  3. kings3jm
    Posted 3 years ago #

    That was easy, and worked perfectly! I just couldn't figure out what/WHERE I had to make that change, thank you!

    Now this works great with gravity forms. Your calendar is the only one I can incorporate for their 6 week classes. The calendar is here http://www.nananpaws.com/calendar and once the website is live, you can see the excerpt on hover, and the gravity form sign up on the event page. Success!

    Thank you!!

  4. Stephen Harris
    Plugin Author

    Posted 3 years ago #

    Awesome :). Incidentally I'm working on a booking/registration add-on - but it looks like you're all set up with GF :).

  5. kings3jm
    Posted 3 years ago #

    I would definitely be interested in a booking add-on, if it makes it even more seamless. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic