mkleyne
Forum Replies Created
-
Thanks for the quick fix Ov3rfly! That’ll surely help save some page load until it’s fixed in the core.
Forum: Plugins
In reply to: [Event Calendar] Prevent Event info dialogThanks a bunch, I guess I am yeah. Copying only those bits didn’t work, copying your original plug-in files entirely did though. It seems to work now. So again; thanks a bunch for sending it all over!
Forum: Plugins
In reply to: [Event Calendar] Prevent Event info dialogYeah the else statement. See the code below. I know that works because the text on the event link has succesfully changed to “Meer informatie” (where you had “Ver en Rolling Stone”).
if (!empty($event->link)) { if ($adjust < 1) { $adjust = 1; } $out .= str_repeat("<br>", $adjust); $link = "<a href='{$event->link}' class='link round5 cat{$event->category_id}'>"; $link .= __('Meer informatie', AEC_NAME); $link .= "</a>\n"; $out .= "{$link}"; }else{ $event->link = ""; }
Could you perhaps paste your JS code from eventClick: function (e) {[…] up to […] filter = function (active)?
So that includes eventRender etcetera.
Forum: Plugins
In reply to: [Event Calendar] Prevent Event info dialogHey Miguel,
This almost seems to work for me. However, the data.link value returned is “undefined”, which also sends me to url.com/undefined. Do you have any idea on how to resolve that? (Unfortunately I can’t seem to fix it myself.)
I’d like to know how you got your hack to work for you.
I copied the exact code stated above here. I did change one thing though, which is the ending of it (because not doing so broke the script). (So that’s that last bit with “});” etc.)
So here’s what I have now (with an extra alert):
eventClick: function (e) { $.post(custom.ajaxurl, { action: 'get_event', 'id': e.id, 'start': toUnixDate(e.start), 'end': toUnixDate(e.end)}, function (data) { if(data.link != "") { alert(data.link); window.location = data.link; } else { eventDialog(e); } }); }, eventRender: [...continues]
Forum: Plugins
In reply to: [Contact Form 7] Email never makes it to inboxHey lemosop; Try the solution offered here: https://elftest.net/contact-form-7-and-anti-spam/.
I’ve taken that from the bottom of this thread (and it worked for me): https://www.ads-software.com/support/topic/contact-form-7-not-sending-emails-no-confirmation-no-error?replies=18