mrtechnik Posted April 18, 2018 Share Posted April 18, 2018 Hi, I have created a custom theme/template for my WHMCS installation and I have used Font Awesome 5. The icons use different codes to what default WHMCS templates use and now my facebook and twitter sign up and login buttons do not show an icon/logo. I have searched every file within my WHMCS installation and I cannot find the button icons anywhere. Does anyone know where they are so they can be modified? Thank you. Tom. Link to comment Share on other sites More sharing options...
brian! Posted April 19, 2018 Share Posted April 19, 2018 Hi Tom, 17 hours ago, WeaveHosting said: I have created a custom theme/template for my WHMCS installation and I have used Font Awesome 5. interesting - i'm toying with using FA5 too... 17 hours ago, WeaveHosting said: The icons use different codes to what default WHMCS templates use and now my facebook and twitter sign up and login buttons do not show an icon/logo. I have searched every file within my WHMCS installation and I cannot find the button icons anywhere. Does anyone know where they are so they can be modified? they're coded within the array outputted via /includes/linkedaccounts.tpl - one quick way might be to do a Smarty replace in the template and change... {$provider.code} to... {$provider.code|replace:'fa fa-facebook':'fab fa-1x fa-facebook mr-3'|replace:'fa fa-twitter':'fab fa-1x fa-twitter mr-3'} you might also be able to do it using a hook with a string replace and looping through the array, but I haven't tried it on that array. 1 Link to comment Share on other sites More sharing options...
mrtechnik Posted April 19, 2018 Author Share Posted April 19, 2018 Thanks, Brian! I have been trying to work out how to solve this little conundrum for a while and in the end, gave up. Everything else I have to need to change has been fairly straightforward. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts