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.

Date Picker Conflict With WP-Views Request

  1. theslink2000
    Member

    Hi, this is a fairly direct request to the Gravity Forms devs.

    I've been using both your excellent plugin and the brilliant Types and Views but there seems to be a conflict caused with the date picker when both plugins are active. I've been digging into the issue a bit and found a sort of work around but if you look at this thread here:

    http://wp-types.com/forums/topic/date-picker-displaying-errors/

    From their help forums it should explain everything in detail. Also the reason for this post is that a admin from their forums has asked me to invite your devs to investigate this issue with them so it can be resolved as quickly as possible.

    Apologies if this forum isn't the correct place to post this but I don't really know what else to do with this information and am trying to facilitate a fix for everybody.

    Many thanks.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  2. I've flagged this for the devs to take a look. Thanks for posting.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  3. theslink2000
    Member

    No worries bud, hope it's useful.

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  4. I hope we can help. Thanks

    Posted 12 years ago on Tuesday September 4, 2012 | Permalink
  5. I'm having the same issue, any workaround? (other than one posted in Views forum)

    Posted 12 years ago on Thursday September 27, 2012 | Permalink
  6. Blake, there is no specific solution for this right now. Can you post a link to your form please so we can see the conflict first hand? Thank you.

    Also, we're unable to see that forum discussion without being logged in. Can you screenshot or pdf the discussion and post the link here so we can see specifically what is being suggested? Thank you.

    Posted 12 years ago on Friday September 28, 2012 | Permalink
  7. Hey Chris,

    Try this http://paste2.org/p/2279548

    I seem to have found a way around it by commenting out the CSS stylesheet enqueue for both WP Views and WP Events Manager. Here is what I did...

    wp-content/plugins/wp-views/embedded/inc/wpv.class.php
    commented out line 112 for datepicker css call
    wp-content/plugins/events-manager/events-manager.php
    commented out line 219
    //'ui_css' => plugins_url('includes/css/ui-lightness.css', __FILE__),

    Posted 12 years ago on Friday September 28, 2012 | Permalink
  8. Thanks for posting that work around. So where is the actual problem coming from? Is it a matter of the styles overwriting each other, or a JavaScript conflict? The forum discussion seemed to mention a JavaScript error but yo have dealt with the CSS here.

    Posted 12 years ago on Friday September 28, 2012 | Permalink
  9. Yeah, and actually the issue still exists , I had just disabled the CSS output in GF settings. I reenabled it and the conflict is back. The datepickers look like: http://screencast.com/t/dqLQ7DBLHgPl

    Is there a way I can easily disable the GF datepicker css? I want the rest of the css.

    I'd be happy to give you a login on my dev site if it was helpful.

    Posted 12 years ago on Friday September 28, 2012 | Permalink
  10. The datepicker UI CSS comes from jquery-ui-1.7.2.custom.css in the css folder of the plugin. The file is included in form_detail.php (line 94 in my version - could not post the code here due to firehost security restrictions).

    It does not look like there is an easy way to remove that stylesheet individually (via filter or function) and if you did, you would lose a lot of other jQuery UI specific styles.

    If it's just a style issue, can you override all the styles in your own theme's stylesheet so that the styles from jquery-ui-1.7.2.custom.css are not applied, or are overridden, actually?

    Posted 12 years ago on Friday September 28, 2012 | Permalink
  11. Ok, I sorta found the source of the issue...

    in gravityforms/css/forms.css starting on line 587 I just commented out the whole datepicker section and my site's datepicker looks normal now.

    It is for sure some of the specific datepicker header css as commenting out those lines got it really close to rendering correctly but some things were still not quite in position.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink