how can i replace the activity and resource icon with the awesome fonts.. i have replace the icon using css which are having the unique id and class but i am getting the problem i replacing the resource icons such as .pdf, .mp3, etc having different extensions. please suggest me the way how can i check for the file extension and replace it with the awesome font.
Replace the activity and resource icons with awesome font..
by vaibhav katariya -
Number of replies: 1
In reply to vaibhav katariya
Re: Replace the activity and resource icons with awesome font..
by Amanda Doughty -
I have done this for a custom course format but you need to be very careful because some Moodle YUI relies on img tags and you can break it.
I used css to add the font awesome icons and to hide the img tags, but I had to write custom YUI to catch the icon clicks. For instance show/hide icon changes when you click it.