Adding Icons

blindmime
@blindmime
7 years ago
772 posts
Can I add an icon so it's retrievable via jrCore_icon?
updated by @blindmime: 07/17/17 03:09:29PM
brian
@brian
7 years ago
10,148 posts
blindmime:
Can I add an icon so it's retrievable via jrCore_icon?

Yes - in your module just add your images into:

ModuleDir/img/icons_black
ModuleDir/img/icons_white

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
blindmime
@blindmime
7 years ago
772 posts
I want to output the icons on the profile sidebar. I'm using Elastic2. There is a section in the config file about icons:

jrCore_register_module_feature('jrCore', 'module_icons', 'bbElastic2', 'show', false);

Does this mean we are ignore the icons in the jrCore module img directories?
brian
@brian
7 years ago
10,148 posts
No - this means that module icons will not show in view headers.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags