PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Unable to Insert Form via Events Manager Plugin

  1. I'm using the Events Manager plug-in on a site and although it does show the Gravity Forms icon in the toolbar where you enter the event description, when I click on it I get a modal window but nothing further (just a gray overlay with a close option, no form select menu or anything). Any ideas what I might look at?

    Posted 10 years ago on Tuesday July 13, 2010 | Permalink
  2. Did anyone find a resolution to this? I am having the same issue with Events Manager Extended plugin, which is based on Events Manager.

    I notice that in the Events Manager WYSIWYG, the Gravity Forms icon calls /wp-admin/admin.php whilst in standard posts or pages, the icon calls calls /wp-admin/post.php

    Posted 9 years ago on Tuesday June 7, 2011 | Permalink
  3. The issue seems to be in gravityforms.php.

    if(in_array(RG_CURRENT_PAGE, array('post.php', 'page.php', 'page-new.php', 'post-new.php', ))){
    add_action('admin_footer', array('RGForms', 'add_mce_popup'));
    Addint admin.php to the array allows the correct code block to be inserted for the form dialog to work.

    Posted 9 years ago on Tuesday June 7, 2011 | Permalink
  4. OK the above allows the form to be inserted, but the CSS and JS for the form is not placed in the page.

    Posted 9 years ago on Wednesday June 8, 2011 | Permalink
  5. This integration is really on the Events Manager side. Adding admin.php to the list above will "work", but it will also enqueue that script in most admin pages, which is not ideal. Also, the Events Manager plugin will need to enqueue the CSS and JS when displaying the form. Gravity Forms adds those scripts automatically when the shortcode is placed in the post content, but it has no way of knowing that there is a form on the event page, so the scripts have to be added by the Events Manager plugin. I would suggest contacting the Events Manager plugin. If they need help with the integration, we would be glad to give them some pointer on what needs to be done.

    Posted 9 years ago on Wednesday June 8, 2011 | Permalink
  6. Thanks Alex, have posted a message on Events Manager Extended forum at forums:

    Posted 9 years ago on Thursday June 9, 2011 | Permalink