Essential theme icon

Essential theme icon

por Andrea Bertocchi -
Número de respuestas: 12

Hello,

I'm using moodle 3.3.2+ (Build: 20171108) with essential theme 3.3.1.2 (Build: 2017040306) (2017040306)

I have done a bit of research but i can't understand how to change some icon,

like the icon in "yui3-treeview-children" like the check or the pencil in this image
scorm icon list

How can i change it?

ty for help

Promedio de valuaciones (ratings): -
En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Gareth J Barnard -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

Which icon please Andrea?

En respuesta a Gareth J Barnard

Re: Essential theme icon

por Andrea Bertocchi -

Hi Gareth,
sorry, the icon in red rectangle

rectangle 

En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Gareth J Barnard -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

Hi Andrea,

I'm really sorry but I don't understand Italian (despite loving the food), what page is that on please?  How can I get to the same place / replicate so that I can discover the icon(s) - there are two types in the red rectangle?

Kind regards,

Gareth

En respuesta a Gareth J Barnard

Re: Essential theme icon

por Mary Evans -

I think Andrea means both the Checkbox icons like the ones which have been ticked and the one with the pencil in it.

I suspect that the question is general, and just needing the method of changing some icons for the prefered versions as shown in that screenshot.

Are these different than what are in Essential?

PS: This has been edited as I made a mistake in my first post

En respuesta a Gareth J Barnard

Re: Essential theme icon

por Andrea Bertocchi -

Hi Gareth,

sorry, I'm trying to explain, but I'm pretty new with moodle.


I wan't change pencil and other icon in the scorm screen, the icon that check if you completet/incomplete the video.

in the previous versions these were the icons:


now are the pencil and check box, I want to change them or change the color

Anexo Explain.png
En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Matteo Scaramuccia -

Hi Gareth,
the OP would like to override, via theme, the default icons part of the SCORM activity, the ones belonging to the ToC, in https://github.com/moodle/moodle/tree/MOODLE_33_STABLE/mod/scorm/pix, called:

  • browsed.gif
  • completed.gif
  • failed.gif
  • incomplete.gif
  • notattempted.gif
  • passed.gif

HTH,
Matteo

Promedio de valuaciones (ratings):Useful (1)
En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Mary Evans -

If you have access to the Essential theme you can add a directory and add the icons you want to change.

The ones you mentionedin the screen shot are called "checked.png" and "edit.png" and can be found in the Moodle/pix/i directory

If you want these two YUI iconsthen you can make a directory in Essential theme called pix_core.

For example:

essential / pix_core / i /
                          checked.png
                               edit.png

And Moodle will work the magic and display those icons instead of the Moodle ones.

Here is a tutorial...

https://docs.moodle.org/dev/Using_images_in_a_theme#Overriding_images_in_your_theme

Hope this helps?

Mary

Promedio de valuaciones (ratings):Useful (1)
En respuesta a Mary Evans

Re: Essential theme icon

por Andrea Bertocchi -

Hi Mary,


thanks for your reply!

Yes, I wan't change pencil and other icon in the scorm screen, the icon that check if you completet/incomplete video.


I tried with your instructions, but without success!


Anexo Explain.png
En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Gareth J Barnard -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

Hi Andrea,

The Essential theme does not actually override those icons, so I think they are coming from the Scorm module itself.  I don't think they are FontAwesome replacements.

I don't have a SCORM file to test with so I cannot look any further for certain.  At a guess they would go in a 'scorm' folder (change the name of the theme) here: https://github.com/gjb2048/moodle-theme_shoelace/tree/master/pix_plugins/mod. ; Anyone please?

G

En respuesta a Andrea Bertocchi

Re: Essential theme icon

por Mary Evans -

OK we are getting somewhere now.

To do this in SCORM mod you need a different folder and method.

create a directory like this...

essential /
    pix_plugins/
        mod/
              scorm/
                 '(now add all the images you want to change in SCORM to this directory.)

I am not sure it will work but it should...

Mary
 

En respuesta a Mary Evans

Re: Essential theme icon

por Andrea Bertocchi -

Hi Mary,


thanks for your reply, i have tried, but don't work! triste

Thank so much!

En respuesta a Andrea Bertocchi

Re: SCORM icons in Essential theme.

por Mary Evans -

Andrea,

The alternative is to check through the files related to that SCORM package.

You should be able to unzip the original package using your own computer to look at the files and folders which will have those icons in it.

Ciao

Mary