By Sean Carney on Friday, 22 April 2016
Posted in Technical Issues
Likes 0
Views 653
Votes 0
On the right hand column of my pages at http://www.drcarney.com/blog there is an EasyBlog Posts List module entitled Easy Blog Selection List that stopped working. It also is displaying differently than I have seen before as previously there were no spaced above and below the titles. I am wondering if you might be able to tell what happened. I did update my NoNumber software today but have no idea if this problem started today or previously.
They have absolutely no idea what they are talking about. What I am trying to explain here is that, the whole fiasco above has ABSOLUTELY NOTHING related to EasyBlog requiring a different version of jQuery or if it requires a Joomla jQuery. This is what is going on:

1. There is a conflict between K2 and your Joomla template. For instance, go to http://www.drcarney.com/acts . This is not an EasyBlog page but there are javascript errors on the page.

2. Because of the conflicts between K2 and your Joomla template, everything else breaks because the script doesn't get executed any further.


The problem is really just as simple as that. Now, how do we resolve this issue?

1. Get the template developer to check why is it conflicting with K2

or

2. Get the K2 developer to check why is the template conflicting with it's scripts

or

3. Start looking for a new template.

or

4. Start looking for a K2 replacement


Nothing needs to be done in EasyBlog to get this to work because when the page no longer has errors, it will work
·
Friday, 06 May 2016 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sean Carney,

I am sorry for the inconvenience caused. I believe there are some conflict with your current template, because I have tried change the template by using default Joomla's template (Prostar) and the Blog post list was works smoothly (please refer thisquick screencast : http://screencast.com/t/u3Ga1SBSngYk ). Can you consult this issue with your template provider?
·
Friday, 22 April 2016 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much, I will try to see what they have to say. I appreciate the video. That was really helpful.

Sean
·
Tuesday, 26 April 2016 09:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

You're welcome.
·
Tuesday, 26 April 2016 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I am not sure if this is helpful or not but I was informed by my template house that the problem is caused by the second copy of jQuery being loaded by EasyBlog. I can't refute your video that shows that the module works properly when using Protostar. But, I do wonder about why there are two versions running. I am going to share your video with the template provider, which is something that I did not do the first time. I should have!

Thanks, Sean
·
Thursday, 05 May 2016 22:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sean,

This is going to be a very long argument with your template provider but our version of jQuery is namespaced within our own scope. The variable is not exposed on the global window object. Therefore I don't see any reason of it having 2 versions of jQuery being the cause.
·
Friday, 06 May 2016 00:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark for the feedback. I will share it with JoomlaBamboo. They are usually great to work with.

Sean
·
Friday, 06 May 2016 07:04
·
0 Likes
·
0 Votes
·
0 Comments
·
OK Mark,

You appear to be right that this might be a long conversation.

Here is the reply I received from JoomlaBamboo:

"Unfortunatly, their video doesn't really mean much as they have enabled the module on a page without any of the other modules on the site that it can conflict with.

At the moment, the conflict seems to be with k2 rather than the template which also requires jquery.

If you enable the easyblog module on a page where no other extensions require Joomla's version of jQuery then Joomla wouldn't load it and only the easyblog version would be outputted.

The template does require jQuery, but the t3 plugin calls Joomla's version rather than loading it's own files.

I would suggest trying jqueryeasy, but if easyblog requires a different version to Joomla's then may just cause other issues. You could try the plugin and get it to load the same version as easyblog and tell it to cut out other versions which may work.

The issue would appear to be with easyblog though."
·
Friday, 06 May 2016 07:28
·
0 Likes
·
0 Votes
·
0 Comments
·
I have been suggested to use jQuery easy and have downloaded and installed it but not enabled it. Have you had experience with using jQuery easy to allow your jQuery to load as well as Joomla 3's jQuery? And, if so in what order? It seems that maybe K2 in also involved in this but we do not have K2 loading jQuery. So, I am a bit out of my league now in that I am not sure exactly what I should do. :-)
·
Friday, 06 May 2016 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Excellent Mark,

Thank you very much. Sorry for the slow reply.

Sean
·
Tuesday, 10 May 2016 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Sean Did they get back to you with a solution yet?
·
Tuesday, 10 May 2016 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
BTW, the folks at JoomlaBamboo who are a terrific company, as is StackIdeas, did me a favor and fixed the problem as follows:

Joomla includes a javascript library called 'chosen' which affects the styling of select lists

Located here: http://www.drcarney.com/media/jui/js/chosen.jquery.min.js

This script is called by the 'finder' search module with the line

JHtml::_('formbehavior.chosen', 'select');

The javscript for the easyblog module does not work when this script is loaded.

As the finder module was not published in the protostar template, the easyblog module still functioned.

I have created a template override for the module which takes account of this script, so you should find that the module is now working.
·
Tuesday, 10 May 2016 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
I just tested this locally with the finder search module and the easyblog list module works just fine
·
Wednesday, 11 May 2016 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Very Interesting. :-) Thank you so much for doing that.
·
Wednesday, 11 May 2016 00:31
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem
·
Wednesday, 11 May 2016 00:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post