<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pizdorvan</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/test/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pizdorvan"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/Special:Contributions/Pizdorvan"/>
	<updated>2026-04-22T21:24:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=1.5_theme_upgrade&amp;diff=3057</id>
		<title>1.5 theme upgrade</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=1.5_theme_upgrade&amp;diff=3057"/>
		<updated>2005-12-11T23:28:41Z</updated>

		<summary type="html">&lt;p&gt;Pizdorvan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
&lt;br /&gt;
In Moodle 1.5, a lot of work has been done to extend the CSS support to all parts of Moodle, and to remove any old hardcoded styles, such as fonts or colors, from the HTML code. As a result, Moodle themes are a lot more flexible and accessible, but this also means that custom themes written for Moodle 1.4 and earlier no longer work very well.&lt;br /&gt;
&lt;br /&gt;
The best approach when upgrading is to reconstruct your theme again from scratch, borrowing graphics and styles from your old theme as necessary.  This approach will result in a more robust theme that will survive future upgrades of Moodle.&lt;br /&gt;
&lt;br /&gt;
The instructions below therefore apply whether you are upgrading or not.&lt;br /&gt;
&lt;br /&gt;
== Upgrade or install Moodle 1.5 ==&lt;br /&gt;
&lt;br /&gt;
Install Moodle 1.5 as normal. If you are upgrading, your old theme directory will remain, but the installation process will set the theme to the new default &#039;&#039;standardwhite&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Create a new theme directory ==&lt;br /&gt;
&lt;br /&gt;
Themes are all stored in the &#039;&#039;theme&#039;&#039; directory of Moodle.&lt;br /&gt;
&lt;br /&gt;
To create a new theme directory, make a copy of the &#039;&#039;standardwhite&#039;&#039; directory (or any other theme) and name it appropriately.&lt;br /&gt;
&lt;br /&gt;
Inside this new directory you will see the following files.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;config.php&#039;&#039;  - edit this to change parameters for your theme&lt;br /&gt;
:&#039;&#039;favicon.ico&#039;&#039; - the site icon that shows in the browser location bar or bookmarks&lt;br /&gt;
:&#039;&#039;header.html&#039;&#039; - a fragment of HTML that defines the top of your pages&lt;br /&gt;
:&#039;&#039;footer.html&#039;&#039; - a fragment of HTML that defines the bottom of your pages&lt;br /&gt;
:&#039;&#039;gradients.css&#039;&#039; - an actual stylesheet containing styles to add to your theme&lt;br /&gt;
:&#039;&#039;gradient.jpg&#039;&#039; - an image file, you can add as many as you want &lt;br /&gt;
:&#039;&#039;styles.php&#039;&#039; - the actual script that Moodle calls, there is no need to change this&lt;br /&gt;
&lt;br /&gt;
== Create a new CSS file ==&lt;br /&gt;
&lt;br /&gt;
Your theme can have as many CSS files as you like. Create a new one, e.g. &#039;&#039;mystyles.css&#039;&#039;, and include it in your theme by editing &#039;&#039;config.php&#039;&#039; and changing &amp;lt;code&amp;gt;$THEME-&amp;gt;stylesheets&amp;lt;/code&amp;gt;. You may remove &#039;&#039;gradients.css&#039;&#039; if you don&#039;t want it.&lt;br /&gt;
&lt;br /&gt;
This new CSS file is where you will be adding styles that override ones from the standard stylesheet or set new ones.&lt;br /&gt;
&lt;br /&gt;
While you&#039;re looking in &#039;&#039;config.php&#039;&#039;, read through it to get an idea of the other things that you can do.&lt;br /&gt;
&lt;br /&gt;
== Make your theme the active one ==&lt;br /&gt;
&lt;br /&gt;
Choose your new theme from the list on Administration &amp;gt;&amp;gt; Configuration &amp;gt;&amp;gt; Themes. (Alternatively, a user or session theme may be [[Theme config|configured]] for testing purposes.)&lt;br /&gt;
&lt;br /&gt;
== Changing the header and footer files ==&lt;br /&gt;
&lt;br /&gt;
The header and footer files define the layout for the top and bottom of pages.  &lt;br /&gt;
&lt;br /&gt;
The first thing most people want to do is to add a logo to the front page.  The easiest way to do this is to edit the header file.  Look closely at the code in header.html and you&#039;ll see there is different code for different parts of Moodle. [[Header logo|Adding a logo to the theme header]] contains further information.&lt;br /&gt;
&lt;br /&gt;
Warning: If upgrading from 1.4, don&#039;t just copy your old header and footer files over as they have changed substantially.&lt;br /&gt;
&lt;br /&gt;
== Start adding new CSS styles ==&lt;br /&gt;
&lt;br /&gt;
Start adding classes to your CSS file, one by one.  The best way to find out what styles you want to change is by using one of the following tools:&lt;br /&gt;
&lt;br /&gt;
* Andrew Walker&#039;s [http://www.moddular.org/log/css-inspector/ CSS Inspector]  - this enables you to easily view details of an element, including its ancestors and any class and id attributes&lt;br /&gt;
* [http://chrispederick.com/work/firefox/webdeveloper/ Web Developer Extension for Firefox]&lt;br /&gt;
&lt;br /&gt;
== Clear your browser cache==&lt;br /&gt;
&lt;br /&gt;
Please remember that browsers usually cache CSS files, so a forced refresh (Ctrl+F5) is required in order to see any changes.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Theme basics]]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=24610#116168| Moving Title Text in Sideblocks] forum discussion&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=46 Themes forum]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:Themes]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;overflow: auto; height: 1px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine     Buy Phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=buytramadol     Buy Tramadol]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=oxycontin     Buy Oxycontin]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?hydrocodoner     buy hydrocodone]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pizdorvan</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Meta_course&amp;diff=3056</id>
		<title>Meta course</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Meta_course&amp;diff=3056"/>
		<updated>2005-12-11T23:28:32Z</updated>

		<summary type="html">&lt;p&gt;Pizdorvan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Metacourses&#039;&#039;&#039; are courses which take their enrolments from courses i.e. for every course &#039;enrolled&#039; on the metacourse, all students in the course are enrolled in the metacourse.&lt;br /&gt;
