Best practice forum (Archived)

Adding custom Icon

 
? ?
Adding custom Icon
על ידי ? ? בתאריך 28/05/2012, 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.

Simon Coggins
Re: Adding custom Icon
על ידי Simon Coggins בתאריך 29/05/2012, 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
על ידי ? ? בתאריך 29/05/2012, 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

Simon Coggins
Re: Adding custom Icon
על ידי Simon Coggins בתאריך 29/05/2012, 21:07
קבוצה Totara

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

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

Simon

? ?
Re: Adding custom Icon
על ידי ? ? בתאריך 12/06/2012, 21:42
 
Thanks that worked.
Bodo Hoenen
Re: Adding custom Icon
על ידי Bodo Hoenen בתאריך 22/10/2012, 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