changing the font awesome icon of the 'send message'

Re: changing the font awesome icon of the 'send message'

by Gareth J Barnard -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
You have to extend 'icon_system_fontawesome.php' in your theme as a new class, then override the method 'get_core_icon_map', call the parent and then alter the returned 'map' to have your value for the icon, then return that changed '$map', then in the theme 'config.php', tell Moodle about your class, i.e. "$THEME->iconsystem = '\\theme_mytheme\\output\\icon_system_fontawesome';". If you want to see a slightly more complicated implementation that works along the same lines, then look at my Foundation theme.