Giter Site home page Giter Site logo

Comments (17)

soderlind avatar soderlind commented on August 27, 2024

@Mortrall, Are you running the lastest version of the plugin (2.0.4)? What's the ACF version you're using ?

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Plugin version: Version 2.0.4
ACF version: Version 3.5.4

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

Just tested (again) on ACF v 3.5.8.1 and it works as expected. Reason I asked for plugin version was that a similar bug existed in 2.0.2, but was fixed in 2.0.3

I would, if possible, upgraded to ACF 3.5.8.1 or 4.0.3 (http://wordpress.org/extend/plugins/advanced-custom-fields/)

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

OK, thx! I'll try to update after a few hours. Will reply here.

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Nope... Updated to 4.0.3...
Default Date picker works perfectly, but this Date and Time picker field - no... Works only from the post page (when it's created), not from /wp-admin/post-new.php
Any ideas?

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

I'll look at it later today (at work now), but .. have you tested with different browsers (versions?)? what's the wordpress version you are using ?

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Opera, Chrome, Mozilla, IE's... Browser was the first thing I've tried.
WP version: 3.4.2

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

so .. I installed WP 3.4.2 + ACF 4.0.3 + acf-field-date-time-picker 2.0.4 and everthing works fine. Are you running a lot of other plugins ? Might be one of them that's causing a conflict, most likely with jQuery and/or jQuery UI. Please do a view-source and have a look. Look for URLs to external jquery and jquery ui scripts.

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

I just created a "debug field". It will list the order scripts are enqueued. You'll find it at https://github.com/soderlind/acf-debug-list-enqueued-scripts. It might help finding the bug you are experiencing. When I add it, the last scripts in the list are:

    23  media-upload          thickbox
    24  jquery-ui-tabs        jquery-ui-core and jquery-ui-widget
    25  jquery-ui-datepicker  jquery-ui-core
    26  jquery-ui-slider      jquery-ui-core and jquery-ui-mouse
    27  jquery-ui-timepicker  jquery-ui-datepicker and jquery-ui-slider
    28  timepicker            jquery-ui-timepicker

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Yep, I have a lot of plugins and this can be the problem...
Hm... I've implemented your debug field, and....

at post-new.php:

1 jquery
2 jquery-colorpicker jquery
3 editarea
4 simplemodal
5 google.api

at post edit page:

1 jquery
2 jquery-colorpicker jquery
3 editarea
4 simplemodal
5 google.api
6 jquery-ui-core jquery
7 jquery-ui-datepicker jquery-ui-core
8 utils
9 wp-ajax-response jquery
10 revision-control jquery and wp-ajax-response
11 quicktags
12 jquery-ui-widget jquery and jquery-ui-core
13 jquery-ui-mouse jquery-ui-widget and jquery-ui-core
14 jquery-ui-sortable jquery-ui-core and jquery-ui-mouse
15 acf-input jquery
16 acf-input-ajax jquery and acf-input
17 jquery-ui-tabs jquery-ui-core and jquery-ui-widget
18 farbtastic jquery
19 acf-datepicker jquery and acf-input
20 jquery-ui-slider jquery-ui-core and jquery-ui-mouse
21 custom-script
22 charCount jquery
23 dsnmanager_js jquery
24 jquery-ui-draggable jquery-ui-core and jquery-ui-mouse
25 jquery-ui-droppable jquery-ui-draggable and jquery-ui-core
26 jquery-ui-position jquery and jquery-ui-core
27 jquery-ui-autocomplete jquery-ui-core and jquery-ui-widget and jquery-ui-position
28 crayon_util_js
29 crayon_admin_js jquery and crayon_util_js
30 crayon_te_js crayon_admin_js
31 AtD_core
32 AtD_quicktags quicktags
33 AtD_jquery jquery
34 AtD_settings AtD_jquery
35 AtD_autoproofread AtD_jquery
36 AtD_l10n AtD_settings and jquery
37 UserAccessManagerJQueryTools jquery
38 UserAccessManagerFunctions jquery and UserAccessManagerJQueryTools
39 tabs-slides
40 tabs-slides-loader
41 admin-bar
42 hoverIntent jquery
43 common jquery and hoverIntent and utils
44 jquery-color jquery
45 thickbox jquery
46 schedule jquery
47 autosave schedule and wp-ajax-response
48 wp-lists wp-ajax-response
49 jquery-query jquery
50 admin-comments wp-lists and quicktags and jquery-query
51 suggest jquery
52 postbox jquery-ui-sortable
53 post suggest and wp-lists and postbox
54 media-upload thickbox
55 ame-menu-fix jquery
56 jquery-ui-timepicker jquery-ui-datepicker and jquery-ui-slider
57 timepicker jquery-ui-timepicker
58 devicepx
59 edit-flow-calendar-js jquery and jquery-ui-core and jquery-ui-sortable and jquery-ui-draggable and jquery-ui-droppable
60 edit_flow-custom_status jquery and post
61 edit_flow-post_comment jquery and post
62 edit_flow-date_picker jquery and jquery-ui-datepicker
63 jquery-listfilterizer jquery
64 jquery-quicksearch jquery
65 edit-flow-notifications-js jquery and jquery-listfilterizer and jquery-quicksearch
66 edit-flow-user-groups-js jquery and jquery-listfilterizer and jquery-quicksearch
67 wp-seo-metabox jquery and jquery-ui-core and jquery-ui-autocomplete
68 crayon_qt_js quicktags and crayon_te_js
69 wpseo-admin-global-script jquery
70 mustache
71 underscore
72 backbone jquery and underscore
73 notes-postmessage
74 spin
75 jquery.spin jquery and spin
76 notes-rest-common backbone and mustache and jquery.spin
77 notes-admin-bar-rest jquery and underscore and backbone and jquery.spin

So, the problem is at google.api or at jquery-ui-core?

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

@Mortrall, I just updated to v2.0.5 where I replaced dependecy of jquery-ui-datepicker with acf-datepicker. Please test.

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Nope, didn't helped, but thank you for try. I'll resume my attempts to find - which plugin is creating such problem...

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

You're loading a lot of plugins :) Not all are (?!) needed in the admin area.

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

Yep, a lot of them ))
I'll try to figure out something.

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

@Mortrall new version is available, please test.

from acf-field-date-time-picker.

Mortrall avatar Mortrall commented on August 27, 2024

It's working!!!! Thanks!!!
What did you do?

from acf-field-date-time-picker.

soderlind avatar soderlind commented on August 27, 2024

@Mortrall, I rewrote the code I was using to attach the field to the DOM, you can see the diff here d672282

from acf-field-date-time-picker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.