Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Alternate icon set.

Alternate icon set: Difference between revisions

From MoodleDocs
No edit summary
m (update page request)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
An alternate icon set may be used with any Moodle theme.
{{Scrapbook}}{{Update}}


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 '''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
To use the alternate icon set
#Amend <code>$THEME->custompix = false;</code> to <code>$THEME->custompix = true;</code> in ''theme/yourtheme/config.php''
#Copy the pix directory to the theme folder
#Copy the pix directory to the theme folder
#Amend <code>$THEME->custompix = false;</code> to <code>$THEME->custompix = true;</code> in theme/yourtheme/config.php
<h3>Links</h3>
[http://www.moodlezengarden.com/index.php/2005/09/20/2-moodle-nuvola-icons Moodle-Nuvola Iconset]


----
That is, in order to use an alternate icon set associated to a specific theme, you need to make a whole tree of icons in the pix subdirectory of the theme. Your pix folder will look like the example below, probably with some more theme-specific pictures included:
 
<pre>
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
</pre>
 
== See also ==
 
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=53411 New iconset for Moodle 1.6] forum discussion


[[Themes/ThemeScrapbook|Back to Theme Scrapbook]]
[[Category:Themes]]

Latest revision as of 21:38, 9 December 2007

This page requires updating for Moodle 2.0. Please do so and remove this template when finished.


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

  1. Amend $THEME->custompix = false; to $THEME->custompix = true; in theme/yourtheme/config.php
  1. Copy the pix directory to the theme folder

That is, in order to use an alternate icon set associated to a specific theme, you need to make a whole tree of icons in the 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

See also