Best practice forum (Archived)

Adding custom Icon

 
??
Adding custom Icon
?? 发表于 2012年05月28日 Monday 21:43
 

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.

CogginsSimon
Re: Adding custom Icon
CogginsSimon 发表于 2012年05月29日 Tuesday 20:00
小组 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
?? 发表于 2012年05月29日 Tuesday 20:30
 

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

CogginsSimon
Re: Adding custom Icon
CogginsSimon 发表于 2012年05月29日 Tuesday 21:07
小组 Totara

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

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

Simon

??
Re: Adding custom Icon
?? 发表于 2012年06月12日 Tuesday 21:42
 
Thanks that worked.
HoenenBodo
Re: Adding custom Icon
HoenenBodo 发表于 2012年10月22日 Monday 11:24
 

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