Alternate icon set: Difference between revisions
From MoodleDocs
m (Alternate Icon Set moved to Alternate icon set) |
No edit summary |
||
Line 3: | Line 3: | ||
An '''alternate icon set''' may be used with any Moodle theme. | An '''alternate icon set''' may be used with any Moodle theme. | ||
An icon set consists of a pix directory containing copies of all files from the moodle/pix directory plus a pix/mod directory containing all activity module icons. | An icon set consists of a pix directory containing copies of all files from the moodle/pix directory plus a pix/mod directory containing all activity module icons. | ||
To use the alternate icon set | To use the alternate icon set | ||
Line 9: | Line 9: | ||
#Amend <code>$THEME->custompix = false;</code> to <code>$THEME->custompix = true;</code> in ''theme/yourtheme/config.php'' | #Amend <code>$THEME->custompix = false;</code> to <code>$THEME->custompix = true;</code> in ''theme/yourtheme/config.php'' | ||
Your pix folder will look like the example below, probably with some more theme-specific pictures included: | In order to use an alternate icon set associated to a specific theme, you need to make a whole tree of icons in a pix subdirectory of the theme. Your pix folder will look like the example below, probably with some more theme-specific pictures included: | ||
<pre> | <pre> |
Revision as of 10:27, 11 May 2006
An alternate icon set may be used with any Moodle theme.
An icon set consists of a pix directory containing copies of all files from the moodle/pix directory plus a pix/mod directory containing all activity module icons.
To use the alternate icon set
- Copy the pix directory to the theme folder
- Amend
$THEME->custompix = false;
to$THEME->custompix = true;
in theme/yourtheme/config.php
In order to use an alternate icon set associated to a specific theme, you need to make a whole tree of icons in a pix subdirectory of the theme. Your pix folder will look like the example below, probably with some more theme-specific pictures included:
yourtheme/ -- pix/ -- -- c/ -- -- f/ -- -- g/ -- -- i/ -- -- m/ -- -- mod/ -- -- nuvolaLicense/ -- -- s/ -- -- t/ -- -- u/ -- -- b.gif -- -- help.gif -- -- madewithmoodle.gif -- -- moodlelogo.gif -- -- moodlelogo-med.gif -- -- movehere.gif -- -- spacer.gif -- -- webding.gif -- -- webding.png -- -- some_more.gif -- -- theme_specific.jpg -- -- pictures.png