By gökhan on Tuesday, 27 May 2014
Posted in General Issues
Replies 3
Likes 0
Views 1.1K
Votes 0
Hi Guys,

lol facebook login button seems too big for horizontal login module mode. Guys, how can i modify it only text instead of button? I checked code and it fetch login button from somewhere, not sure how can i add only text with that small facebook icon



 <?php if( $params->get('show_facebook_login') && $config->get('oauth.facebook.registration.enabled') && $config->get('registrations.enabled')
&& (
($config->get('oauth.facebook.secret') && $config->get( 'oauth.facebook.app' ))
|| ($config->get('oauth.facebook.jfbconnect.enabled'))
)
){ ?>
<?php echo $facebook->getLoginButton( FRoute::registration( array( 'layout' => 'oauthDialog' , 'client' => 'facebook', 'external' => true ) , false ) ); ?>
<?php } ?>
You need to edit the file /wireframe/facebook/button.login.php and remove those btn classes.
·
Wednesday, 28 May 2014 00:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hmm, this brakes other facebook buttons, may be another way?
·
Wednesday, 28 May 2014 04:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately there's no work around for this unless you use css to customize the button
·
Wednesday, 28 May 2014 11:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post