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

回复Andrea Bertocchi

Re: Essential theme icon

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

Which icon please Andrea?

回复Gareth J Barnard

Re: Essential theme icon

Andrea Bertocchi -

Hi Gareth,
sorry, the icon in red rectangle

rectangle 

回复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

回复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

回复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

附件 Explain.png
回复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

回复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!


附件 Explain.png
回复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

回复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
 

回复Mary Evans

Re: Essential theme icon

Andrea Bertocchi -

Hi Mary,


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

Thank so much!

回复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