$app->redirect($return);$app->redirect('http://external-site.com/');alzander wrote: It should be pretty easy. In the /components/com_jfbconnect/controller.php file, at the very bottom, you'll see:
Simply change that to:$app->redirect($return);Hope that helps (and works)!$app->redirect('http://external-site.com/');
Alex
if (response.status === 'connected')
{
FB.logout(function(response) {
jfbc.login.redirect_to_logout();
});
}
else
{
jfbc.login.redirect_to_logout();
}if (response.status === 'connected')
{
if (confirm("Do you want to logout of Facebook too? Click Cancel to logout of this site only.")) // ADD THIS
{ // ADD THIS
FB.logout(function(response) {
jfbc.login.redirect_to_logout();
});
} else // ADD THIS
jfbc.login.redirect_to_logout(); // ADD THIS
}
else
{
jfbc.login.redirect_to_logout();
}Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
