Desactivate Datepicker from code
-
Hello,
It is possible to desactivate Datepicker from events manager front-office from the code source ? And how ?
Thank you
-
am afraid that this is not possible at the moment however can I know why you’ve wanted to do this?
Hello thanks for your response. I want to desactive Datepicker from the code because Datepicker Events Manager doesn’t works in fromt form “Submit your event”. I desactive all extensions but the problem continue.
The Extension Manager is install with the theme Rounder WordPress Theme of Themeforest.
I do not know what to do. ThanksIt sounds like your theme is causing a jQuery conflict. Does the datepicker work with the default WordPress theme?
yes the Datepicker work width the default theme.
That is the error width my theme : $.datepicker.setDefaults is not definedmaybe your theme is loading another version jquery core and/or ui library which is conflicting to default wordpress jquery library? you can asked your theme provider for confirmation.
Hello
The version of jquery is jQuery v1.10.2
ThanksWhich version of WordPress do you have?
Assuming you’re using 3.9, it looks like your theme isn’t loading jQuery in the correct way because that’s an old version of jQuery.
This article might help you locate the loading problem and provide a fix:
http://msyk.es/blog/prevent-jquery-wordpress-theme/ok I reas this article but I’m french.
This is my domain site : http://www.chinon-vienne-loire.fr
thanksA quick fix should be to find the point in your theme where it loads jQuery (probably in the header, footer or functions file) and remove it.
That should make Events Manager load jQuery correctly and solve the problem.
I desactivate jQuery theme and activate jQuery Google last version but the problem persist and I have this error :
Uncaught TypeError: Cannot read property ‘length’ of undefinedafter I desactivate jQuery theme and no activate jQuery Google last version and the problem persist.
I have always this error :
Uncaught TypeError: Cannot read property ‘setDefaults’ of undefinedThanks
Try it without using the Google version of jQuery – stop your theme from loading jQuery completely.
When Events Manager finds jQuery isn’t loaded it will tell WordPress to load it correctly.
Ok I desactive all jQuery Load. I haven’t this error (Uncaught TypeError: Cannot read property ‘setDefaults’ of undefined) but now I have this error.
It’s normal, them dont load any jQuery :
Uncaught ReferenceError: jQuery is not definedI think this is an issue you’ll need to take up with your theme provider, since there is no problem when using the default WordPress theme.
My guess is that it uses additional code to unload jQuery and load in a specific version, making it incompatible with plugins that need to use jQuery.
The topic ‘Desactivate Datepicker from code’ is closed to new replies.