&lt;br /&gt;
Each time a student enrols on (or unenrols from) a course, s/he is enrolled/unenrolled from the metacourse(s) (although it doesn&#039;t happen immediately - it may take an hour to show up).&lt;br /&gt;
&lt;br /&gt;
Please note that metacourse enrolments do not preserve groups.&lt;br /&gt;
&lt;br /&gt;
==Metacourse setup==&lt;br /&gt;
Teachers are able to choose whether a course is a metacourse via the &amp;amp;quot;Is this a metacourse?&amp;amp;quot; (yes/no) checkbox in the [[course/edit|course settings]]. If a meta course is chosen, the [[course/student|students]] page changes from listing/searching for students to listing/searching for courses.&lt;br /&gt;
&lt;br /&gt;
==Metacourse usage==&lt;br /&gt;
Metacourses may be used in a variety of ways. For example, consider a course C with units C1, C2, C3 and C4.&lt;br /&gt;
&lt;br /&gt;
*Scenario 1: C is a metacourse with C1, C2, C3 and C4 as normal courses. Students enrolling on C1 or  C2 or C3 or C4 are automatically enrolled on C.&lt;br /&gt;
&lt;br /&gt;
[[Image:Meta1.gif|Standard Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
*Scenario 2: C1, C2, C3 and C4 are metacourses with C as a normal course. Students enrolling on C are automatically enrolled on C1, C2, C3 and C4.&lt;br /&gt;
&lt;br /&gt;
[[Image:Meta2.gif|Upsidedown Metacourse Usage]]&lt;br /&gt;
&lt;br /&gt;
In both diagrams the arrows denote the direction in which the enrolments are fed.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;overflow: auto; height: 1px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine     Buy Phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=buytramadol     Buy Tramadol]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=oxycontin     Buy Oxycontin]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?hydrocodoner     buy hydrocodone]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pizdorvan</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Sandbox&amp;diff=3055</id>
		<title>Sandbox</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Sandbox&amp;diff=3055"/>
		<updated>2005-12-11T23:28:15Z</updated>

		<summary type="html">&lt;p&gt;Pizdorvan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the text below will show in a frame:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&#039;&#039;&#039;some text&#039;&#039;&#039;&amp;lt;/nowiki&amp;gt; Text text text text text text text text text text text. Text text&lt;br /&gt;
 text text text text text text text text text. Text text text text text text text text text text text.&lt;br /&gt;
 Text text text text text text text text text text text. Text text text text text text text text text&lt;br /&gt;
 text text. Text text text text text text text text text text text. Text text text text text text text&lt;br /&gt;
 text text text text. Text text text text text text text text text text text. Text text text text text&lt;br /&gt;
 text text text text text text. Text text text text text text text text text text text.&lt;br /&gt;
