-
Notifications
You must be signed in to change notification settings - Fork 0
Glyphs plugin for e107
Just install and activate needed icons packs
in admin area in any glyphs picker (exactly like theme preferences) - this is managed by core
in user area (frontend) in e_header.php
-
When changing theme and your content uses icons from old theme. Example: Landing Zero theme uses Ionicons, if you want to use Bootstrap 5 theme, you need to change your used icons
-
When building theme - it is not easy to set icons in theme glyphs. Now just copy glyphs settings from glyphs.xml file for needed pack, copy needed folders and theme'glyphs work without this plugin.
If you need different icons, it is easy to create your own plugin with your own icons. Or you can add them to this plugin. For now, I just checked all theme.xml files for using glyphicons tags.
glyphs.xml structure is the same as for theme.xml
After saving preferences core prefs for glyphs is changed. The trick is using full path to glyphs files (the reason why it works)
When you change theme, you need to save them again.
When you click on Check:
- Actual Site preferences: value of 'sitetheme_glyphicons' pref
- Actual supported packs by plugin: value of plugin preference 'packs' (checked on)
- Available packs: all packs from glyphs.xml