Essential theme icon

Essential theme icon

د Andrea Bertocchi لخوا -
د ځوابونو شمیر: 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

د درجې بندۍ اوسط:  -
In reply to Andrea Bertocchi

Re: Essential theme icon

د Gareth J Barnard لخوا -
د Core developers انځور د Particularly helpful Moodlers انځور د Plugin developers انځور

Which icon please Andrea?

In reply to Gareth J Barnard

Re: Essential theme icon

د Andrea Bertocchi لخوا -

Hi Gareth,
sorry, the icon in red rectangle

rectangle 

In reply to Andrea Bertocchi

Re: Essential theme icon

د Gareth J Barnard لخوا -
د Core developers انځور د Particularly helpful Moodlers انځور د 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

In reply to Gareth J Barnard

Re: Essential theme icon

د 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

In reply to Gareth J Barnard

Re: Essential theme icon

د 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

Attachment Explain.png
In reply to Andrea Bertocchi

Re: Essential theme icon

د 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

In reply to Andrea Bertocchi

Re: Essential theme icon

د 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

In reply to Mary Evans

Re: Essential theme icon

د 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!


Attachment Explain.png
In reply to Andrea Bertocchi

Re: Essential theme icon

د Gareth J Barnard لخوا -
د Core developers انځور د Particularly helpful Moodlers انځور د 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

In reply to Andrea Bertocchi

Re: Essential theme icon

د 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
 

In reply to Mary Evans

Re: Essential theme icon

د Andrea Bertocchi لخوا -

Hi Mary,


thanks for your reply, i have tried, but don't work! خفه

Thank so much!

In reply to Andrea Bertocchi

Re: SCORM icons in Essential theme.

د 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