e107help.org Q&A
0 like 0 dislike
The theme is using fa icons. But if you select an icon for the pages then the bootstrap images are used and the font awesome icons are lost. How can I enable font-awesome so that these icons can be selected too? I now succeeded by modifying the database directly, but...
e107 version latest
asked in Themes by (211 points) 3 11 21

1 Answer

0 like 0 dislike
I normally do not use that (no need for it personal) but is described in https://e107.org/developer-manual/classes-and-methods/parser find 1/2 way down to Glyph. and following  ( in core, font awesome is still present)
answered by (2.7k points) 5 8 18
Yes, that black window (icon manager)  - there are more icon sets together. And you don't know what icon belongs to what set. You can see it in source code on your frontend (if there is code glyph, you select wrong icon in admin).  In fact from your frontend code I will able to find problem -  if there is missing "fa" before icon name, theme needs update to latest core changes.

I suppose you use bootstrap 3  version.  

https://github.com/e107inc/agency

Create your issue there with screenshots.
Well, actually when I use the free icon names fa_etc. in the database it works well. The problem is that I have difficulties selecting the right icons then from the icon panel if I can't see if it's a fa_ or the 'old ones'. The theme comes in two flavours, B3 and B4. Afaik E107 is still B3 so I choose the B3 variant. But that one appears to use fa_ icons, which - on itself - is not too bad. The only problem is that you cannot select them from the admin panel (I thought). But if they are mixed with the others... Then it's a puzzle. You don't see the physical names...
I just tested icon manager in body news field.

- you write f.e. icon name eye and you get 6 icons

- if you hover on icon, you get icon name f.e. glyphicon-eye-open . Font awesome icon has name eye. So you can't use glyphs icon.

But you are right, this is problem and reason why I stopped to develop bootstrap 4  themes. There is issue already about it:  https://github.com/e107inc/e107/issues/2982  

And reason why I use text-field for icon name not icon-picker in my plugins.
I just found that icon picker doen't work at all,. I created issue

https://github.com/e107inc/e107/issues/3136
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
736 questions
1,144 answers
1,935 comments
1,061 users