Hi there,
in my user event submission form above mentioned functions are gone. I'm aware of the jquery issue Marcus mentioned but I can't find it out. Please have a look:
http://www.der-backnanger.de/veranstaltungen-melden/
Cheers
Hi there,
in my user event submission form above mentioned functions are gone. I'm aware of the jquery issue Marcus mentioned but I can't find it out. Please have a look:
http://www.der-backnanger.de/veranstaltungen-melden/
Cheers
unauthorized access at http://www.der-backnanger.de/veranstaltungen-melden/
Have you tried to temporarily:
- deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the default theme to rule out any theme-specific problems
your jquery looks ok, I'd try angelonwl's suggestion
Okay, thanks, I will try that.
I have got a form plugin (FS Contact Form) running that uses date picker as well. What happens when I deactivate this plugin? Are all my forms gone?
Do you know?
I really appreciate your excellent support. Cheers every so much.
if you deactivated that plugin chances are you will lose all the forms which you have created using FS Contact Form
also, EM Pro has this feature http://wp-events-plugin.com/documentation/custom-booking-forms/
Okay, I deactivated the form plugin, same problem, no date picker and autocomplete.
Is there a way to find out - with firebug or similar - where the script problem lies?
Cheers again
hi,
Did you try to temporarily disabling all plugins excerpt Events Manager and reverting to default theme?
other useful links
http://www.nsbasic.com/app/tutorials/TT10.htm
https://getfirebug.com/wiki/index.php/Firebug_Links#Tutorials
Hi again,
I disabled all the plugins, but didn't go back to default theme because this is a live theme with 18.000 PI per month. Don't wanna loose any settings.
Can I disable just date picker and autocomplete for event manager?
I want to upgrade to EM Pro version but need to sort this out otherwise no use for me.
Cheers
I'm going to release an update later today which may help with the datepickers. Since I can't see the submission form, I can't tell for sure.
For the auto-complete, you can disable that by choosing to show a dropdown list of locations in Events > Settings > General > General Options
Hi Marcus,
Thanks for your help.
Sorry the form was not on public. Now you should be able to see: http://www.der-backnanger.de/veranstaltungen-melden/
Cheers again for amazing support.
Definitely is a jquery issue. I'd say you need to first try your theme before I look into debugging the JS, because normally, this works fine. Example - http://demo.wp-events-plugin.com/submit-your-event/
Since you don't want to change themes, you can use live preview to test this out. Go to appearance, click preview under twentyeleven, and then navigate to your event form.
Hi Marcus,
Thanks for you patience.
I changed to Twentyeleven. It works well - no problem with date picker. It's obviously a theme conflict. But I need this theme. What can I do? Is this maybe a z-index level problem? I can't see any javascript error messages in Firebug. Can you?
Cheers
Clemens
hi, you can try to temporarily disable other custom javascript or jquery function which your theme loads e.g. header.php
Hi again,
How would I do that temporarily? Just delete the file? I'm paranoid about loosing my theme, although I'm on a daily backup.
Cheers
Clemens
better to ask your theme provider about it however you can just comment the javascript includes on the header and no files should be deleted;
e.g. add
<!-- your js stuff -->
around your js stuff
when done, uncomment those bits at the start/end
I do see an error actually but using google chrome - Uncaught TypeError: Cannot call method 'getTitleId' of undefined
Hi Marcus,
I updated EM with your last date picker fix, still the same problem.
I can't find the JavaScript to comment, not in header.php
I think I'm loosing it.
Heeelp please
Clemens
forgot to mention, but this recent update wouldn't fix your problem, you'd need to track down the offending js in your theme and fix it.
not much more we can do, given it's theme specific, if your theme developer can't help, consider hiring someone to debug it - http://jobs.wordpress.net
Thanks Marcus,
and there isn't a possibility to disable date picker and autocomplete just for the event form?
Cheers
Clemens
Datepicker is required, but as I mentioned, the autocomplete can be replaced with a dropdown.
if you need the datepicker just on that page (assuming it works admin-side), try add a conditional in your header and not load your theme JS on the submission page?
e.g.
<?php if( get_query_var('pagename') != 'veranstaltungen-melden' ): ?>
your js here
<?php endif; ?>Hi Marcus,
I know I must be a pain in the back but I'm really no wordpress coder.
Do you mean I should put above code in the wp header.php like this:
<?php if( get_query_var('pagename') != 'veranstaltungen-melden' ): ?>
<script type='text/javascript' src='http://www.der-backnanger.de/wp-includes/js/jquery/ui/jquery.ui.datepicker.min.js?ver=1.8.20'></script>
<script type='text/javascript' src='http://www.der-backnanger.de/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js?ver=1.8.20'></script>
<?php endif; ?>
Cheers again
yes, you can put the snippet in your theme header e.g. header.php
Hi again,
I disabled in EM General Options "Accept bookings" (after Enable recurrence?) and here we go: The date picker works well. So there is obviously a conflict in your plugin. I don't need booking yet, but I want to upgrade to Pro Version, what does that mean for me in terms of booking facility?
But problem still: Autocomplete doesn't work (backend okay, problem just in front end on the submission form).
I think we are getting there
Cheers
It definitely works :) Look at our demo site, there's even a datepicker in the booking form itself using the Pro booking form editor - http://demo.wp-events-plugin.com/events/neil-young-main/
Autocomplete won't work unless you fix your theme. We can't help you with that (even in Pro), your theme is at fault here so you need to either fix the JS, or ditch the JS your theme uses and figure a way around whatever it was trying to do acheive. Ideally, your theme maker should correct this problem because I can say with 100% certainty it is your theme doing this.
The reason disabling bookings made it work is because the bug (if i remember correctly) was with the jQuery dialog UI plugin and some conflict with that. However, given your theme doesn't work with the jQuery autocomplete UI (both a WP native script) it's hard to say, esp. since I cant' see the page above anymore - 404
Hi Marcus,
Thanks for your detailed answer.
I'll try to disable some javascript.
Here ist the link to the submission form: http://www.der-backnanger.de/veranstaltung-melden-2/
I can't see any error warning in Firebug anymore though.
Cheers
Clemens
hi,
I found this error on your site using chrome -> error console
Uncaught TypeError: Cannot read property 'PAGE_UP' of undefined jquery.ui.autocomplete.min.js:5
element.addClass.attr.attr.bind.bind.d jquery.ui.autocomplete.min.js:5
f.event.dispatch jquery.js:3
h.handle.i jquery.js:3Hi aglonwl,
Any idea what that could mean for "normal people"?
Cheers
Clemens
Is this the theme that you are using http://themeforest.net/item/swagger-responsive-wordpress-theme/930581?ref=themeblvd ? because if this is your theme I tried to install it and everything seems to be working fine?
Hi
No - it's this one: http://themeforest.net/item/swagmag-wordpress-magazinereview-theme/1576310
I think I know why this is happening....
Your theme (looking at the live preview on TF) is loading the jQuery library from the Google CDN, which (although it's wrong, one day it'll be outdated) at the moment is ok because it's 1.8.1 but WP uses 1.7.2 so what may be happening is the js code in there is using something in 1.8.1 that's new and breaking the rest of the script.
Given you paid for this theme, you should ask this on their support forum, because we're using the normal WP jQuery UI and not doing anything particularly special there. Otherwise, the solutions above are my suggestions, can't give much more.
You must log in to post.