jfbc.login.login_custom();< script type="text/javascript" >
window.addEvent('domready',function(){
jfbc.login.login_custom();
}
< /script>[code]
If you have the ability to add it in a PHP block, we'd recommend the following, which will check if a user is already logged in:
[code]< ? php
$user =& JFactory::getUser();
if ($user->guest) { ? >
< script type="text/javascript" >
window.addEvent('domready',function(){
jfbc.login.login_custom();
}
< /script>
< ? php } ? >Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
