Sure thing. There's a few options to do what you're looking for, depending on exactly how difficult or flexible you want to be with the changes.
1) First, and pretty easy - Add a new module with just the Login with Facebook button:
- Disable the current JFBCLogin module
- Add a new Joomla Login module in the same position and publish it
- Create a new Custom HTML module, and put in the same area as the Login module. In the Custom HTML area, you can simply type {JFBCLogin} and the Login with Facebook button will appear there.
This method is good because it's not overly complex. Additionally, in the Custom HTML module, you can explain how to login through Facebook and why. However, for user's that are currently logged in, this module will still show. For that, you may want to use something like Advanced Module Manager (by
NoNumber
) which can let you specify a module to -only- show for guests.. not registered users.
2) Move the button within the JFBCLogin module itself (like you originally asked)
- To do this, you should create a
Joomla Template Override
(click that link to read more) by copying /modules/mod_jfbclogin/tmpl/default.php to /templates/<YOUR_TEMPLATE>/html/mod_jfbclogin/default.php
- Once there, at about line 55, you'll see:
}
$buttonSize = $params->get('loginButtonSize');
echo $fbClient->getLoginButton($buttonSize); ?>You can move that block of code to another section of the file, or add extra text above it to describe Facebook functionality more. Like:
}
?>
<p>Or Login with Facebook by using the Link below!</p>
<?php
$buttonSize = $params->get('loginButtonSize');
echo $fbClient->getLoginButton($buttonSize); ?>
The <?php and ?> stuff is there to break apart the HTML that's shown to the user and PHP commands.
Hope this helps get you started, but if you have any other questions, just let us know!