XF 2.0 HTML Widget

JoyFreak

Well-known member
Say I wanted to add a fontawesome icon in the header of a html widget, how do I do this? What is the code to read a widget key/definition?
 
.block[data-widget-id="77"] .block-minorHeader:before {<xf:macro template="uix_icons.less" name="content" arg-icon="search-plus" />}
Change ID to whatever the ID you want to use to try it with UI.x template.
Now I can't try, so I can't help you anymore right now. When I get home if you didn't have the solution, I'll do what I can to help you. ;)

EDIT : nice !
 
Top Bottom