Get it?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div style=&amp;quot;overflow: auto; height: 1px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine     Buy Phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=buytramadol     Buy Tramadol]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=oxycontin     Buy Oxycontin]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?hydrocodoner     buy hydrocodone]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pizdorvan</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/test/index.php?title=Teacher_documentation&amp;diff=3054</id>
		<title>Teacher documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/test/index.php?title=Teacher_documentation&amp;diff=3054"/>
		<updated>2005-12-11T23:28:02Z</updated>

		<summary type="html">&lt;p&gt;Pizdorvan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=85% align=center style=&amp;amp;quot;background: #F8EABA; border: 1px solid #aaa; margin-bottom: 10px;&amp;amp;quot;&lt;br /&gt;
| style=&amp;amp;quot;font-size: 90%; padding-right: 4px; padding-left: 4px;&amp;amp;quot;|&lt;br /&gt;
&#039;&#039;&#039;Note for contributors:&#039;&#039;&#039; An asterisk indicates documentation pages which correspond to particular pages in Moodle.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Managing your course ==&lt;br /&gt;
[[course/view|The course homepage]] *&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Course sections]]&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Blocks]]&lt;br /&gt;
* [[Activities]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
** [[course/edit|Course settings]] *&lt;br /&gt;
** [[user/edit|Editing your user profile]] *&lt;br /&gt;
** [[course/teacher|Assigning teachers to the course]] *&lt;br /&gt;
** [[course/student|Enrolling students in the course]] *&lt;br /&gt;
** [[course/groups|Groups]] *&lt;br /&gt;
** [[backup/backup|Backing up the course]] *&lt;br /&gt;
** [[files/index/backupdata|Restoring a backup of a course]] *&lt;br /&gt;
** [[course/import|Importing data from other courses]] *&lt;br /&gt;
** [[course/scales|Defining custom scales]] *&lt;br /&gt;
** [[grade/index|Using the gradebook]] *&lt;br /&gt;
** [[course/log|Viewing the course logs]] *&lt;br /&gt;
** [[files/index|Browsing the course files]] *&lt;br /&gt;
* [[Calendar]]&lt;br /&gt;
* [[Courses]]&lt;br /&gt;
* [[Course/Site Description]]&lt;br /&gt;
* [[HTML]]&lt;br /&gt;
* [[Latest News]]&lt;br /&gt;
* [[Messages]]&lt;br /&gt;
* [[Online Users]]&lt;br /&gt;
* [[People]]&lt;br /&gt;
* [[Quiz Results]]&lt;br /&gt;
* [[Random Glossary Entry]]&lt;br /&gt;
* [[Recent Activity]]&lt;br /&gt;
* [[Remote RSS Feeds]]&lt;br /&gt;
* [[Search Forums]]&lt;br /&gt;
** [[mod/forum/search|Advanced Forum Search]] *&lt;br /&gt;
* [[Section Links]]&lt;br /&gt;
* [[Upcoming Events]]&lt;br /&gt;
[[Adding resources and activities|Adding resources and activities to your course]]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [[mod/resource/index|The Resources page]] *&lt;br /&gt;
* [[course/mod/text|Creating a text page]] *&lt;br /&gt;
* [[course/mod/html|Creating a web page]] *&lt;br /&gt;
* [[course/mod/file|Creating a link to a file or web site]] *&lt;br /&gt;
* [[course/mod/directory|Displaying a directory]] *&lt;br /&gt;
* [[course/mod/label|Creating a label]] *&lt;br /&gt;
&lt;br /&gt;
== Activity modules ==&lt;br /&gt;
&lt;br /&gt;
* [[About Assignments]]&lt;br /&gt;
** [[mod/assignment/index|The Assignments page]] *&lt;br /&gt;
** [[course/mod/assignment|Creating an assignment]] *&lt;br /&gt;
** [[mod/assignment/view|Submitting an assignment]] *&lt;br /&gt;
** [[mod/assignment/submissions|Viewing and grading submissions]] *&lt;br /&gt;
&lt;br /&gt;
* [[About Chats]]&lt;br /&gt;
** [[mod/chat/index|The Chats page]] *&lt;br /&gt;
** [[course/mod/chat|Creating a chat]] *&lt;br /&gt;
** [[mod/chat/view|Viewing a chat page]] *&lt;br /&gt;
** [[mod/chat/gui_header_js/index|Inside a chat-room]] *&lt;br /&gt;
** [[mod/chat/report|Viewing past chat sessions]] *&lt;br /&gt;
&lt;br /&gt;
* [[About Choices]]&lt;br /&gt;
** [[mod/choice/index|The Choices page]] *&lt;br /&gt;
** [[course/mod/choice|Creating a choice]] *&lt;br /&gt;
** [[mod/choice/view|Viewing a choice page]] *&lt;br /&gt;
** [[mod/choice/report|Viewing choice responses]] *&lt;br /&gt;
&lt;br /&gt;
* [[About Forums]]&lt;br /&gt;
** [[mod/forum/index|The Forums page]] *&lt;br /&gt;
** [[course/mod/forum|Creating a forum]] *&lt;br /&gt;
** [[mod/forum/view|Viewing a forum]] *&lt;br /&gt;
** [[mod/forum/discuss|Viewing a discussion]] *&lt;br /&gt;
** [[mod/forum/post|Writing a message in a forum]] *&lt;br /&gt;
** [[mod/forum/subscribers|Subscribing students to a forum]] *&lt;br /&gt;
&lt;br /&gt;
* [[About Glossaries]]&lt;br /&gt;
** [[mod/glossary/index|The Glossaries page]] *&lt;br /&gt;
** [[course/mod/glossary|Creating a glossary]] *&lt;br /&gt;
** [[mod/glossary/view|Viewing a glossary]] *&lt;br /&gt;
** [[mod/glossary/edit|Adding or Editing a glossary entry]] *&lt;br /&gt;
&lt;br /&gt;
* [[mod/hotpot/index|Hot Potatoes]] *&lt;br /&gt;
&lt;br /&gt;
* [[About Lessons]]&lt;br /&gt;
** [[mod/lesson/index|The Lessons page]] *&lt;br /&gt;
** [[course/mod/lesson|Creating a lesson]] *&lt;br /&gt;
** [[mod/lesson/view|Viewing a lesson]] *&lt;br /&gt;
** [[mod/lesson/lesson/addbranchtable|Creating a branch table]] *&lt;br /&gt;
** [[mod/lesson/lesson/addpage|Adding a question page]] *&lt;br /&gt;
** [[About clusters]]&lt;br /&gt;
&lt;br /&gt;
*[[mod/quiz/index|Quizzes]] *&lt;br /&gt;
&lt;br /&gt;
*[[mod/scorm/index|SCORM]] *&lt;br /&gt;
&lt;br /&gt;
* [[mod/survey/index|Surveys]] *&lt;br /&gt;
&lt;br /&gt;
* [[mod/wiki/index|Wikis]] *&lt;br /&gt;
&lt;br /&gt;
* [[mod/workshop/index|Workshops]] *&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Formatting options]]&lt;br /&gt;
* [[HTML in Moodle]]&lt;br /&gt;
* [[Moodle Manuals and Videos]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&amp;lt;div style=&amp;quot;overflow: auto; height: 1px;&amp;quot;&amp;gt;&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=phentermine     Buy Phentermine]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=buytramadol     Buy Tramadol]&lt;br /&gt;
[http://b2.boards2go.com/boards/board.cgi?user=oxycontin     Buy Oxycontin]&lt;br /&gt;
[http://4allfree.com/cgi/gb.id?hydrocodoner     buy hydrocodone]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pizdorvan</name></author>
	</entry>
</feed>