Using a fontawesome icon that isn't in the Boost theme

Using a fontawesome icon that isn't in the Boost theme

by Andrew McDonald -
Number of replies: 0

I need to use an image icon, anything that looks slightly different to the one that is available in the boost theme fontawesome icons, ideally one that shows a captioned image, but anything distinctly different will do

Looking at Fontawesome there are different image icons that aren't mapped to Moodle icons within the Boost theme

Is it possible to use a Fontawesome icon that isn't mapped within the boost theme, and what approach do people use???

I'm trying to add an icon that appears in the course content menu, via a Moodle plugin

So the code needs to be using the YUI javascript

At the moment the code being called is:

 this.addButton({
            icon: 'e/insert_edit_image',
            callback: this._displayDialogue,
            tags: 'img',
            tagMatchRequiresAll: false,
            
        });

insert_

I see there is an iconurl function for addButton, but if I say point to an svg icon using a url within the pix folder, it throws a 404 whether a relative or full url



Average of ratings: -