× Joomla Facebook Connect support forum

Topic-icon JFBInvite not responding to ajax call

Active Subscriptions:

None
16 years 2 months ago #3472 by girishgnair
Hello,

I bought JFBInvite from CMS market.
Had a problem I have integrate the JFBConnect and JFBInvite , and i have used the plugin(Joomla Plugin To Load Joomla Module Anytime Anywhere) to load these modules from link : <!-- m --><a class="postlink" href="www.joomlaez.com/joomla-plugins/load-joo...nytime-anywhere.html">www.joomlaez.com/joomla-plugins/ ... where.html ,its loaded perfectly on connection page , as well as login facebook functionality and importing connects , logout is also working perfectly ,but its not responding to ajaxified response(cancel button and send invitation) , so I was wondering how to load the module on particular page (by not index.php any other custom page) I have you this code - global $mainframe; $module = array(mod_id,mod_chrome,mod_suffix);//mod_id = module id,mod_chrome=type to show,mod_suffix=module name $mainframe->triggerEvent('onloadModule', $module); on friends.list.php , how to load these modules on custom pages which also allow Ajax or any javascript in joomla ??

Regards,
Girish
The topic has been locked.
Support Specialist
16 years 2 months ago #3479 by alzander
It sounds like the JFBCLogin module is working correctly.

Is it just JFBCInvite that is having issues?

If you can post or PM me a link to the page that is having the issue, I can try to reproduce it myself.

If not, check and see if you are getting any javascript errors when the page loads or when you click cancel/send.

Let me know what you find.
The topic has been locked.
Active Subscriptions:

None
16 years 2 months ago #3485 by girishgnair
Sorry i have used "JoomlaEZ.com's Load Module Joomla! Plugin" to load modules JFBLogin and JFBInvite on my custom page in jomsocial(not index.php),its loading perfectly on my custom page but Send Invitation and Cancel button is not working on my site,so can you please suggest which plugin or module i can use to load your two modules(JFBLogin and JFBInvite) so i can integrate these two modules in jomsocial's particular custom page,

I have you this code -
global $mainframe;

$module = array(mod_id,mod_chrome,mod_suffix);//mod_id = module id,mod_chrome=type to show,mod_suffix=module name
$mainframe->triggerEvent('onLoadModule', $module);

Like, on my page,
<?php
global $mainframe;
$module = array(151,raw,mod_jfbclogin);
$mainframe->triggerEvent('onLoadModule', $module);

$module = array(161,raw,mod_jfbcinvite);
$mainframe->triggerEvent('onLoadModule', $module);?>
The topic has been locked.
Support Specialist
16 years 1 month ago #3497 by alzander
I would expect this to work.

The first thing I would investigate is if you are getting any javascript errors when the page loads or when you click the buttons:
[url:un04a7uh]http&#58;//www.cmsmarket.com/resources/dev-corner/92-how-to-check-for-javascript-errors[/url:un04a7uh]

Hopefully I can help you debug this on your site and come up with a solution. If not, I can get the "JoomlaEZ.com's Load Module Joomla! Plugin" plugin and try to reproduce and fix the issue you are having on my machine.

Thanks for your patience. Let me know what you find.
The topic has been locked.
Active Subscriptions:

None
16 years 1 month ago #3501 by girishgnair
No , I am not getting this type of error on page , so can you please try JoomlaEZ.com's Load Module Joomla! Plugin and load modules(JFBLogin and JFBInvite) on any custom page and let me know Send button and cancel button is working or not or you find any solution to load modules in this Plugin properly,or your modules load perfectly on another plugin so i can show JFBConnect functionality on my page with facebook log in and Facebook invite friends functionality.
The topic has been locked.
Support Specialist
16 years 1 month ago #3505 by alzander
If your site is live, can you PM me a link to the page that is causing issues? That will be faster than me setting it up myself.

If you cannot, I will download the Load Module and try testing it on my development site.

Thanks for your help.
The topic has been locked.
Active Subscriptions:

None
16 years 1 month ago #3522 by girishgnair
That will better , if you can download module and try it ,because its not possible for me to show you on site..
The topic has been locked.
Support Specialist
16 years 1 month ago #3525 by alzander
Before I investigate it, would the Content - Load Module that comes with Joomla! work for you? It might be worth a shot:
[url:2x4zb9vu]http&#58;//www.joomlaspan.com/general/include-any-module-within-content-in-joomla-15.php[/url:2x4zb9vu]

If not, I will download the one you are using and try to find a solution.
The topic has been locked.
Active Subscriptions:

None
16 years 1 month ago #3526 by girishgnair
I can use this Content - Load Module , if i want to load your module in Article and but i don't want that,i am using jom social and jom social have its own MVC architecture , and i want to show your modules in jom social custom pages (they have component >> com_community >> in that they have folder default where all custom pages are there), so its not usable, so can you please try that load modules as your modules are compatible to jom social,but i am not able to load it on jom social custom pages.you got the point??
The topic has been locked.
Support Specialist
16 years 1 month ago #3536 by alzander
That makes sense. They should have made Load Module a System plugin, but oh well.

We did create a system plugin that will fire content plugins that might work to fire Load Module, but it doesn't work with some plugins, so I'm not even going to try:
[url:352rcum3]http&#58;//www.cmsmarket.com/extensions-directory/core+enhancements/content+management/content+plugins+everywhere[/url:352rcum3]

I will get the extension you talk about above and give it a try. I will let you know what I find.
The topic has been locked.