Hello
Currently I would like to use the example under "Icons without images."
I tried to add fa-spinner class in my .tpl file.
<i class="fa-spinner fa-spin"></i> Spinner icon when loading content...
How to use Style guide Icons in .tpl files.?
Hello
Currently I would like to use the example under "Icons without images."
I tried to add fa-spinner class in my .tpl file.
<i class="fa-spinner fa-spin"></i> Spinner icon when loading content...
How to use Style guide Icons in .tpl files.?
Hi Bhavin Patel
Did you include font-awesome, check it and if it includes then once check in your console or Firebug any error are displaying
Regards
John
Hi Bhavin Patel
This may help you for including the font-awesome file
Hope this Helps
Best Regards
S Ramana Raju
Hi Bhavin,
Which version of sugarCRM are you using?
Please check one of sugar existing Thread icon missing in 7.6.1
Hope it will help.
-BPATEL
Hi,
I have put below code in my headerpane.hbs(sugarENT 7.7) and I can see that spinner icon.
<a href='#'><i class='fa fa-spinner fa-spin fa-4x'></i></a>
Try with this and let me know.
-BPATEL
SugarULT 7.7
can we use this same line in Configurator custom file, I want it to be used admin side to create custom configuration file.
same line i use in custom/modules/Configurator/mypage.php file but it is not working.
Hi Bhavin Patel
I hope this article will help you.
For including js files in .tpl files to do so:
{sugar_getscript file="custom/include/fontawesome/fontawesome.js"}
and css files in .tpl files to do so:
<link rel="stylesheet" type="text/css" href="{sugar_getjspathfile='modules/ModuleName/tpls/fontawes.css'}"/>
Best Regards
S Ramana Raju
Hello Bhavin Patel,
Include bootstrap.css in your page using,
<link rel="stylesheet" type="text/css" href="styleguide/assets/css/bootstrap.css"/>
and then try.
Hope it should work, as it is working for me.
Hi Hiren Darji
Thanks Hiren Darji now it is working