By Chris Markham on Friday, 08 August 2014
Posted in Technical Issues
Likes 0
Views 676
Votes 0
Hello. I am using a Joomla template that uses the built in jQuery (it loads
<script src="/media/jui/js/jquery.min.js" type="text/javascript"></script>
, etc.). However, when I go to the blog page, it strips the Joomla jQuery out and I get a bunch of errors. How can I make EasyBlog pages load jQuery?
Hello Chris,

I have just checked your site and it isn't really an issue with EasyBlog. Since we do not use any of Joomla's jquery, there's no point of us loading this. The respective module / plugin that requires this should actually add the codes below into their codes,


JHTML::_('behavior.framework');


This is the code that is responsible to add those jquery sources into the head of the page. The quickest way for you to fix this is to probably add this into your template's index.php to enforce every page to render Joomla's jquery library.
·
Saturday, 09 August 2014 14:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris,

I am really sorry for the delay of this reply as it is a weekend for us here. EasyBlog never strips any codes from your site. I am guessing that you have a system plugin that tries to detect multiple instances of jquery and remove any duplicates. Do you have such plugins installed? Can you try turning that off?
·
Saturday, 09 August 2014 01:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Nope, so such plugin exists. The jQuery is outputted through the <jdoc:include type="head" /> tag on all other pages, but when it comes to the EasyBlog pages, it is not included for some reason and EasyBlog javascript is replaced. Any idea why?
·
Saturday, 09 August 2014 01:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Saturday, 09 August 2014 01:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, see below.
·
Saturday, 09 August 2014 03:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. This solved my issue.
·
Monday, 11 August 2014 20:07
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Chris You should notify the template developer regarding this because they should not rely on the extension to render these frameworks.
·
Monday, 11 August 2014 23:42
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post