Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Plugin breaks AJAX function

Plugin breaks AJAX function 9 years 9 months ago #949

Hi,

I've got a K2 item which I'm trying to use an AJAX filter module on, but JO K2 Social Share seems to be breaking the AJAX functionality.

See: ourhomeschoolforum.com/videos/video-gallery (try clicking filters or nav at the bottom of the thumbnails — nothing changes)

I've disabled JO K2 Social Share for this item, but it still seems to be doing something. I've been talking with the developer of the AJAX filter module — he said:
The problem is that the plugin is trying to add js via the joomla API, but on ajax calls that functionality is not available, since the method is not available. ...need to add proper check, so that the js is added only when the page is first loaded.

and
the plugin should not execute the problematic code if the request is not standard html. Simple check would look like the code below:
if(JFactory()->getDocument()->getType() != 'html') return;

Would that line of code potentially fix the issue, and if so, where do I need to put it? In jo_k2_socialshare.php?


Thanks,

--Chad
The administrator has disabled public write access.

Plugin breaks AJAX function 9 years 9 months ago #951

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi Chad
Oh. I think we finding the problem. Can you send me joomla administrator? So we can check it
Best regards
Bach Pham
The administrator has disabled public write access.

Plugin breaks AJAX function 9 years 9 months ago #953

Sure thing. Could you give me your email address?
The administrator has disabled public write access.

Plugin breaks AJAX function 9 years 9 months ago #954

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Yes. Can you send me your information via contact form or email contact(at)joomcore(dot)com
Best regards
Bach Pham
The administrator has disabled public write access.

Plugin breaks AJAX function 9 years 9 months ago #964

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Hi Chad
We have fixed problem and now it work fine. You can check it
Best regards
Bach Pham
The administrator has disabled public write access.
The following user(s) said Thank You: Chad Stembridge

Plugin breaks AJAX function 9 years 9 months ago #979

Perfect — thanks!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.121 seconds