Ticket #30489 Public [Closed]

Bug report: loading event iframe js and content in shortcode list

When calling EventON display list through shortcode in a post or page, plugin call loads content of the events even if this data is not displayed.

This behaviour happensĀ if an event is using an embedded iframe in the description (e.g. an app or another page/video)

In this case problem is that the event requires a Google Form for members. When the event is listed in shortcode any weblink (or reload) triggers the javascript warning “Are you sure to navigate away?”, same if you were actually filling the form.

Create a event -> Embed a google form in content with iframe -> List the event -> Click any link -> JS warning

I think fixing this behaviour and avoiding preloading content if it’s not going to be displayed will also improve speed for shortcode event loop listing.

Greetings and have a nice day šŸ˜‰

BY: blaster667 - Mar 7,2017 AT 2:59PM - 3 years ago
    • By: infotainerdave Mar 7,2017 AT 10:45PM - Posted 5 years ago - #30511

      we are in the testing phase of having a form inside the event description but yes you are right it does cause errors- best thing to do is to have the form on a different page and link to it – perhaps with either the learn more or create a button via myeventon>>>>settings>>>custom meta data
      activate and choose button) then in myeventon>>>settings>>>>event card data- activate and position that button to where you want to

      at the moment we are aware of this problem and are working towards a fix but there is no eta at the moment

      I know some customers with access to a pop up plugin (pop up a subscription form on image click) have in some cases got a form working but then again some also have failed.

    • By: blaster667 Mar 8,2017 AT 8:02AM - Posted 5 years ago - #30592

      Thanks for the quick reply! That’s exactly what I proposed to website owner: to set the google form in a button instead of embedding it. That fixes the issue.

      And as I said before, I think the best and permanent solution is to improveĀ the event loop php code to avoid rendering or processing the description if not actually shown.

      Keep up the good work!Ā šŸ˜‰

    • By: Ashish Rai Mar 9,2017 AT 9:36AM - Posted 5 years ago - #30747

      ok. Thank you for letting us know.

      I will alert Ashan of this. I am sure he will find it useful.

    • By: Ashan Perera Mar 9,2017 AT 5:09PM - Posted 5 years ago - #30797

      If you have scripts inserted in the event details it will obviously run when the calendar loaded that is unavoidable as eventCard content will load on to the page on page load.

      UNLESS, you set the ux_val=’4′ in calendar shortcode in which case the events will open as its own event page and will not load eventCard conetnt on to the calendar page.

    • By: Constantine Mojito Feb 4,2019 AT 7:30AM - Posted 3 years ago - #109883

      really really useful. was looking how to disable iframe preload on calendar. thank you.

    • By: Artem Feb 4,2019 AT 1:27PM - Posted 3 years ago - #109952

      Hello Constantine Mojito,

      We are glad your issue is resolved, if you have any further questions or concerns please create a new ticket.

You must login to reply to this ticket


Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON