Best practice forum (Archived)

Adding custom Icon

 
? ?
Adding custom Icon
by ? ? - Monday, 28 May 2012, 9:43 PM
 

Hi there, 

We would like to add a custom icon on the edit course page. 

icon.JPG

Where would the location be to place the custom icon for Totara to pick it up as an option?

Thanks in advance, 

Matt.

Simon Coggins
Re: Adding custom Icon
by Simon Coggins - Tuesday, 29 May 2012, 8:00 PM
Group Totara

You need to put the image files on your server in:

[webroot]/theme/standard/courseicons/

There are subfolders for large and small icons.

I'd suggest avoiding spaces or other special characters in the filenames.

Simon

? ?
Re: Adding custom Icon
by ? ? - Tuesday, 29 May 2012, 8:30 PM
 

Hi Simon, 

I have added the png files to the folder as above in the small and large folders. Still when i look in the icon dropdown its not there. 

Is there a cache i need to refresh somewhere? 

Matt

Simon Coggins
Re: Adding custom Icon
by Simon Coggins - Tuesday, 29 May 2012, 9:07 PM
Group Totara

No cache, actually try putting them in your theme folder instead:

theme/[your-current-theme]/courseicons/

Simon

? ?
Re: Adding custom Icon
by ? ? - Tuesday, 12 June 2012, 9:42 PM
 
Thanks that worked.
Bodo Hoenen
Re: Adding custom Icon
by Bodo Hoenen - Monday, 22 October 2012, 11:24 AM
 

FYI:

/{themeName}/pix_plugins/totara/core/course_icons/default.png
Seems to be the way to go, at least in the latest version of Totara