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);?>