Can we customize user login block in Hybridauth module in our custom theme? Like writing block-hybridauth-hybridauth.tpl.php.

I need to customize the way of output. Instead of the Sign In icon which gives the overlay of enabled social accounts list, I need some text to replace it and add div and content along with it? Is it possible?


There are two template files used


This one is used to create the list of the icons. It gets a variable called $providers which has all the enabled providers.


This one is used to print the individual icons. Two variables are used here. $provider_name is the name of the provider like facebook twitter etc. and $icon_pack_classes which has the current selected icon pack classes.

These template files can be found in with in the templates folder of the module.

You can make copy of the same in your theme and make the required changes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.