By bdtc on Saturday, 16 May 2015
Replies 8
Likes 0
Views 4.6K
Votes 0
I have an issue with Jevents calendar where I cannot edit an event from the frontend. When you click on the edit icon it gives you a greyed out screen.

I searched and found that it is a jquery conflict issue; adding &tmpl=component to the end of the url allows editing.

So I should run/load jquery in 'no confict mode'? Correct?

How do you do that?

Thanks.


PHP Version : 5.4.37
MySQL Version : 5.5.41-cll-lve
Joomla : 3.4.1
component_com_jevents : 3.2.12
component_com_jce : 2.4.6
module_mod_jevents_cal : 3.2.12
module_mod_jevents_custom : 3.2.12
module_mod_jevents_filter : 3.2.12
module_mod_jevents_latest : 3.2.12
module_mod_jevents_legend : 3.2.12
module_mod_jevents_switchview : 3.2.12
plugin_content_jevents : 3.2.12
plugin_finder_jevents : 3.2.12 (not enabled)
plugin_search_eventsearch : 3.2.12
Hello,

this is either a problem with the way your template is loaded or a module on your site.

First try disabling the modules on the event edit page. If that doesn't fix it, try another template.

Thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Did you enable the option in the JEvents config to fix jQuery issues?
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, enabled fix jquery.

Template and modules without jevents have no errors.

I get 2 errors on jevents calendar page:

- Uncaught ReferenceError: jQuery is not defined
- Uncaught TypeError: undefined is not a function

Pretty sure 2nd error refers to the 1st.

How does your plugin check for the bootstrap version?

Is it here:


var jevjq;
function checkJQ() {
//alert(typeof $);
if (window.jQuery && jQuery.fn) {
jevjq = jQuery.noConflict();
}
}
checkJQ();

// Will be true if bootstrap 3 is loaded, false if bootstrap 2 or no bootstrap
var bootstrap3_enabled = (typeof jQuery().emulateTransitionEnd == 'function');

// workaround for tooltips and popovers failing when MooTools is enabled with Bootstrap 3
// See http://www.mintjoomla.com/support/community-forum/user-item/1833-braza/48-cobalt-8/2429.html?start=20
if(window.MooTools && bootstrap3_enabled) {
var mHide = Element.prototype.hide;
var mSlide = Element.prototype.slide;

Element.implement({


hide: function () {
if (this.is("[rel=tooltip]")) {
return this;
}
mHide.apply(this, arguments);
},


slide: function (v) {
if (this.hasClass("carousel")) {
return this;
}
mSlide.apply(this, v);
}
});
}



Is it looking for a file name? Or some tag in the file? Or something else.

Thanks.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
the next version of JEvents, out tomorrow, has improved the tests on a MooTools/jQuery/Bootstrap conflict and may well fix your problems.

Can you try it and let us know how you get on
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
No updated yet, was there one on Monday?
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm just doing some last tests of the new event translation capabilties before rolling it out.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Pending the formal release can you try this version.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Updated, it does the same thing, greyed out when you try to edit from front end.

I'll look at the errors on the page and see if I can figure it out.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post