Yeah, well, I tried positioning with just CSS. On Firefox it looks alright, but on IE it's (of course) a bit off position. Didn't test it on other browsers, but the thing with CSS positioning is that it's always cross browser problematic.
I finally managed to do it, by editing the two template files.
I took this out from the default.php file:
Code: |
<form action="" method="post" id="jfbl-login-form-fb" >
<a href="#" onclick="fblogin();return false;" class="ifbl_fbloginbutton">
<?php if($customText):?>
<label class="jfbl-modlgn <?php echo $ifblTemplate;?>"><?php echo $customText;?></label>
<?php endif;?>
<img border="0" src="<?php echo JURI::base();?>modules/mod_instantfblogin/assets/images/facebook<?php echo $ifblTemplate;?>.png" />
</a>
<div id="facebook-login" style="display:none; text-align:center">
<img border="0" src="<?php echo JURI::base();?>modules/mod_instantfblogin/assets/images/loading.gif" />
<div class="ifbl_custom_msg"><?php echo $displayMsg;?></div>
</div>
</form>
|
Contained it into a div, contained the login button into a div in default_joomla.php and pasted the above just below. Small CSS tweaks and it looks great.
I didn't delete the button from default.php, I just gave it a display:none style on the enclosing div.
Tested the log in / register and it works like a charm.
Thank you!