<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deraadt</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/21/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deraadt"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/Special:Contributions/Deraadt"/>
	<updated>2026-04-15T20:30:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=File:Overview_of_students.png&amp;diff=96225</id>
		<title>File:Overview of students.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=File:Overview_of_students.png&amp;diff=96225"/>
		<updated>2014-05-07T05:42:57Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=File:Bar_in_block_-_with_details.png&amp;diff=96224</id>
		<title>File:Bar in block - with details.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=File:Bar_in_block_-_with_details.png&amp;diff=96224"/>
		<updated>2014-05-07T05:42:51Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Progress_Bar_block&amp;diff=96223</id>
		<title>Progress Bar block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Progress_Bar_block&amp;diff=96223"/>
		<updated>2014-05-07T05:42:33Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Updating after recent functional changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Blocks|Back to Blocks page]]&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Bar_in_block_-_with_details.png|right|A progress bar for a student]]&lt;br /&gt;
* The Progress Bar is a time-management tool for students.&lt;br /&gt;
* It visually shows what activities/resources a student is supposed to interact with in a course.&lt;br /&gt;
* It is colour coded so students can quickly see what they have and have not completed/viewed.&lt;br /&gt;
* The teacher selects which pre-existing activities/resources are to be included in the Progress Bar and when they should be completed/viewed.&lt;br /&gt;
* Ordering can be done by times/deadlines or by the ordering of activities in the course.&lt;br /&gt;
[[Image:Overview_of_students.png|thumb|right|The overview page]]&lt;br /&gt;
* There is an overview page allowing teachers to see the progress of all students in a class, which is helpful for finding students at risk.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=06LA5Cv9Fhw&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
The Progress Bar block is added like other blocks ([[Installing_contributed_modules_or_plugins|How to install a block]]).&lt;br /&gt;
&lt;br /&gt;
== Setting up a Progress Bar ==&lt;br /&gt;
&lt;br /&gt;
Once the progress bar is installed, you can use it in a course as follows.&lt;br /&gt;
# Turn editing on&lt;br /&gt;
# Create your activities/resources as normal&lt;br /&gt;
# Add the Progress Bar block to your page ([[Blocks|How to add a block]])&lt;br /&gt;
# Move your Progress Bar block into a prominent position (click and drag the block title)&lt;br /&gt;
# Choose to:&lt;br /&gt;
#* Monitor all activities (pre-fills configuration page)&lt;br /&gt;
#* Select which activities to monitor (start from scratch)&lt;br /&gt;
# Set the activities/resources you want shown in the block to &amp;quot;Yes&amp;quot; and those you don&#039;t to &amp;quot;No&amp;quot;.&lt;br /&gt;
# Set the date and time when the activity/resource is expected to be completed/viewed by (some activities have deadlines set, if so, that deadline can be used or another can be set in the Progress Bar block configuration).&lt;br /&gt;
# Save changes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=ekH8IfCyGzM&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hidden items will not appear in the Progress Bar until they are unhidden. This is useful for a scheduled release of activities.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/plugins/view.php?plugin=block_progress Block code in Plugins repository]&lt;br /&gt;
* [http://tracker.moodle.org/browse/CONTRIB/component/10489 Bug Tracker Page] (Please report bugs here)&lt;br /&gt;
* [http://cvs.moodle.org/contrib/plugins/blocks/progress/ CVS Repository]&lt;br /&gt;
&lt;br /&gt;
== Acknowledgements ==&lt;br /&gt;
&lt;br /&gt;
* Thanks to:&lt;br /&gt;
** Toshimi Hatanaka for contributing a Japanese translation&lt;br /&gt;
** Yvonne Schneider and Joachim Vogelgesang for contributing a German translation&lt;br /&gt;
** Maria João Spilker for contributing a Portuguese-Brazilian translation&lt;br /&gt;
** Pieter Wolters for contributing a Dutch translation&lt;br /&gt;
** Fernando Sánchez for contributing a Spanish translation&lt;br /&gt;
** Fabien Sartoretti for contributing a French translation&lt;br /&gt;
** Adam Levy for contributing queries and strings for Hot Potatoes support&lt;br /&gt;
** Petras Virzintas for contributing queries for Turnitin support&lt;br /&gt;
** Willian Mano for helping with the modern look CSS&lt;br /&gt;
** Matthieu Rolland for contributing queries for the Questionnaire module&lt;br /&gt;
** Johan Reinalda for contributing global config changes for block colours&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Moodle_research&amp;diff=96183</id>
		<title>Moodle research</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Moodle_research&amp;diff=96183"/>
		<updated>2013-05-01T06:53:06Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding link to research.moodle.net&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{About Moodle}}&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;There site [http://research.moodle.net research.moodle.net] has been established as a point of contact for Moodle researchers. On that site there is a [http://research.moodle.net/mod/data/view.php?id=1 Moodle Reseach Collection] containing Moodle-related research publications.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A growing, community-contributed collection of research into LMS (Learning Management Systems) and particularly Moodle.&lt;br /&gt;
&lt;br /&gt;
=Moodle-specific research=&lt;br /&gt;
Academic, governmental, organisational research (mostly) involving Moodle (design, use, implementation...). Check [[Moodle research FAQ|here]] for details. &lt;br /&gt;
==Print (papers, reports, collections, theses...)==&lt;br /&gt;
*Al-Ajlan, A. &amp;amp; Zedan,H. (2008) [http://www.computer.org/portal/web/csdl/doi/10.1109/FTDCS.2008.22 Why Moodle] 12th IEEE International Workshop on Future Trends of Distributed Computing Systems, 2008&lt;br /&gt;
*Alier, M., Casany, J., Casado, P. (2007) [http://74.125.155.132/scholar?q=cache:9f3NRhHqyDMJ:scholar.google.com/+moodle&amp;amp;hl=en&amp;amp;as_sdt=0,5 Mobile Extension Of A Web Based Moodle Virtual Classroom]. Proceedings of E-Challenges Conference, 2007.&lt;br /&gt;
*Al Naddabi, Z. (2007). [http://www.editlib.org/p/26540 A Moodle Course: Design and Implementation in English for Academic Purposes Instruction]. In T. Bastiaens &amp;amp; S. Carliner (Eds.), Proceedings of World Conference on E-Learning in Corporate, Government, Healthcare, and Higher Education 2007 &lt;br /&gt;
*Beatty, B. &amp;amp; Ulasewicz, C. (2006) [http://www.springerlink.com/content/bg0613214k409500/ Faculty Perspectives on Moving from Blackboard to the Moodle Learning Management System]. TechTrends Volume 50, Number 4, 36-45.&lt;br /&gt;
*Berggren, A. et al (2005) [http://74.125.155.132/scholar?q=cache:2t2PDSl4o_4J:scholar.google.com/+moodle&amp;amp;hl=en&amp;amp;as_sdt=0,5 Practical and Pedagogical Issues for Teacher Adoption of IMS Learning Design Standards in Moodle LMS]. Journal of Interactive Media in Education, 2005(02)&lt;br /&gt;
*Brandl, K. (2007) [http://74.125.155.132/scholar?q=cache:b1gGpxaaCR0J:scholar.google.com/+moodle&amp;amp;hl=en&amp;amp;as_sdt=0,5 Are You Ready to &amp;quot;Moodle&amp;quot;?]. Language Learning &amp;amp; Technology, May 2005, Vol.9(2)&lt;br /&gt;
*Burgos, D. et al. (2007) [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.169.251&amp;amp;rep=rep1&amp;amp;type=pdf A First Step Mapping IMS Learning Design and Moodle]. Journal of Universal Computer Science, Vol. 13 (7).&lt;br /&gt;
*Cowan, P. (2006). [http://www.editlib.org/p/22507 Factors influencing Pre-Service teachers’ attitudes towards using a Moodle environment for teaching and learning]. In C. Crawford et al. (Eds.), Proceedings of Society for Information Technology &amp;amp; Teacher Education International Conference 2006&lt;br /&gt;
*Deng, Y. &amp;amp; Hemphill, L. (2006). [http://www.editlib.org/p/22054 Demonstrating Online K12 Teaching Strategies in a Moodle Course Management Environment]. In C. Crawford et al. (Eds.), Proceedings of Society for Information Technology &amp;amp; Teacher Education International Conference 2006&lt;br /&gt;
*DeSchryver, M., Mishra, P., Koehleer, M. &amp;amp; Francis, A. (2009). [http://www.editlib.org/?fuseaction=Reader.ViewFullText&amp;amp;paper_id=30612 Moodle vs. Facebook: Does using Facebook for Discussions in an Online Course Enhance Perceived Social Presence and Student Interaction?]. In I. Gibson et al. (Eds.), Proceedings of Society for Information Technology &amp;amp; Teacher Education International Conference 2009&lt;br /&gt;
*Dougiamas, M. &amp;amp; Taylor, P. (2003). [http://www.editlib.org/p/13739 Moodle: Using Learning Communities to Create an Open Source Course Management System]. In D. Lassner &amp;amp; C. McNaught (Eds.), Proceedings of World Conference on Educational Multimedia, Hypermedia and Telecommunications 2003.&lt;br /&gt;
*Graf, S. &amp;amp;List, B.(2005) [http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1508637 An evaluation of open source e-learning platforms stressing adaptation issues]. Advanced Learning Technologies, 2005. ICALT 2005.&lt;br /&gt;
*Guttierez, E. et al. (2009) [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6VCJ-4XB1967-2&amp;amp;_user=10&amp;amp;_coverDate=02%2F28%2F2010&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=gateway&amp;amp;_origin=gateway&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_searchStrId=1688004089&amp;amp;_rerunOrigin=scholar.google&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=f9a939ec272e44d724d630209831642a&amp;amp;searchtype=a A new Moodle module supporting automatic verification of VHDL-based assignments]. Computers &amp;amp; Education, Vol 54 (2), Feb 2010. &lt;br /&gt;
*Hueros, D. &amp;amp; Sanchez, A. (2010) [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6VDC-50HWJ4Y-4&amp;amp;_user=10&amp;amp;_coverDate=11%2F30%2F2010&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=gateway&amp;amp;_origin=gateway&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_searchStrId=1687987167&amp;amp;_rerunOrigin=scholar.google&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=15927cf368be7fc0df80aa91ac4e92a3&amp;amp;searchtype=a Motivational factors that influence the acceptance of Moodle using Technology Acceptance Model (TAM)]. Computers in Human Behavior. Vol. 26(6) Nov 2010.&lt;br /&gt;
*Jide, W. &amp;amp; Li, Z. (2009) [http://en.cnki.com.cn/Article_en/CJFDTOTAL-YCJY200905004.htm New Progresses in the Domestic Research on Moodle] Journal of Distance Education.&lt;br /&gt;
*Knutzen, B. &amp;amp; Kennedy, D.M. (2008). [http://www.editlib.org/p/28913 Can Learning to Use Moodle Alter Teachers’ Approaches to Teaching?]. In J. Luca &amp;amp; E. Weippl (Eds.), Proceedings of World Conference on Educational Multimedia, Hypermedia and Telecommunications 2008&lt;br /&gt;
*Pfaffman, J. (2004). [http://www.editlib.org/p/13664 Integrating Moodle into a Course for Pre- and In-service Teachers]. In R. Ferdig et al. (Eds.), Proceedings of Society for Information Technology &amp;amp; Teacher Education International Conference 2004&lt;br /&gt;
*Kemp, J. Livingstone, D. (2008) [http://74.125.155.132/scholar?q=cache:Kvnq5aCMDSwJ:scholar.google.com/+moodle&amp;amp;hl=en&amp;amp;as_sdt=0,5 Integrating Web-Based and 3D Learning Environments: Second Life Meets Moodle]. UPGRADE Vol. IX, No. 3, June 2008&lt;br /&gt;
*Romero,C. et al (2009) [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6V03-4R98K46-7&amp;amp;_user=10&amp;amp;_coverDate=03%2F31%2F2009&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=gateway&amp;amp;_origin=gateway&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_searchStrId=1687992777&amp;amp;_rerunOrigin=scholar.google&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=f15fe515105a3c120401c2a6c6d1551e&amp;amp;searchtype=a Evolutionary algorithms for subgroup discovery in e-learning: A practical application using Moodle data]. Expert Systems with Applications, Volume 36(2)1, March 2009.&lt;br /&gt;
*Romero, S. Ventura, C. &amp;amp; Garcia, E. (2007) [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6VCJ-4P7FCT6-1&amp;amp;_user=10&amp;amp;_coverDate=08%2F31%2F2008&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=gateway&amp;amp;_origin=gateway&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_searchStrId=1686659096&amp;amp;_rerunOrigin=scholar.google&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=b77769e114cba19d78a12526b8755858&amp;amp;searchtype=a Data mining in course management systems: Moodle case study and tutorial]. Computers &amp;amp; Education. Vol. 51 (1), Aug 2008 (Abstract only, paid access). &lt;br /&gt;
*Li, P. et al. (2009) [http://en.cnki.com.cn/Article_en/CJFDTOTAL-YCJY200803014.htm Classroom Response Systems Based on Moodle]. Distance Education Journal;2008-03&lt;br /&gt;
*Martín-Blas, T. &amp;amp; Serrano-Fernández (2009) [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6VCJ-4T2RYPV-1&amp;amp;_user=10&amp;amp;_coverDate=01%2F31%2F2009&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=gateway&amp;amp;_origin=gateway&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_searchStrId=1687986242&amp;amp;_rerunOrigin=scholar.google&amp;amp;_acct=C000050221&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=10&amp;amp;md5=81ca28b957fbd194f133ad342073759a&amp;amp;searchtype=a The role of new technologies in the learning process: Moodle as a teaching tool in Physics]. Computers &amp;amp; Education. Vol. 52(1), Jan 2009.&lt;br /&gt;
*Meurant, R.C. (2009) [http://www.springerlink.com/content/u08884qr83704276/ Computer-Based Internet-Hosted Assessment of L2 Literacy: Computerizing and Administering of the Oxford Quick Placement Test in ExamView and Moodle].Communications in Computer and Information Science, 2009, Vol. 60.&lt;br /&gt;
*Rakoczi, Gergely. (2010) [http://www.fm-kp.si/zalozba/ISBN/978-961-266-066-6/prispevki/rakoczi.pdf &amp;quot;Cast your Eyes on Moodle: An Eye Tracking Study investigating learning with Moodle&amp;quot;]&lt;br /&gt;
*Liu Suqin &amp;amp; Li Jiahou (2007) [http://en.cnki.com.cn/Article_en/CJFDTOTAL-YCJY200701002.htm Curriculum Design BIG6 Mode Based on Moodle]. Distance Education Journal.&lt;br /&gt;
*Stewart, B. et al (2007) [http://www.igi-global.com/bookstore/article.aspx?TitleId=1705 Choosing MOODLE: An Evaluation of Learning Management Systems at Athabasca University. International Journal of Distance Education Technologies (IJDET)]. Vol. 5(3)&lt;br /&gt;
*Zenha-Rela,M. &amp;amp; Carvalho, R.(2006) [http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=4117034 Work in Progress: Self Evaluation Through Monitored Peer Review Using the Moodle Platform]. Frontiers in Education Conference.&lt;br /&gt;
*Zhiqiang, M &amp;amp; Yanli, W. (2008) [http://en.cnki.com.cn/Article_en/CJFDTOTAL-DDJY200807013.htm An Analysis of Moodle-based Online Learning Barriers]. Distance Education in China, Aug 2008.  &lt;br /&gt;
&lt;br /&gt;
==Presentations and videos==&lt;br /&gt;
==Other material (eg projects)==&lt;br /&gt;
&lt;br /&gt;
=LMS research - general=&lt;br /&gt;
Broader academic, governmental, organisational research on LMS/VLE useful to Moodle to learn from. Check [[Moodle research FAQ|here]] for details. &lt;br /&gt;
==Print (papers, reports, collections, theses...)==&lt;br /&gt;
*Carmean, C. &amp;amp; Haefner,J. (2002). [http://net.educause.edu/ir/library/pdf/ERM0261.pdf Mind over matter: Transforming course management systems into effective learning environments]. EDUCAUSE Review, Vol. 37, No. 6, pp. 27–33.&lt;br /&gt;
*Chang, Chinhong Lim (2008) [http://firstmonday.org/htbin/cgiwrap/bin/ojs/index.php/fm/article/view/2530/2303 Faculty Perceptions and Utilization of a Learning Management System in Higher Education] (dissertation)&lt;br /&gt;
*Keesee, G. &amp;amp; Shepard, M.(2011) [http://www.westga.edu/~distance/ojdla/spring141/keesee_shepard141.html Perceived Attributes Predict Course Management System Adopter Status]. Online Journal of Distance Learning Administration, Vol 14/1.&lt;br /&gt;
*Lane, L. (2009) [http://firstmonday.org/htbin/cgiwrap/bin/ojs/index.php/fm/article/view/2530/2303 Insidious pedagogy: How course management systems impact teaching]. First Monday, Vol. 14, Number 10 - 5 Oct 2009&lt;br /&gt;
*[http://en.wikipedia.org/wiki/Ofsted OFSTED] (2009) [http://www.ofsted.gov.uk/Ofsted-home/Publications-and-research/Browse-all-by/Documents-by-type/Thematic-reports/Virtual-learning-environments-an-evaluation-of-their-development-in-a-sample-of-educational-settings Virtual learning environments: an evaluation of their development in a sample of educational settings].&lt;br /&gt;
*Sancar, H. &amp;amp; Cagiltay, K. (2008). [http://www.editlib.org/p/28931 Effective Use of LMS: Pedagogy through the Technology]. In J. Luca &amp;amp; E. Weippl (Eds.), Proceedings of World Conference on Educational Multimedia, Hypermedia and Telecommunications 2008&lt;br /&gt;
&lt;br /&gt;
==Presentations and videos==&lt;br /&gt;
==Other material==&lt;br /&gt;
=Questions? Try here=&lt;br /&gt;
See the growing list at [[Moodle research FAQ]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=95721</id>
		<title>Installing MSSQL for PHP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Installing_MSSQL_for_PHP&amp;diff=95721"/>
		<updated>2012-04-27T06:30:50Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Clarifying alter commands&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This short manual is suitable if you are trying to run Moodle using the SQL*Server (MSSQL) RDBMS. Steps detailed below must be performed &#039;&#039;&#039;before&#039;&#039;&#039; installing Moodle itself.&lt;br /&gt;
&lt;br /&gt;
Some of this may also apply if you wish to access an MSSQL server for external db authentication/enrollment. &lt;br /&gt;
&lt;br /&gt;
First of all, minimum required version of MSSQL has been stabilised to MSSQL 2005 (v.9), although it &#039;&#039;&#039;might work with MSSQL 2000 (v.8) or newer&#039;&#039;&#039;. All the development process has been performed using MSSQL 2005 and there could be some &#039;&#039;&#039;unknown problems&#039;&#039;&#039; with previous releases.&lt;br /&gt;
&lt;br /&gt;
While PHP comes with one, more or less, standard extension (mssql) that provides access to MSSQL databases, early we found some hard limits on it. Basically such default extension has some limits that prevent us to use it at all (you can find more info about these problems [[Development:XMLDB problems#MSSQL, PHP, UTF-8 and UCS-2|here]]).&lt;br /&gt;
&lt;br /&gt;
So, in order to allow PHP (i.e. Moodle) to access to MSSQL DBs properly we have to install a &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; to save us from the problems related above. See the sections below for details about the various options.&lt;br /&gt;
&lt;br /&gt;
== Installation overview ==&lt;br /&gt;
&lt;br /&gt;
1. Get MSSQL Server installed and running. ([http://www.microsoft.com/sql/editions/express/default.mspx A free limited version, SQL Server Express Edition] is available for testing.)&lt;br /&gt;
:Make sure that you choose mixed authentication (Windows and local accounts) to keep things simpler later.  You&#039;ll be asked to define the  &amp;quot;sa&amp;quot; account password (it&#039;s the default System Administrator account which has full access to all databases by default).&lt;br /&gt;
&lt;br /&gt;
2. Make sure MS SQL Server can accept incoming TCP/IP connections on port 1433 (the standard one).&lt;br /&gt;
:You might need to explicitly allow this in your Windows firewall (see the Control Panel).  You may also need to edit options in the :&#039;&#039;&#039;SQL Server Configuration Manager&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Network Configuration&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;Protocols&#039;&#039;&#039; -&amp;gt; &#039;&#039;&#039;TCP/IP enabled&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
3. Open the &amp;quot;SQL Server Management Studio&amp;quot; and create a new empty database.  If you are using the &amp;quot;sa&amp;quot; account then you don&#039;t need to do anything else here.&lt;br /&gt;
&lt;br /&gt;
4. Configure these settings in your created (and still empty) database:&lt;br /&gt;
&lt;br /&gt;
:* ANSI NULLS Enabled = true (Toggle to true in DB Properties &amp;gt; Options or run ALTER DATABASE xxxx SET ANSI_NULLS ON)&lt;br /&gt;
:* Quoted Identifiers Enabled = true (Toggle to true in DB Properties &amp;gt; Options or run ALTER DATABASE xxxx SET QUOTED_IDENTIFIER ON)&lt;br /&gt;
:* (Moodle 2.x only) Row Versioning Enabled (ALTER DATABASE xxxx SET READ_COMMITTED_SNAPSHOT ON)&lt;br /&gt;
:** This is not settable via the DB properties. To set READ_COMMITTED_SNAPSHOT, there must be no active connections to the database except for the connection executing the ALTER command. If you are viewing the DB in the Server Management Studio, disconnect from any servers in the &amp;quot;Object Explorer&amp;quot; (right-click &amp;gt; Disconnect), then create a &amp;quot;New Query&amp;quot; and run the ALTER command. See http://msdn.microsoft.com/en-us/library/bb522682.aspx for details.&lt;br /&gt;
&lt;br /&gt;
5. Get PHP installed with a web server.   Unless you want to do it under IIS or some other way, the packages on the [http://download.moodle.org Moodle download page] are a good solution.&lt;br /&gt;
&lt;br /&gt;
6. Choose one of the following specific sections for your server to install the &#039;&#039;&#039;mssql extension alternative&#039;&#039;&#039; installed and running properly on your PHP box.&lt;br /&gt;
&lt;br /&gt;
7. Set the following settings in your php.ini file&lt;br /&gt;
:* mssql.textlimit = 20971520&lt;br /&gt;
:* mssql.textsize = 20971520&lt;br /&gt;
&lt;br /&gt;
8. With all this properly configured, you can continue with a [[Installing Moodle|standard Moodle installation]].&lt;br /&gt;
&lt;br /&gt;
== Using the SQL Server 2005 Driver for PHP from Microsoft on Windows ==&lt;br /&gt;
In July 2008 Microsoft [http://social.msdn.microsoft.com/forums/en-US/sqldriverforphp/thread/a10e5202-9e41-4ff8-a33e-fbcc7b951be2/ released] a new SQL Server 2005 Driver for PHP. This is a PHP extension that allows PHP scripts to read and write data on Microsoft SQL Server databases and it overcomes the problems with the native SQL Server extension that was previously bundled with PHP.&lt;br /&gt;
&lt;br /&gt;
This Microsoft driver is the standard database layer for running Moodle 2 under Microsoft SQL Server databases. See [[Using the Microsoft SQL Server Driver for PHP]] the installation and configuration details.&lt;br /&gt;
&lt;br /&gt;
This driver is only supported in Moodle 2.0 and up. You should use [https://docs.moodle.org/en/Installing_MSSQL_for_PHP#Using_FreeTDS_on_Windows FreeTDS] if you are installing an older version of Moodle.&lt;br /&gt;
&lt;br /&gt;
See MDL-16497 and MDL-15093 for more background information.&lt;br /&gt;
&lt;br /&gt;
== Using FreeTDS on Windows ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;Important Note 1:&#039;&#039;&#039; Due to some previous bugs it&#039;s highly recommendable to use PHP &amp;gt;= 5.2.6 and FreeTDS 0.82 + post-release patches ([http://tracker.moodle.org/browse/MDL-14725 more info]).&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your web server is on Windows, use &#039;&#039;&#039;php_dblib.dll&#039;&#039;&#039;. Despite the name, it&#039;s FreeTDS compiled for Windows. (Go to this page for information on [https://docs.moodle.org/en/FreeTDS Using FreeTDS for Unix].) &lt;br /&gt;
&lt;br /&gt;
Originally we were using the DLLs available at [http://kromann.info/article.php?Id=11062598797760000 Frank Kromann&#039;s site], but they are outdated (using old versions of FreeTDS) and that has caused [http://tracker.moodle.org/browse/MDL-14725 some problems] in the past.&lt;br /&gt;
&lt;br /&gt;
So, right now, the recommended way to use FreeTDS under Windows is to use PHP 5.2.x following the following instructions:&lt;br /&gt;
&lt;br /&gt;
1. Download the appropriate copy of php_dblib.dll from the list below, and save it into your /PHP/ext directory.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; cellpadding=&amp;quot;5&amp;quot; style=&amp;quot;text-align: center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! PHP version !! [http://www.iis-aid.com/articles/my_word/difference_between_php_thread_safe_and_non_thread_safe_binaries Thread Safe]  !! FreeTDS version !! Download URL&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; | PHP 5.2.x (vc6) || Yes || 0.82 + 20090302 patches || [http://download.moodle.org/download.php/dblib/php52/DBLIB_TS.zip Download!]&lt;br /&gt;
|-&lt;br /&gt;
| No || 0.82 + 20090302 patches || [http://download.moodle.org/download.php/dblib/php52/DBLIB_NOTS.zip Download!]&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; | PHP 5.3.x (vc9) || Yes || 0.82 + 20090904 patches || [http://download.moodle.org/download.php/dblib/php53/DBLIB_TS.zip Download!]&lt;br /&gt;
|-&lt;br /&gt;
| No || 0.82 + 20090904 patches || [http://download.moodle.org/download.php/dblib/php53/DBLIB_NOTS.zip Download!]&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; |  Thanks to [http://remote-learner.net/ Remote-Learner]] (Moodle [http://moodle.com/partners/ Partner]) and specially to Bryan Williams, donating one Visual C++ 6.0 Pro license to Moodle. Thanks to Trevor Johnson and his builds of the dblib extensions. Thanks to Daniele, Doug, Luis, Sean and many others by their collaboration in MDL-14725. Thanks to Frediano Ziglio and James K. Lowden from [http://freetds.org freetds.org] by their support. Thanks to Alastair Hole by providing the PHP 5.3 builds of the libraries. Thanks!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(alternatively here you can find some [[Development:Compiling FreeTDS under Windows|instructions to build those freetds extensions under win32]] yourself)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. FreeTDS requires the .NET Framework v1.1 to be installed.  You can [http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&amp;amp;DisplayLang=en download it from the Microsoft website] along with its [http://www.microsoft.com/downloads/details.aspx?FamilyID=a8f5654f-088e-40b2-bbdb-a83353618b38&amp;amp;DisplayLang=en service pack].  Alternatively, if you do not wish to install this framework, you can [http://kromann.info/ms-libs/msvcr71.dll download the required DLL] from Frank&#039;s site, and save it into your /PHP root directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Edit your /PHP/php.ini file and add this line:&lt;br /&gt;
&lt;br /&gt;
  extension=php_dblib.dll &lt;br /&gt;
&lt;br /&gt;
Make sure that any lines referring to the php_mssql.dll extension are DISABLED (commented out).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. When the PHP engine loads the FreeTDS extension it needs to be passed certain infiormation in order to be able to connect to your Moodle database. To retrieve this information FreeTDS looks for a file called &#039;&#039;&#039;freetds.conf&#039;&#039;&#039; in the root folder of the server that PHP installed on (e.g. C:\).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;freetds.conf&#039;&#039;&#039; should have the following structure:&lt;br /&gt;
&lt;br /&gt;
  [global]&lt;br /&gt;
      host = xxx.xxx.xxx.xxx (host name or ip of the MSSQL server)&lt;br /&gt;
      port = 1433&lt;br /&gt;
      client charset = UTF-8&lt;br /&gt;
      tds version = 8.0&lt;br /&gt;
      text size = 20971520&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to connect to a particular [http://msdn.microsoft.com/en-us/library/aa174516(SQL.80).aspx instance] of MSSQL you should specify the instance name:&lt;br /&gt;
&lt;br /&gt;
  [global]&lt;br /&gt;
      host = xxx.xxx.xxx.xxx (host name or ip of the MSSQL server)&lt;br /&gt;
      instance = xxx (instance name, e.g. INST2)&lt;br /&gt;
      port = 1433&lt;br /&gt;
      client charset = UTF-8&lt;br /&gt;
      tds version = 8.0&lt;br /&gt;
      text size = 20971520&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notes:&#039;&#039;&#039;&lt;br /&gt;
*You can configure FreeTDS to look for the freetds.conf file in any directory that you want - you don&#039;t have to use C:\. To do this create a SYSTEM environment variable called &#039;&#039;&#039;FREETDS&#039;&#039;&#039; and point it to the directory where you have installed the freetds.conf file. If you do not set this environment variable FreeTDS will look for the freetds.conf file in the C:\ folder, which is the default. One possible benefit of setting the FREETDS environment variable and using a different installation directory for freetds.conf is that C:\ is very predictable to a hacker that knows anything about FreeTDS and that is the first place that he would look if he wanted to compromise your system. So, using a different installation directory would just make your system stronger. See the FreeTDS [http://www.freetds.org/userguide/envvar.htm Setting the environment variables] documentation for more information about this FREETDS environment variable.&lt;br /&gt;
&lt;br /&gt;
*Alternatively, you can [[Development:Compiling FreeTDS under Windows|recompile]] the FreeTDS extension yourself and change the default location to your preferred location at compile time. Then it is not necessary to create any environment variable. You must just ensure that freetds.conf is in the same folder that you specify when you compile php_dblib.dll.&lt;br /&gt;
&lt;br /&gt;
*MSSQL is usually installed with port 1433 as the default. However, if the port was changed on your server when you installed MSSQL then you need to specify the correct port number.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Your Moodle &#039;&#039;&#039;config.php&#039;&#039;&#039; should include lines like these:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;dbtype    = &#039;mssql_n&#039;;        // Required&lt;br /&gt;
$CFG-&amp;gt;dbhost    = &#039;localhost&#039;;      // assuming MS SQL is on the same server, otherwise use an IP&lt;br /&gt;
$CFG-&amp;gt;dbname    = &#039;moodle&#039;;         // or whatever you called the database you created&lt;br /&gt;
$CFG-&amp;gt;dbuser    = &#039;yourusername&#039;;   // I usually use the &#039;sa&#039; account (dbowner perms are enough)&lt;br /&gt;
$CFG-&amp;gt;dbpass    = &#039;yourpassword&#039;;&lt;br /&gt;
$CFG-&amp;gt;dbpersist =  false;&lt;br /&gt;
$CFG-&amp;gt;prefix    = &#039;mdl_&#039;;            //Prefix, you can change it, but NEVER leave it blank.&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have a config.php file yet, it can be generated as normal from the Moodle installer. Alternatively you can use the config-dist.php file that comes with the Moodle package to create your own config.php file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Restart or start your web server.  If Moodle still cannot communicate with the database server, please turn display_startup_errors to &amp;quot;On&amp;quot; in your /PHP/php.ini file, then restart the web server and check for any errors that may indicate incorrect DLL versions or missing dependencies.  These error reports, turned off by default in PHP, can be vital in locating a problem with new extension installations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Database conection test, try this PHP script, just put in a text file called test.php change (&#039;localhost&#039;, &#039;db_user&#039;, &#039;db_password&#039;) to suite your setup, and load from local host (http://localhost/test.php)...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
	$link = mssql_connect(&#039;localhost&#039;, &#039;db_user&#039;, &#039;db_password&#039;);&lt;br /&gt;
	if(!$link) {&lt;br /&gt;
		echo&#039;Could not connect&#039;;&lt;br /&gt;
		die(&#039;Could not connect: &#039; . mssql_error());&lt;br /&gt;
	}&lt;br /&gt;
	echo&#039;Successful connection&#039;;&lt;br /&gt;
	mssql_close($link);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. Install Moodle as usual.  Good luck!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
If you encounter some problems you can try:&lt;br /&gt;
*check that you have DotNet framework 1.1 installed (later version are installed on Vista, but you could need this specific one)&amp;lt;br /&amp;gt;&lt;br /&gt;
*enable TCP/IP for MSSQL: SQL Server 2005 Network Configuration -&amp;gt; Protocols for MSSQLSERVER -&amp;gt; TCP/IP (Enable) -&amp;gt; Properties -&amp;gt; Ip Addresses -&amp;gt; 127.0.0.1 (Active+Enable)&amp;lt;br /&amp;gt;&lt;br /&gt;
*make sure the SQL Server Browser service is running SQL Server 2005 Network Configuration -&amp;gt; SQL Server Services&amp;lt;br /&amp;gt;&lt;br /&gt;
*if you are using SQL Server 2005 and you have the error &#039;&#039;4004: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier&#039;&#039;, try the ODBTP method (next chapter). The SQL Server complaining that it doesn&#039;t support pure Unicode via TDS or older versions of ODBC. Microsoft has deprecated DB-Library a long ago, in favor of ODBC, OLE DB, or SQL Native Client. Many new features of SQL 2005 aren&#039;t accessible via DB-Library so if you need them, you could have to switch away from tools based on TDS and DB-Library :(&lt;br /&gt;
&lt;br /&gt;
== FreeTDS on Linux (on Ubuntu by compiling an mssql.so extension) ==&lt;br /&gt;
This is a good read to [http://www.robert-gonzalez.com/2009/02/18/building-the-php-ms-sql-server-extension-from-source-on-ubuntu-810/ building a FreeTDS based mssql extension for apache on Ubuntu]. Do note that [http://www.freetds.org/news.html freeTDS] 0.91 was recently released, you can find latest versions [http://freetds.sourceforge.net/ here]. &lt;br /&gt;
&lt;br /&gt;
Note: the freetds.conf file you use should have &amp;quot;text size = 20971520&amp;quot; as mentioned in the FreeTDS on Windows section otherwise you might see sessions logging out or worse apache segmentation faults. Also see [[FreeTDS]].&lt;br /&gt;
&lt;br /&gt;
== Using FreeTDS on Debian Lenny ==&lt;br /&gt;
I found the following solution using:&lt;br /&gt;
* PHP Version 5.2.6-1+lenny9&lt;br /&gt;
* Microsoft SQL Server Enterprise Edition, version: 9.00.4053.00&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get install libsybdb5 freetds-common php5-sybase&lt;br /&gt;
/etc/init.d/apache2 restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
At the end of the process, if all goes fine, you will find in the mssql section of phpinfo();&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! MSSQL Support&lt;br /&gt;
! enabled&lt;br /&gt;
|-&lt;br /&gt;
| Library version &lt;br /&gt;
| FreeTDS &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once FreeTDS is correctly installed, don not forget to set it up following explanations in https://docs.moodle.org/en/FreeTDS&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* FreeTDS for Windows is obsolete and too slow as of 2011. See: [http://moodle.org/mod/forum/discuss.php?d=183987 Hardware and Performance Forum]&lt;br /&gt;
* [[Installing Moodle]]&lt;br /&gt;
* [[Errors FAQ]]&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum]&lt;br /&gt;
* [[Beginning Administration FAQ]]&lt;br /&gt;
* [[Installing Postgres for PHP]]&lt;br /&gt;
* [[Using the Microsoft SQL Server Driver for PHP]]&lt;br /&gt;
* [[Installing Oracle for PHP]]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Developer]]&lt;br /&gt;
[[Category:XMLDB]]&lt;br /&gt;
[[Category:DB]]&lt;br /&gt;
[[Category:SQL databases]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95718</id>
		<title>Theme settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95718"/>
		<updated>2012-04-26T05:29:02Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: /* Allow theme changes in the URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
== Theme settings ==&lt;br /&gt;
An administrator can change theme settings in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme settings&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Themesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===Theme list===&lt;br /&gt;
This lists the themes available for course and user themes. Leave this blank to allow any valid theme to be used. If you want to shorten the theme menu, you may specify a comma-separated list of names, though don&#039;t use spaces (e.g. standard,orangewhite).&lt;br /&gt;
&lt;br /&gt;
You can  preview the available themes in &#039;&#039;Settings &amp;gt; Site Administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Themes selector.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Theme designer mode===&lt;br /&gt;
Turn this on if you are designing and testing themes as it will stop the themes being cached and enable you to see theme changes quickly. (You can also do this with the Clear theme cache button on the theme selector page.)&lt;br /&gt;
&lt;br /&gt;
===Allow user themes===&lt;br /&gt;
If the option &#039;&#039;allowuserthemes&#039;&#039; is enabled, each user may select their preferred theme on the edit profile page. All Moodle pages will be displayed in the user&#039;s theme, apart from courses where a course theme has been set.&lt;br /&gt;
&lt;br /&gt;
===Allow course themes===&lt;br /&gt;
If you enable this, then teachers will be able to set their own course themes. Course themes override all other theme choices (site, user, or session themes).&lt;br /&gt;
&lt;br /&gt;
*If the option &#039;&#039;allowcoursethemes&#039;&#039; is enabled, each editing teacher may select their course theme via the Force theme option on the [[course/edit|Course settings]] page. The course will always be displayed in the theme specified in the course setting, with user and the site themes being overwritten.&lt;br /&gt;
&lt;br /&gt;
===Allow category themes===&lt;br /&gt;
When enabled, themes can be set at the category level. This will affect all child categories and courses unless they have specifically set their own theme. WARNING: Enabling category themes may affect performance. &lt;br /&gt;
&lt;br /&gt;
===Allow theme changes in the URL===&lt;br /&gt;
*If this is checked then the theme may be changed by adding &amp;lt;code&amp;gt;?theme=theme_name&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;&amp;amp;theme=theme_name&amp;lt;/code&amp;gt; if there are other URL parameters) to the URL in the browser. Theme names should be in lower case with spaces replaced by underscores, for example the theme &amp;quot;Formal white&amp;quot; should be entered as &amp;lt;code&amp;gt;?theme=formal_white&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Allow users to hide blocks===&lt;br /&gt;
Allows users to display and hide blocks&lt;br /&gt;
&lt;br /&gt;
===Allow blocks to use the docks===&lt;br /&gt;
*If the theme allows it, then checking this will allow the user to move blocks to the side dock.&lt;br /&gt;
&lt;br /&gt;
===Custom menu items===&lt;br /&gt;
The custommenuitems setting allows you to create a drop down menu that can be displayed by themes that support it. Currently all themes that are provided with Moodle 2.0 support this custom menu.&lt;br /&gt;
&lt;br /&gt;
You are able to create the custom menu by entering custom menu items one per line into the setting. Each item is preceded by a number of hyphens (-), the number of hyphens determines the depth of the item. So items that are &#039;&#039;&#039;NOT&#039;&#039;&#039; preceded by a hyphen appear on the top level of the menu (always visible), items with a single hyphen appear on a drop down menu below the previous top level item, and  items with two hyphens appear on a drop down menu below the previous first level item and so on.&lt;br /&gt;
&lt;br /&gt;
The content of each item is constructed of up to three bits, each separated by a &#039;&#039;&#039;|&#039;&#039;&#039; (Shift + \) character. The bits are &#039;&#039;&#039;label&#039;&#039;&#039; | &#039;&#039;&#039;url&#039;&#039;&#039; | &#039;&#039;&#039;tooltip&#039;&#039;&#039;.&lt;br /&gt;
; label : This is the text that will be shown within the menu item. You must specify a label for every item on the menu.&lt;br /&gt;
; url : This is the URL that the user will be taken to it they click the menu item. This is optional, if not provided then the item will not link anywhere.&lt;br /&gt;
; tooltip : If you provide a URL you can also choose to provide a tooltip for the link that is created with the URL. This is optional and if not set the label is used as the tooltip for the menu item.&lt;br /&gt;
&lt;br /&gt;
The following is an example of how you would create a custom menu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Moodle community|http://moodle.org&lt;br /&gt;
-Moodle free support|http://moodle.org/support&lt;br /&gt;
-Moodle development|http://moodle.org/development&lt;br /&gt;
--Moodle Tracker|http://tracker.moodle.org&lt;br /&gt;
--Moodle Docs|https://docs.moodle.org&lt;br /&gt;
-Moodle News|http://moodle.org/news&lt;br /&gt;
Moodle company&lt;br /&gt;
-Moodle commercial hosting|http://moodle.com/hosting&lt;br /&gt;
-Moodle commercial support|http://moodle.com/support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The custom menu does not escape characters within the label, if you want to use a special HTML character such as an ampersand you must escape it yourself within the label. e.g. use &amp;amp;amp; instead of &amp;amp;.&lt;br /&gt;
&lt;br /&gt;
For more information on this setting please see the &#039;&#039;Using Moodle&#039;&#039; forum discussion [http://moodle.org/mod/forum/discuss.php?d=149803 Moodle 2.0: Custom menu in core]&lt;br /&gt;
&lt;br /&gt;
==== Multilanguage support ====&lt;br /&gt;
&lt;br /&gt;
You can add a language code (or a comma separated list of codes) as the 4th item of the line. The line will be then printed if and only if the user has currently selected the listed language. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 English only|http://moodle.com|English only item|en&lt;br /&gt;
 German only|http://moodle.de|Deutsch|de,de_du,de_kids&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Enable device detection===&lt;br /&gt;
Will detect mobile and tablets that identify themselves via the web browser at the time of login to Moodle.   These work with the theme selector.  When the theme selector has identified a default, mobile and tablet themes, this feature will use that theme.&lt;br /&gt;
&lt;br /&gt;
===Device detection regular expressions===&lt;br /&gt;
This will allow you to customize the theme selector options.   For example, you can add a custom theme for IE6 and another for Windows CE by entering the identifying expressions the browser sends and the &amp;quot;Return value&amp;quot; you want to display as the theme selectors &amp;quot;Device type&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Special themes==&lt;br /&gt;
&lt;br /&gt;
=== Session themes ===&lt;br /&gt;
Moodle offers an additional way to set a theme - the &#039;&#039;&#039;session theme&#039;&#039;&#039;. This is set with the URL and lasts until you log out. When you next login, the site/course/user themes are active again. This option is great for theme testing and works perfectly when you want to enable different themes for different situations.&lt;br /&gt;
&lt;br /&gt;
For example you can offer a special link for PDA users and integrate the session theme &#039;&#039;orangewhitepda&#039;&#039; in that link. Nobody needs to change any settings, you just click on that link. The session theme is called by the URL parameter &amp;lt;code&amp;gt;&amp;amp;theme=orangewhitepda&amp;lt;/code&amp;gt;. The whole URL  without the session theme could look like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://mymoodlesite.org/course/view.php?id=18&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and with the parameter for the PDA theme like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;http://mymoodlesite.org/course/view.php?id=18&amp;amp;theme=orangewhitepda&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In a standard Moodle installation, session themes are not active. To activate them the administrator must add the parameter &amp;lt;code&amp;gt;$CFG-&amp;gt;allowthemechangeonurl = true;&amp;lt;/code&amp;gt; to the Moodle &#039;&#039;config.php&#039;&#039; file in the Moodle base directory.&lt;br /&gt;
&lt;br /&gt;
=== Page theme ===&lt;br /&gt;
A page theme is for special page-only themes set by code.&lt;br /&gt;
&lt;br /&gt;
== Theme hierarchy ==&lt;br /&gt;
Here is the usual order that themes are considered by the Moodle interface.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px dashed #ddd&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;text-align:left&amp;quot;&lt;br /&gt;
!Theme type&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Overwrites&lt;br /&gt;
!Display&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Setting type&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Site&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;| - &lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in theme profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|User&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site theme&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in user profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site, user and session themes&lt;br /&gt;
|one course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in course profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Session&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site and user themes&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|temporary until logout&lt;br /&gt;
|}&lt;br /&gt;
(* except courses with the course theme set)&lt;br /&gt;
&lt;br /&gt;
=== Change default  hierarchy===&lt;br /&gt;
The priority of themes can be set via the /moodle/config.php file. The order defines which theme wins when there are several set at different levels. You can set a variable called $CFG-&amp;gt;themeorder (see config-dist.php for more details). By default it is set to: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$CFG-&amp;gt;themeorder = array(&#039;page&#039;, &#039;course&#039;, &#039;category&#039;, &#039;session&#039;, &#039;user&#039;, &#039;site&#039;);&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Particular theme settings==&lt;br /&gt;
&lt;br /&gt;
Logo, tagline, link colour, column width, custom CSS and other settings for a particular theme may be set by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme name&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://www.youtube.com/watch?v=mCVsJ3Wsoj8 Video demonstrating how to set a category theme in Moodle 1.9]&lt;br /&gt;
&lt;br /&gt;
[[es:Configuración de temas]]&lt;br /&gt;
[[fr:Configuration des thèmes]]&lt;br /&gt;
[[ja:テーマ設定]]&lt;br /&gt;
[[de:Design-Einstellungen]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95717</id>
		<title>Theme settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95717"/>
		<updated>2012-04-26T05:27:59Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: /* Allow theme changes in the URL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
== Theme settings ==&lt;br /&gt;
An administrator can change theme settings in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme settings&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Themesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===Theme list===&lt;br /&gt;
This lists the themes available for course and user themes. Leave this blank to allow any valid theme to be used. If you want to shorten the theme menu, you may specify a comma-separated list of names, though don&#039;t use spaces (e.g. standard,orangewhite).&lt;br /&gt;
&lt;br /&gt;
You can  preview the available themes in &#039;&#039;Settings &amp;gt; Site Administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Themes selector.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Theme designer mode===&lt;br /&gt;
Turn this on if you are designing and testing themes as it will stop the themes being cached and enable you to see theme changes quickly. (You can also do this with the Clear theme cache button on the theme selector page.)&lt;br /&gt;
&lt;br /&gt;
===Allow user themes===&lt;br /&gt;
If the option &#039;&#039;allowuserthemes&#039;&#039; is enabled, each user may select their preferred theme on the edit profile page. All Moodle pages will be displayed in the user&#039;s theme, apart from courses where a course theme has been set.&lt;br /&gt;
&lt;br /&gt;
===Allow course themes===&lt;br /&gt;
If you enable this, then teachers will be able to set their own course themes. Course themes override all other theme choices (site, user, or session themes).&lt;br /&gt;
&lt;br /&gt;
*If the option &#039;&#039;allowcoursethemes&#039;&#039; is enabled, each editing teacher may select their course theme via the Force theme option on the [[course/edit|Course settings]] page. The course will always be displayed in the theme specified in the course setting, with user and the site themes being overwritten.&lt;br /&gt;
&lt;br /&gt;
===Allow category themes===&lt;br /&gt;
When enabled, themes can be set at the category level. This will affect all child categories and courses unless they have specifically set their own theme. WARNING: Enabling category themes may affect performance. &lt;br /&gt;
&lt;br /&gt;
===Allow theme changes in the URL===&lt;br /&gt;
*If this is checked then the theme may be changed by adding &amp;lt;code&amp;gt;?theme={theme_name}&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;&amp;amp;theme=theme_name&amp;lt;/code&amp;gt; if there are other URL parameters) to the URL in the browser. Theme names should be in lower case with spaces replaced by underscores, for example the theme &amp;quot;Formal white&amp;quot; should be entered as &amp;lt;code&amp;gt;?theme=formal_white&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Allow users to hide blocks===&lt;br /&gt;
Allows users to display and hide blocks&lt;br /&gt;
&lt;br /&gt;
===Allow blocks to use the docks===&lt;br /&gt;
*If the theme allows it, then checking this will allow the user to move blocks to the side dock.&lt;br /&gt;
&lt;br /&gt;
===Custom menu items===&lt;br /&gt;
The custommenuitems setting allows you to create a drop down menu that can be displayed by themes that support it. Currently all themes that are provided with Moodle 2.0 support this custom menu.&lt;br /&gt;
&lt;br /&gt;
You are able to create the custom menu by entering custom menu items one per line into the setting. Each item is preceded by a number of hyphens (-), the number of hyphens determines the depth of the item. So items that are &#039;&#039;&#039;NOT&#039;&#039;&#039; preceded by a hyphen appear on the top level of the menu (always visible), items with a single hyphen appear on a drop down menu below the previous top level item, and  items with two hyphens appear on a drop down menu below the previous first level item and so on.&lt;br /&gt;
&lt;br /&gt;
The content of each item is constructed of up to three bits, each separated by a &#039;&#039;&#039;|&#039;&#039;&#039; (Shift + \) character. The bits are &#039;&#039;&#039;label&#039;&#039;&#039; | &#039;&#039;&#039;url&#039;&#039;&#039; | &#039;&#039;&#039;tooltip&#039;&#039;&#039;.&lt;br /&gt;
; label : This is the text that will be shown within the menu item. You must specify a label for every item on the menu.&lt;br /&gt;
; url : This is the URL that the user will be taken to it they click the menu item. This is optional, if not provided then the item will not link anywhere.&lt;br /&gt;
; tooltip : If you provide a URL you can also choose to provide a tooltip for the link that is created with the URL. This is optional and if not set the label is used as the tooltip for the menu item.&lt;br /&gt;
&lt;br /&gt;
The following is an example of how you would create a custom menu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Moodle community|http://moodle.org&lt;br /&gt;
-Moodle free support|http://moodle.org/support&lt;br /&gt;
-Moodle development|http://moodle.org/development&lt;br /&gt;
--Moodle Tracker|http://tracker.moodle.org&lt;br /&gt;
--Moodle Docs|https://docs.moodle.org&lt;br /&gt;
-Moodle News|http://moodle.org/news&lt;br /&gt;
Moodle company&lt;br /&gt;
-Moodle commercial hosting|http://moodle.com/hosting&lt;br /&gt;
-Moodle commercial support|http://moodle.com/support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The custom menu does not escape characters within the label, if you want to use a special HTML character such as an ampersand you must escape it yourself within the label. e.g. use &amp;amp;amp; instead of &amp;amp;.&lt;br /&gt;
&lt;br /&gt;
For more information on this setting please see the &#039;&#039;Using Moodle&#039;&#039; forum discussion [http://moodle.org/mod/forum/discuss.php?d=149803 Moodle 2.0: Custom menu in core]&lt;br /&gt;
&lt;br /&gt;
==== Multilanguage support ====&lt;br /&gt;
&lt;br /&gt;
You can add a language code (or a comma separated list of codes) as the 4th item of the line. The line will be then printed if and only if the user has currently selected the listed language. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 English only|http://moodle.com|English only item|en&lt;br /&gt;
 German only|http://moodle.de|Deutsch|de,de_du,de_kids&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Enable device detection===&lt;br /&gt;
Will detect mobile and tablets that identify themselves via the web browser at the time of login to Moodle.   These work with the theme selector.  When the theme selector has identified a default, mobile and tablet themes, this feature will use that theme.&lt;br /&gt;
&lt;br /&gt;
===Device detection regular expressions===&lt;br /&gt;
This will allow you to customize the theme selector options.   For example, you can add a custom theme for IE6 and another for Windows CE by entering the identifying expressions the browser sends and the &amp;quot;Return value&amp;quot; you want to display as the theme selectors &amp;quot;Device type&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Special themes==&lt;br /&gt;
&lt;br /&gt;
=== Session themes ===&lt;br /&gt;
Moodle offers an additional way to set a theme - the &#039;&#039;&#039;session theme&#039;&#039;&#039;. This is set with the URL and lasts until you log out. When you next login, the site/course/user themes are active again. This option is great for theme testing and works perfectly when you want to enable different themes for different situations.&lt;br /&gt;
&lt;br /&gt;
For example you can offer a special link for PDA users and integrate the session theme &#039;&#039;orangewhitepda&#039;&#039; in that link. Nobody needs to change any settings, you just click on that link. The session theme is called by the URL parameter &amp;lt;code&amp;gt;&amp;amp;theme=orangewhitepda&amp;lt;/code&amp;gt;. The whole URL  without the session theme could look like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://mymoodlesite.org/course/view.php?id=18&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and with the parameter for the PDA theme like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;http://mymoodlesite.org/course/view.php?id=18&amp;amp;theme=orangewhitepda&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In a standard Moodle installation, session themes are not active. To activate them the administrator must add the parameter &amp;lt;code&amp;gt;$CFG-&amp;gt;allowthemechangeonurl = true;&amp;lt;/code&amp;gt; to the Moodle &#039;&#039;config.php&#039;&#039; file in the Moodle base directory.&lt;br /&gt;
&lt;br /&gt;
=== Page theme ===&lt;br /&gt;
A page theme is for special page-only themes set by code.&lt;br /&gt;
&lt;br /&gt;
== Theme hierarchy ==&lt;br /&gt;
Here is the usual order that themes are considered by the Moodle interface.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px dashed #ddd&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;text-align:left&amp;quot;&lt;br /&gt;
!Theme type&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Overwrites&lt;br /&gt;
!Display&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Setting type&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Site&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;| - &lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in theme profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|User&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site theme&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in user profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site, user and session themes&lt;br /&gt;
|one course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in course profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Session&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site and user themes&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|temporary until logout&lt;br /&gt;
|}&lt;br /&gt;
(* except courses with the course theme set)&lt;br /&gt;
&lt;br /&gt;
=== Change default  hierarchy===&lt;br /&gt;
The priority of themes can be set via the /moodle/config.php file. The order defines which theme wins when there are several set at different levels. You can set a variable called $CFG-&amp;gt;themeorder (see config-dist.php for more details). By default it is set to: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$CFG-&amp;gt;themeorder = array(&#039;page&#039;, &#039;course&#039;, &#039;category&#039;, &#039;session&#039;, &#039;user&#039;, &#039;site&#039;);&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Particular theme settings==&lt;br /&gt;
&lt;br /&gt;
Logo, tagline, link colour, column width, custom CSS and other settings for a particular theme may be set by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme name&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://www.youtube.com/watch?v=mCVsJ3Wsoj8 Video demonstrating how to set a category theme in Moodle 1.9]&lt;br /&gt;
&lt;br /&gt;
[[es:Configuración de temas]]&lt;br /&gt;
[[fr:Configuration des thèmes]]&lt;br /&gt;
[[ja:テーマ設定]]&lt;br /&gt;
[[de:Design-Einstellungen]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95716</id>
		<title>Theme settings</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_settings&amp;diff=95716"/>
		<updated>2012-04-26T05:13:29Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding information about theme URLs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
== Theme settings ==&lt;br /&gt;
An administrator can change theme settings in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme settings&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[File:Themesettings.png]]&lt;br /&gt;
&lt;br /&gt;
===Theme list===&lt;br /&gt;
This lists the themes available for course and user themes. Leave this blank to allow any valid theme to be used. If you want to shorten the theme menu, you may specify a comma-separated list of names, though don&#039;t use spaces (e.g. standard,orangewhite).&lt;br /&gt;
&lt;br /&gt;
You can  preview the available themes in &#039;&#039;Settings &amp;gt; Site Administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Themes selector.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Theme designer mode===&lt;br /&gt;
Turn this on if you are designing and testing themes as it will stop the themes being cached and enable you to see theme changes quickly. (You can also do this with the Clear theme cache button on the theme selector page.)&lt;br /&gt;
&lt;br /&gt;
===Allow user themes===&lt;br /&gt;
If the option &#039;&#039;allowuserthemes&#039;&#039; is enabled, each user may select their preferred theme on the edit profile page. All Moodle pages will be displayed in the user&#039;s theme, apart from courses where a course theme has been set.&lt;br /&gt;
&lt;br /&gt;
===Allow course themes===&lt;br /&gt;
If you enable this, then teachers will be able to set their own course themes. Course themes override all other theme choices (site, user, or session themes).&lt;br /&gt;
&lt;br /&gt;
*If the option &#039;&#039;allowcoursethemes&#039;&#039; is enabled, each editing teacher may select their course theme via the Force theme option on the [[course/edit|Course settings]] page. The course will always be displayed in the theme specified in the course setting, with user and the site themes being overwritten.&lt;br /&gt;
&lt;br /&gt;
===Allow category themes===&lt;br /&gt;
When enabled, themes can be set at the category level. This will affect all child categories and courses unless they have specifically set their own theme. WARNING: Enabling category themes may affect performance. &lt;br /&gt;
&lt;br /&gt;
===Allow theme changes in the URL===&lt;br /&gt;
*If this is checked then the theme may be changed by adding the &amp;lt;code&amp;gt;?theme={theme_name}&amp;lt;/code&amp;gt; (or as &amp;lt;code&amp;gt;&amp;amp;theme=theme_name&amp;lt;/code&amp;gt; if there are other URL parameters) to the URL in the browser. Theme names should be in lower case with spaces replaced by underscores, for example the theme &amp;quot;Formal white&amp;quot; should be entered as &amp;lt;code&amp;gt;?theme=formal_white&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Allow users to hide blocks===&lt;br /&gt;
Allows users to display and hide blocks&lt;br /&gt;
&lt;br /&gt;
===Allow blocks to use the docks===&lt;br /&gt;
*If the theme allows it, then checking this will allow the user to move blocks to the side dock.&lt;br /&gt;
&lt;br /&gt;
===Custom menu items===&lt;br /&gt;
The custommenuitems setting allows you to create a drop down menu that can be displayed by themes that support it. Currently all themes that are provided with Moodle 2.0 support this custom menu.&lt;br /&gt;
&lt;br /&gt;
You are able to create the custom menu by entering custom menu items one per line into the setting. Each item is preceded by a number of hyphens (-), the number of hyphens determines the depth of the item. So items that are &#039;&#039;&#039;NOT&#039;&#039;&#039; preceded by a hyphen appear on the top level of the menu (always visible), items with a single hyphen appear on a drop down menu below the previous top level item, and  items with two hyphens appear on a drop down menu below the previous first level item and so on.&lt;br /&gt;
&lt;br /&gt;
The content of each item is constructed of up to three bits, each separated by a &#039;&#039;&#039;|&#039;&#039;&#039; (Shift + \) character. The bits are &#039;&#039;&#039;label&#039;&#039;&#039; | &#039;&#039;&#039;url&#039;&#039;&#039; | &#039;&#039;&#039;tooltip&#039;&#039;&#039;.&lt;br /&gt;
; label : This is the text that will be shown within the menu item. You must specify a label for every item on the menu.&lt;br /&gt;
; url : This is the URL that the user will be taken to it they click the menu item. This is optional, if not provided then the item will not link anywhere.&lt;br /&gt;
; tooltip : If you provide a URL you can also choose to provide a tooltip for the link that is created with the URL. This is optional and if not set the label is used as the tooltip for the menu item.&lt;br /&gt;
&lt;br /&gt;
The following is an example of how you would create a custom menu:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Moodle community|http://moodle.org&lt;br /&gt;
-Moodle free support|http://moodle.org/support&lt;br /&gt;
-Moodle development|http://moodle.org/development&lt;br /&gt;
--Moodle Tracker|http://tracker.moodle.org&lt;br /&gt;
--Moodle Docs|https://docs.moodle.org&lt;br /&gt;
-Moodle News|http://moodle.org/news&lt;br /&gt;
Moodle company&lt;br /&gt;
-Moodle commercial hosting|http://moodle.com/hosting&lt;br /&gt;
-Moodle commercial support|http://moodle.com/support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The custom menu does not escape characters within the label, if you want to use a special HTML character such as an ampersand you must escape it yourself within the label. e.g. use &amp;amp;amp; instead of &amp;amp;.&lt;br /&gt;
&lt;br /&gt;
For more information on this setting please see the &#039;&#039;Using Moodle&#039;&#039; forum discussion [http://moodle.org/mod/forum/discuss.php?d=149803 Moodle 2.0: Custom menu in core]&lt;br /&gt;
&lt;br /&gt;
==== Multilanguage support ====&lt;br /&gt;
&lt;br /&gt;
You can add a language code (or a comma separated list of codes) as the 4th item of the line. The line will be then printed if and only if the user has currently selected the listed language. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 English only|http://moodle.com|English only item|en&lt;br /&gt;
 German only|http://moodle.de|Deutsch|de,de_du,de_kids&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Enable device detection===&lt;br /&gt;
Will detect mobile and tablets that identify themselves via the web browser at the time of login to Moodle.   These work with the theme selector.  When the theme selector has identified a default, mobile and tablet themes, this feature will use that theme.&lt;br /&gt;
&lt;br /&gt;
===Device detection regular expressions===&lt;br /&gt;
This will allow you to customize the theme selector options.   For example, you can add a custom theme for IE6 and another for Windows CE by entering the identifying expressions the browser sends and the &amp;quot;Return value&amp;quot; you want to display as the theme selectors &amp;quot;Device type&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Special themes==&lt;br /&gt;
&lt;br /&gt;
=== Session themes ===&lt;br /&gt;
Moodle offers an additional way to set a theme - the &#039;&#039;&#039;session theme&#039;&#039;&#039;. This is set with the URL and lasts until you log out. When you next login, the site/course/user themes are active again. This option is great for theme testing and works perfectly when you want to enable different themes for different situations.&lt;br /&gt;
&lt;br /&gt;
For example you can offer a special link for PDA users and integrate the session theme &#039;&#039;orangewhitepda&#039;&#039; in that link. Nobody needs to change any settings, you just click on that link. The session theme is called by the URL parameter &amp;lt;code&amp;gt;&amp;amp;theme=orangewhitepda&amp;lt;/code&amp;gt;. The whole URL  without the session theme could look like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://mymoodlesite.org/course/view.php?id=18&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and with the parameter for the PDA theme like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;http://mymoodlesite.org/course/view.php?id=18&amp;amp;theme=orangewhitepda&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In a standard Moodle installation, session themes are not active. To activate them the administrator must add the parameter &amp;lt;code&amp;gt;$CFG-&amp;gt;allowthemechangeonurl = true;&amp;lt;/code&amp;gt; to the Moodle &#039;&#039;config.php&#039;&#039; file in the Moodle base directory.&lt;br /&gt;
&lt;br /&gt;
=== Page theme ===&lt;br /&gt;
A page theme is for special page-only themes set by code.&lt;br /&gt;
&lt;br /&gt;
== Theme hierarchy ==&lt;br /&gt;
Here is the usual order that themes are considered by the Moodle interface.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border:1px dashed #ddd&amp;quot;&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;text-align:left&amp;quot;&lt;br /&gt;
!Theme type&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Overwrites&lt;br /&gt;
!Display&lt;br /&gt;
! style=&amp;quot;background:#eee&amp;quot;|Setting type&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Site&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;| - &lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in theme profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|User&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site theme&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in user profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site, user and session themes&lt;br /&gt;
|one course&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|saved in course profile&lt;br /&gt;
|- style=&amp;quot;vertical-align:top&amp;quot;&lt;br /&gt;
|Session&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|Site and user themes&lt;br /&gt;
|all pages*&lt;br /&gt;
|style=&amp;quot;background:#eee&amp;quot;|temporary until logout&lt;br /&gt;
|}&lt;br /&gt;
(* except courses with the course theme set)&lt;br /&gt;
&lt;br /&gt;
=== Change default  hierarchy===&lt;br /&gt;
The priority of themes can be set via the /moodle/config.php file. The order defines which theme wins when there are several set at different levels. You can set a variable called $CFG-&amp;gt;themeorder (see config-dist.php for more details). By default it is set to: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$CFG-&amp;gt;themeorder = array(&#039;page&#039;, &#039;course&#039;, &#039;category&#039;, &#039;session&#039;, &#039;user&#039;, &#039;site&#039;);&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Particular theme settings==&lt;br /&gt;
&lt;br /&gt;
Logo, tagline, link colour, column width, custom CSS and other settings for a particular theme may be set by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme name&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://www.youtube.com/watch?v=mCVsJ3Wsoj8 Video demonstrating how to set a category theme in Moodle 1.9]&lt;br /&gt;
&lt;br /&gt;
[[es:Configuración de temas]]&lt;br /&gt;
[[fr:Configuration des thèmes]]&lt;br /&gt;
[[ja:テーマ設定]]&lt;br /&gt;
[[de:Design-Einstellungen]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/webdav:view&amp;diff=94907</id>
		<title>Capabilities/repository/webdav:view</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/webdav:view&amp;diff=94907"/>
		<updated>2012-01-10T01:57:21Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* This allows a user to access the [[WebDAV repository]].&lt;br /&gt;
* This capability is set to allowed (CAP_ALLOW) by default for course creators, teachers, editing teachers and managers, but not to guests or students.&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/local:view&amp;diff=94906</id>
		<title>Capabilities/repository/local:view</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/local:view&amp;diff=94906"/>
		<updated>2012-01-10T01:55:44Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* This allows a user to access the [[Server files repository]].&lt;br /&gt;
* This capability is set to allowed (CAP_ALLOW) by default for course creators, teachers, editing teachers and managers, but not to guests or students.&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/filesystem:view&amp;diff=94905</id>
		<title>Capabilities/repository/filesystem:view</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/filesystem:view&amp;diff=94905"/>
		<updated>2012-01-10T01:54:36Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* This allows a user to access the [[File system repository]].&lt;br /&gt;
* This capability is set to allowed (CAP_ALLOW) by default for course creators, teachers, editing teachers and managers, but not to guests or students.&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/coursefiles:view&amp;diff=94904</id>
		<title>Capabilities/repository/coursefiles:view</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Capabilities/repository/coursefiles:view&amp;diff=94904"/>
		<updated>2012-01-10T01:46:06Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* This allows a user to access the [[Legacy course files]] area.&lt;br /&gt;
* This capability is available in Moodle 2.0 onwards and replaces the capability moodle/course:managefiles.&lt;br /&gt;
* This capability is set to allowed (CAP_ALLOW) by default for course creators, teachers, editing teachers and managers, but not to guests or students.&lt;br /&gt;
&lt;br /&gt;
[[Category:Capabilities|Repository]]&lt;br /&gt;
[[Category:Repositories]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=WebDAV_repository&amp;diff=94903</id>
		<title>WebDAV repository</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=WebDAV_repository&amp;diff=94903"/>
		<updated>2012-01-10T01:45:15Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
Web-based Distributed Authoring and Versioning (WebDAV) is a set of methods based on the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers.&lt;br /&gt;
&lt;br /&gt;
A WebDAV repository can be enabled by a site administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage repositories&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==WebDAV configuration==&lt;br /&gt;
&lt;br /&gt;
After enabling the WebDAV repository, a repository instance can be created in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; WebDAV repository&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Webdav config.png]]&lt;br /&gt;
&lt;br /&gt;
===Options===&lt;br /&gt;
WebDAV type: Choose from HTTP or HTTPS connection&lt;br /&gt;
&lt;br /&gt;
WebDAV server: The server name &lt;br /&gt;
&lt;br /&gt;
WebDAV path: The path to webdav directory&lt;br /&gt;
&lt;br /&gt;
Authentication: We currently only support HTTP Basic Authentication&lt;br /&gt;
&lt;br /&gt;
WebDAV server port: The webdav server port&lt;br /&gt;
&lt;br /&gt;
WebDAV server user: HTTP Basic authentication username&lt;br /&gt;
&lt;br /&gt;
WebDAV server password: HTTP Basic authentication password&lt;br /&gt;
&lt;br /&gt;
For example, if you are going to added an webdav server at http://webdavserver.tld/path/to/dir, you should use following options:&lt;br /&gt;
WebDAV type: HTTP&lt;br /&gt;
WebDAV Server: webdavserver.tld&lt;br /&gt;
&lt;br /&gt;
== Configuring WebDAV on Microsoft Windows Server 2003 R2 (Service Pack 2), IIS V6.0 ==&lt;br /&gt;
&lt;br /&gt;
=== Configure Windows Server 2003 ===&lt;br /&gt;
&lt;br /&gt;
First we need to install WebDAV on the server. &#039;&#039;Note:&#039;&#039; when you promote a basic Windows Server 2003 installation to an application server, it installs various IIS 6 components but WebDAV isn’t one of them. &lt;br /&gt;
&lt;br /&gt;
==== Install and Enable WebDAV on the Server ====&lt;br /&gt;
&lt;br /&gt;
To install WebDAV on the IIS 6 machine, use Add or Remove Programs in Control Panel and run the Windows Components Wizard. You can find WebDAV under &#039;&#039;&#039;Application Server -&amp;gt; Internet Information Services -&amp;gt; World Wide Web Service -&amp;gt; WebDAV Publishing&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Once WebDAV is installed it needs to be enabled. Check the WebDAV option under the Web Service Extensions node in IIS Manager.&lt;br /&gt;
&lt;br /&gt;
=== Configure IIS ===&lt;br /&gt;
&lt;br /&gt;
Configuring a new virtual directory in IIS is a two-step process:&lt;br /&gt;
&lt;br /&gt;
#Create a new virtual directory using the Virtual Directory wizard&lt;br /&gt;
#Configure the access permissions on the new virtual directory&lt;br /&gt;
&lt;br /&gt;
==== Create New Virtual Directory ====&lt;br /&gt;
#Open IIS and right-click on your Moodle website. Select &#039;&#039;&#039;New -&amp;gt; Virtual Directory&#039;&#039;&#039;... from the pop-up menu.&amp;lt;br /&amp;gt;[[Image:New_virtual_directory.png|200 px|Menu option required for creating new virtual directory]]&lt;br /&gt;
#Select &#039;&#039;&#039;New -&amp;gt; Virtual directory...&#039;&#039;&#039; from the pop-up menu. The &#039;&#039;&#039;Create New Virtual Directory Wizard&#039;&#039;&#039; is displayed.&amp;lt;br /&amp;gt;[[Image:Wizard_intro.png|200 px|IIS Virtual Directory Creation Wizard]] &lt;br /&gt;
#Call the new virtual directory &#039;&#039;&#039;Moodledata&#039;&#039;&#039;.&amp;lt;br /&amp;gt;[[Image:Name_directory.png|200 px|alt text]]&lt;br /&gt;
#Specify the path to the Moodledata directory.&amp;lt;br /&amp;gt;[[Image:Choose_path.png|200 px|Choosing path to folder on server]]&lt;br /&gt;
#Ensure the new virtual directory has &#039;&#039;&#039;Read&#039;&#039;&#039;, &#039;&#039;&#039;Write&#039;&#039;&#039; and &#039;&#039;&#039;Browse&#039;&#039;&#039; permissions.&amp;lt;br /&amp;gt;[[Image:Directory_permissions.png|200 px|Specifying directory permissions]]&lt;br /&gt;
#Press the Finish button to create the new virtual directory.&lt;br /&gt;
&lt;br /&gt;
==== Configuring Virtual Directory Properties ====&lt;br /&gt;
&lt;br /&gt;
#Right-click on the new virtual directory and select Properties from the pop-up menu.&amp;lt;br /&amp;gt;[[Image:Check_properties.png|200 px|Checking new virtual directory properties]]&lt;br /&gt;
#Ensure that &#039;&#039;&#039;Read&#039;&#039;&#039;, &#039;&#039;&#039;Write&#039;&#039;&#039;, &#039;&#039;&#039;Directory browsing&#039;&#039;&#039;, and &#039;&#039;&#039;Log visits&#039;&#039;&#039; are checked. Ensure &#039;&#039;&#039;Index this resource&#039;&#039;&#039; is unchecked.&amp;lt;br /&amp;gt;[[Image:Properties_view.png|200 px|Virtual directory properties correctly configured]]&lt;br /&gt;
#Click on the &#039;&#039;&#039;Directory Security&#039;&#039;&#039; tab and press the &#039;&#039;&#039;Authentication and access control&#039;&#039;&#039; Edit... button&amp;lt;br /&amp;gt;[[Image:Authentication_tab.png|200 px|Directory Security authentication and access control]]&lt;br /&gt;
#Authenticated access configuration will depend on your needs. Basic access will require you to uncheck &#039;&#039;&#039;Enable anonymous access&#039;&#039;&#039; and check &#039;&#039;&#039;Basic authentication (password is sent in clear text)&#039;&#039;&#039;. You may get a warning about security:&amp;lt;br /&amp;gt;[[Image:Authentication_warn.png|200 px|Directory security warning]]&lt;br /&gt;
#Your new virtual directory is ready for testing.&amp;lt;br /&amp;gt;[[Image:Final_view.png|200 px|New virtual directory ready for use]]&lt;br /&gt;
&lt;br /&gt;
=== Testing WebDAV on Windows XP ===&lt;br /&gt;
&lt;br /&gt;
WebDAV needs to be enabled on any client machines that will be used to create and manage content for Moodle. Windows XP has a built-in WebDAV client service that needs to be enabled:&lt;br /&gt;
&lt;br /&gt;
#Open the &#039;&#039;&#039;Services&#039;&#039;&#039; console under &#039;&#039;&#039;Administrative Tools&#039;&#039;&#039; and find the &#039;&#039;&#039;WebClient&#039;&#039;&#039; service.&lt;br /&gt;
#Double-click on this service to open its &#039;&#039;&#039;Properties&#039;&#039;&#039; sheet.&lt;br /&gt;
#Change the &#039;&#039;&#039;Startup Type&#039;&#039;&#039; to &#039;&#039;Automatic&#039;&#039;, then click the Start button to start the service.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note:&#039;&#039; Internet Explorer 8.0 no longer supports web folders. See [http://blogs.msdn.com/b/askie/archive/2009/03/20/open-as-web-folder-not-in-the-internet-explorer-8-file-open-dialog.aspx this blog post from David Conner] for details. Instead, you will need to map a network drive (instructions on mapping a network drive are also given in David&#039;s blog post).&lt;br /&gt;
&lt;br /&gt;
WebDAV path: /path/to/dir/&lt;br /&gt;
&lt;br /&gt;
==Repository permissions==&lt;br /&gt;
&lt;br /&gt;
This repository is accessible by default to administrators, course creators, teachers, editing teachers and managers, but not to guests or students. This [[Capabilities/repository/webdav:view|capability]] can be changed to control access to users with specific roles.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* MDL-22663&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
[[de:WebDAV Repository]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Server_files_repository&amp;diff=94902</id>
		<title>Server files repository</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Server_files_repository&amp;diff=94902"/>
		<updated>2012-01-10T01:43:17Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}The server repository allows users with the correct permissions to see files on the server.  This might mean only files and folders in the context of the current course, or access to a file system that will allow them to use other courses files.&lt;br /&gt;
&lt;br /&gt;
To access any repository, click on it.&lt;br /&gt;
&lt;br /&gt;
[[File:File_Picker_blank_course.png|thumb|300px|center|A new course, with arrow point to  Server files repository]]&lt;br /&gt;
&lt;br /&gt;
Below is an example of drilling down.  The breadcrumb path has built in links to the level it represents.  In the example below, click on &amp;quot;English&amp;quot; and you will see folders representing all the courses in the English category at demo.moodle.org .&lt;br /&gt;
[[Image:File_Picker_demo_moodle_legacy_files.png|center|Server files after drilling down in demo.moodle.org]]&lt;br /&gt;
&lt;br /&gt;
==Repository permissions==&lt;br /&gt;
&lt;br /&gt;
This repository is accessible by default to administrators, course creators, teachers, editing teachers and managers, but not to guests or students. This [[Capabilities/repository/local:view|capability]] can be changed to control access to users with specific roles.&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=File_system_repository&amp;diff=94901</id>
		<title>File system repository</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=File_system_repository&amp;diff=94901"/>
		<updated>2012-01-10T01:41:49Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
The file system repository allows users within Moodle to access files which have been uploaded via FTP into designated folders on the server.  A file system repository may be available site wide for everyone; within an individual course or for an individual user.(However - see this [http://tracker.moodle.org/browse/MDL-28656  tracker entry] regarding course and individual repositories)&lt;br /&gt;
&lt;br /&gt;
This must be done by a systems admin who  has write permissions to the server directories.&lt;br /&gt;
&lt;br /&gt;
=== Creating  folders for your file system repositories===&lt;br /&gt;
*Find the moodledata folder on the server&lt;br /&gt;
*Inside it, create a folder  called &amp;quot;repository&amp;quot;&lt;br /&gt;
*Inside that folder, create as many folders as you need, named appropriately.&lt;br /&gt;
[[File:Moodledatarepo2.png]]&lt;br /&gt;
*FTP into the appropriate folder the files you want. (The folders can hold all types of files)&lt;br /&gt;
&lt;br /&gt;
=== Enabling the File System repository plugin===&lt;br /&gt;
&lt;br /&gt;
*Go to &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage Repositories&#039;&#039;; &lt;br /&gt;
*Select from the drop down next to File sytem &amp;quot;Enabled and visible&amp;quot;&lt;br /&gt;
[[File:Filesystemrepo.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setting up a site-wide file system repository===&lt;br /&gt;
*Once the repository is enabled as above, click on the  &amp;quot;Settings&amp;quot; link to the right.&lt;br /&gt;
*Scroll down to Repositories instances of the site&lt;br /&gt;
*Click Create a repository instance&lt;br /&gt;
[[File:Sitefilesystemrepo.png]]&lt;br /&gt;
*Give it a name and (if there are several folders on the server) choose from the dropdown the one you want. Click save&lt;br /&gt;
[[File:Namedfilesystem.png]]&lt;br /&gt;
*It will now be available in the file picker in all courses.&lt;br /&gt;
&#039;&#039;NOTE: Just repeat the process to get more than one site wide file system repository&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Setting up a repository inside a course===&lt;br /&gt;
&#039;&#039;NOTE:  A regular user needs to have been given permission to do this by admin (MORE DETAILS SOON)&#039;&#039;&lt;br /&gt;
*Go to the desired course and click on “repositories” in the administration block&lt;br /&gt;
*Scroll down and click &amp;quot;Create File System instance&amp;quot;&lt;br /&gt;
[[File:Courseinstance.png]]&lt;br /&gt;
*Follow the same process as [[#Setting_up_a_site-wide_file_system_repository|here]]&lt;br /&gt;
&lt;br /&gt;
===Setting up an individual file system repository instance===&lt;br /&gt;
&#039;&#039;NOTE: A regular user needs to have been given permission to do this by admin (MORE DETAILS SOON)&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
*In the navigation block, click on “my profile”&lt;br /&gt;
*Click on “repositories”&lt;br /&gt;
*Scroll down and click “create File System instance”&lt;br /&gt;
*Follow the same process as [[#Setting_up_a_site-wide_file_system_repository|here]]&lt;br /&gt;
*This will create a personal file system repository connecting just you to a folder on the server.&lt;br /&gt;
[[File:Privaterepo2.png]]&lt;br /&gt;
&lt;br /&gt;
===Using it===&lt;br /&gt;
If you try to add a file in Moodle, then the File Picker should show you your new file system repository, and you should be able to browse it and select files to use.  &lt;br /&gt;
&lt;br /&gt;
Note that file types are respected (based on file extensions), so if you are adding an image in the editor, then you won&#039;t see Office docs (for example) appear in the File Picker.&lt;br /&gt;
&lt;br /&gt;
[[File:Filesystemeg.png]]&lt;br /&gt;
&lt;br /&gt;
==Repository permissions==&lt;br /&gt;
&lt;br /&gt;
This repository is accessible by default to administrators, course creators, teachers, editing teachers and managers, but not to guests or students. This [[Capabilities/repository/filesystem:view|capability]] can be changed to control access to users with specific roles.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[File_system_repository_FAQ|File system repository FAQ]]&lt;br /&gt;
* Overview of [[Repositories|Repositories]]&lt;br /&gt;
* [http://www.somerandomthoughts.com/blog/2010/06/15/ftp-files-into-moodle-2-0-with-the-repository-api/ FTP files into Moodle 2.0 with the repository API article from somerandomthoughts.com] including screencast&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
[[de:Dateisystem-Repository]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Legacy_course_files&amp;diff=94900</id>
		<title>Legacy course files</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Legacy_course_files&amp;diff=94900"/>
		<updated>2012-01-10T01:38:49Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;Note: This page only applies to sites which have been upgraded from Moodle 1.9.&amp;lt;/p&amp;gt;&lt;br /&gt;
In Moodle 2.0 onwards, files are stored in separate areas, rather than together in the course files area. See [[Course files]] for a detailed explanation. When a site is upgraded from 1.9, the course files area is renamed &#039;Legacy course files&#039;. By default, this area is not available in new courses.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;It is recommended that teachers make use of the new [[Repositories|repositories]] in Moodle 2.0 for storing course files, rather than saving them in the legacy course files area&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Enabling legacy course files areas==&lt;br /&gt;
&lt;br /&gt;
To enable a legacy course files area in a new course&lt;br /&gt;
&lt;br /&gt;
# Enable the legacy course files repository plugin in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; [[Manage repositories]]&#039;&#039;.&lt;br /&gt;
# Check the legacyfilesinnewcourses box in the Manage repositories common settings then click the &#039;Save changes&#039; button.&lt;br /&gt;
# Set &#039;Legacy course files&#039; to Yes in the course settings.&lt;br /&gt;
&lt;br /&gt;
A legacy course files link will then appear in the &#039;&#039;Settings &amp;gt; Course administration&#039;&#039; area.&lt;br /&gt;
&lt;br /&gt;
==Repository permissions==&lt;br /&gt;
&lt;br /&gt;
This repository is accessible by default to administrators, course creators, teachers, editing teachers and managers, but not to guests or students. This [[Capabilities/repository/coursefiles:view|capability]] can be changed to control access to users with specific roles.&lt;br /&gt;
&lt;br /&gt;
[[ja: レガシーコースファイル]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Managing_repositories&amp;diff=94899</id>
		<title>Managing repositories</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Managing_repositories&amp;diff=94899"/>
		<updated>2012-01-10T01:36:51Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding repository capability default information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
==Enabling repositories==&lt;br /&gt;
&lt;br /&gt;
Repositories can be enabled by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage repositories&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
A repository plugin may be set to&lt;br /&gt;
&lt;br /&gt;
* Enabled and visible - appears in the file picker&lt;br /&gt;
* Enabled and hidden&lt;br /&gt;
* Disabled - default setting&lt;br /&gt;
&lt;br /&gt;
The order in which repositories are shown in the file picker may be set using the up and down arrows.&lt;br /&gt;
&lt;br /&gt;
==Vocabulary==&lt;br /&gt;
&#039;&#039;&#039;Repository plugin&#039;&#039;&#039;: it is also called a repository type. It can be named Box.net, Flickr, Mahara, Youtube... Adding a plugin allow users to create instances of this plugin. Only instances are displayed into the file picker. Type only exist in order to let a Moodle administrator to deactivate/delete all instances of a type in one click.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Repository instance&#039;&#039;&#039;: An instance is displayed into the file picker and it is the access point to an external repository. An instance can have specific settings (for example be linked to a personal account).&lt;br /&gt;
 &lt;br /&gt;
*First case: when you add the plugin, an instance is automatically created and can not be edited. The Moodle administrator cannot change the instance name. The instance name displayed into the file picker will be exactly the same as the plugin name. For example Youtube, Box.net...&lt;br /&gt;
*Second case: the plugin allow the Moodle administrator to add multiple instances. An instance has a name for example Flickr Public access to Martin account, Martin&#039;s Mahara... &amp;lt;br/&amp;gt;For this second case it is important to identify two different kind of instances:&lt;br /&gt;
#Common instances: The instances set by Moodle administrator in these same administration pages will be available into any file picker.&lt;br /&gt;
#Private instance: A teacher can set some instances available only for a course, and an user can set some instances only available for himself. In order to set instances for a course the teacher will go to the course page, and in order to set instances for a personal use, a user will go on his profile page. An administrator cannot add/edit private instances from the administration pages.&lt;br /&gt;
&lt;br /&gt;
==Common repository settings==&lt;br /&gt;
&lt;br /&gt;
Common repository settings can be set by an administrator in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Common Repository settings&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
===Cache Expire===&lt;br /&gt;
&lt;br /&gt;
You can specify how long in seconds file listings are cached locally when browsing external repositories.&lt;br /&gt;
&lt;br /&gt;
===Allow external links===&lt;br /&gt;
&lt;br /&gt;
With some repositories such as Flickr, users can have the choice whether to copy the media into Moodle (the preferred solution) or to make a link to it instead.&lt;br /&gt;
&lt;br /&gt;
===Legacy course files in new courses===&lt;br /&gt;
&lt;br /&gt;
This repository is not normally available in new courses as it is designed for upgraded 1.9 courses. However, if it is checked here then it will appear when new courses are created - but certain backup and restore features won&#039;t work with it. See [[Legacy course files]] for more details.&lt;br /&gt;
&lt;br /&gt;
==Repositories and capabilities==&lt;br /&gt;
&lt;br /&gt;
Each repository plugin has a [[Roles and permissions|capability]] to control user access. This can be controlled for users of differing [[Roles and permissions|roles]]. Most, repositories distributed with Moodle are accessible to all roles, except the following repositories, which by default are accessible to administrators, course creators, teachers, editing teachers and managers, but not to guests or students.&lt;br /&gt;
&lt;br /&gt;
* [[Capabilities/repository/coursefiles:view|Legacy course files]]&lt;br /&gt;
* [[Capabilities/repository/filesystem:view|File system]]&lt;br /&gt;
* [[Capabilities/repository/local:view|Server files]]&lt;br /&gt;
* [[Capabilities/repository/webdav:view|WebDAV repository]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Database_presets&amp;diff=93417</id>
		<title>Database presets</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Database_presets&amp;diff=93417"/>
		<updated>2011-11-04T09:02:45Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Adding to a top level category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Database}}&lt;br /&gt;
{{Update}}&lt;br /&gt;
To avoid the necessity of always having to create a new database from scratch, the database activity module has a presets feature. An image gallery preset is currently included in the database module to help get you started. You can create your own presets as well and share them with others.&lt;br /&gt;
&lt;br /&gt;
==Importing a preset==&lt;br /&gt;
&lt;br /&gt;
[[Image:Database preset.png|thumb|Database presets page]]&lt;br /&gt;
To use a preset:&lt;br /&gt;
&lt;br /&gt;
# On the database page, click the Presets tab.&lt;br /&gt;
# The usual way to import a preset is clicking the &amp;quot;Choose file&amp;quot; button and browsing to the ZIP file containing the preset (eg. &amp;quot;preset.zip&amp;quot;) stored on the server. If there does not yet exist a preset ZIP file on the server, upload it from your local machine. Choose the desired preset file by clicking on its action &amp;quot;Choose&amp;quot;. Finally, press the &amp;quot;Import&amp;quot; button.&lt;br /&gt;
# Alternatively, you can choose a previously loaded preset.&lt;br /&gt;
# After the import, you can start to add or import entries. All the hard work of setting up the fields and templates has been done for you. If you desire, you can still customize the fields and templates.&lt;br /&gt;
&lt;br /&gt;
You will see a &amp;quot;Overwrite current settings&amp;quot; checkbox after the &amp;quot;Import&amp;quot; button has been pressed. If checked, the database activity overwrites some of its current general settings by those stored in the preset:&lt;br /&gt;
* the &amp;quot;Introduction&amp;quot; HTML text&lt;br /&gt;
* &amp;quot;Required entries&amp;quot;&lt;br /&gt;
* &amp;quot;Entries required before viewing&amp;quot;&lt;br /&gt;
* &amp;quot;Maximum entries&amp;quot;&lt;br /&gt;
* &amp;quot;Comments&amp;quot;&lt;br /&gt;
* &amp;quot;Require approval?&amp;quot;&lt;br /&gt;
* rssarticles&lt;br /&gt;
&lt;br /&gt;
==Exporting a preset==&lt;br /&gt;
&lt;br /&gt;
If you wish to share your database presets with others, you have two options:&lt;br /&gt;
&lt;br /&gt;
#Export as a ZIP file, which can then be imported to another course or Moodle site.&lt;br /&gt;
#Save as a preset, which publishes the database for other teachers on your site to use. It will then appear in the preset list. (You can delete it from the list at any time.)&lt;br /&gt;
&lt;br /&gt;
Note: Only the fields and templates of the database are copied when exporting or saving it as a preset, not the entries.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?id=7303 Database for Databases]&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=84050 Can&#039;t get columns to line up in list view] including moodle.org presets for download&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=87005 New preset, please review, and make suggestions!] including FAQ preset for download&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=87560 Issue 53: Encyclopedia database preset] including encyclopedia-style preset for download&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=88727 Issue 51 - Design a Database Preset for Document Sharing] including preset for download&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=94854#p457252 Looking for some stellar examples of Moodle courses] including book reviews preset for download&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=89117#p511029 Restricting access to database content by user?] with research diary preset for download&lt;br /&gt;
&lt;br /&gt;
[[de:Vorlagensätze]]&lt;br /&gt;
[[fr:Préréglages]]&lt;br /&gt;
[[ja:プリセット]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Plugins]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=MediaWiki:Copyrightwarning&amp;diff=90677</id>
		<title>MediaWiki:Copyrightwarning</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=MediaWiki:Copyrightwarning&amp;diff=90677"/>
		<updated>2011-09-29T07:18:48Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please note that all contributions to Moodle Docs are considered to be released under the [[:dev:License|GNU General Public License]]. If you don&#039;t want your writing to be edited and redistributed at will, then don&#039;t submit it here.&amp;lt;br /&amp;gt;&lt;br /&gt;
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.&lt;br /&gt;
&amp;lt;strong&amp;gt;DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!&amp;lt;/strong&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Wiki_development&amp;diff=90012</id>
		<title>Wiki development</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Wiki_development&amp;diff=90012"/>
		<updated>2011-09-21T08:12:53Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Development_FAQ&amp;diff=90008</id>
		<title>Development FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Development_FAQ&amp;diff=90008"/>
		<updated>2011-09-21T06:47:50Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Testing_credits&amp;diff=89595</id>
		<title>Testing credits</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Testing_credits&amp;diff=89595"/>
		<updated>2011-09-15T08:42:03Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Quality_assurance&amp;diff=89594</id>
		<title>Quality assurance</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Quality_assurance&amp;diff=89594"/>
		<updated>2011-09-15T08:41:53Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=GSOC/2011&amp;diff=89574</id>
		<title>GSOC/2011</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=GSOC/2011&amp;diff=89574"/>
		<updated>2011-09-15T03:24:54Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=GSOC_expectations&amp;diff=89570</id>
		<title>GSOC expectations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=GSOC_expectations&amp;diff=89570"/>
		<updated>2011-09-15T02:17:47Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=GSOC_Useful_Links&amp;diff=89569</id>
		<title>GSOC Useful Links</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=GSOC_Useful_Links&amp;diff=89569"/>
		<updated>2011-09-15T02:16:22Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=GSOC&amp;diff=89568</id>
		<title>GSOC</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=GSOC&amp;diff=89568"/>
		<updated>2011-09-15T02:01:28Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Applying_to_work_with_Moodle_for_GSOC&amp;diff=89529</id>
		<title>Applying to work with Moodle for GSOC</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Applying_to_work_with_Moodle_for_GSOC&amp;diff=89529"/>
		<updated>2011-09-14T08:49:26Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Question_tests&amp;diff=89528</id>
		<title>Question tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Question_tests&amp;diff=89528"/>
		<updated>2011-09-14T08:44:39Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Portfolio_tests&amp;diff=89527</id>
		<title>Portfolio tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Portfolio_tests&amp;diff=89527"/>
		<updated>2011-09-14T08:37:00Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Messaging_tests&amp;diff=89526</id>
		<title>Messaging tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Messaging_tests&amp;diff=89526"/>
		<updated>2011-09-14T08:34:48Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Course_administration_tests&amp;diff=89524</id>
		<title>Course administration tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Course_administration_tests&amp;diff=89524"/>
		<updated>2011-09-14T08:27:54Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Community_hub_tests&amp;diff=89523</id>
		<title>Community hub tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Community_hub_tests&amp;diff=89523"/>
		<updated>2011-09-14T08:24:32Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Activity_module_tests&amp;diff=89522</id>
		<title>Activity module tests</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Activity_module_tests&amp;diff=89522"/>
		<updated>2011-09-14T08:23:14Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=GSOC/2011&amp;diff=89066</id>
		<title>GSOC/2011</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=GSOC/2011&amp;diff=89066"/>
		<updated>2011-09-02T08:24:18Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: /* Moodle flavours */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:gsoc2011 logo.png|right]]This evolving page provides an overview of the Google Summer of Code 2011 projects for Moodle.&lt;br /&gt;
&lt;br /&gt;
==Improving SCORM reporting==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Student&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=1310725&amp;amp;course=5 Ankit Kumar Agarwal]&lt;br /&gt;
:&#039;&#039;&#039;Mentor&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=21591&amp;amp;course=5 Dan Marsden]&lt;br /&gt;
:&#039;&#039;&#039;Specification&#039;&#039;&#039;: [[Development:SCORM reporting improvements]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* MDL-27256&lt;br /&gt;
* Developer blog [http://ankitkumaragarwal.com/ Ankit Kumar Agarwal]&lt;br /&gt;
&lt;br /&gt;
==Moodle flavours==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Student&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=122326&amp;amp;course=5 David Monllaó]&lt;br /&gt;
:&#039;&#039;&#039;Mentor&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=381842&amp;amp;course=5 Michael de Raadt]&lt;br /&gt;
:&#039;&#039;&#039;Specification&#039;&#039;&#039;: [[Development:Moodle flavours]]&lt;br /&gt;
:&#039;&#039;&#039;Download&#039;&#039;&#039;: [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=5036 Flavours on M&amp;amp;P]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* Developer blog [http://moodle.org/blog/index.php?userid=122326 David&#039;s moodle.org blog]&lt;br /&gt;
* Mentor blog [http://salvetore.wordpress.com/2011/09/02/moodle-has-flavours/ Michael&#039;s entry about Flavours]&lt;br /&gt;
&lt;br /&gt;
==SCORM Test Harness==&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Student&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=1277285&amp;amp;course=5 Mayank Gupta]&lt;br /&gt;
:&#039;&#039;&#039;Mentor&#039;&#039;&#039;: [http://moodle.org/user/view.php?id=21591&amp;amp;course=5 Dan Marsden]&lt;br /&gt;
:&#039;&#039;&#039;Specification&#039;&#039;&#039;: [[Development:SCORM Test Harness]]&lt;br /&gt;
&lt;br /&gt;
See also:&lt;br /&gt;
* MDL-26912&lt;br /&gt;
* Developer blog [http://mayankgupta.beakkon.com/ # Mayank Gupta]&lt;br /&gt;
&lt;br /&gt;
[[Category:GSOC]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=QA_testing&amp;diff=86594</id>
		<title>QA testing</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=QA_testing&amp;diff=86594"/>
		<updated>2011-07-28T02:51:53Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Obsolete:How_Moodle_outputs_HTML&amp;diff=86497</id>
		<title>Obsolete:How Moodle outputs HTML</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Obsolete:How_Moodle_outputs_HTML&amp;diff=86497"/>
		<updated>2011-07-27T08:48:09Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[:dev:How Moodle outputs HTML]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Creating_a_custom_theme&amp;diff=85630</id>
		<title>Creating a custom theme</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Creating_a_custom_theme&amp;diff=85630"/>
		<updated>2011-07-05T08:10:24Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Template:Themes&amp;diff=85629</id>
		<title>Template:Themes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Template:Themes&amp;diff=85629"/>
		<updated>2011-07-05T08:09:44Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Dividing theme info between user and dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;sideblock right&amp;quot; style=&amp;quot;width: 16em;&amp;quot;&amp;gt;	&lt;br /&gt;
&amp;lt;div class=&amp;quot;header&amp;quot;&amp;gt;[[Themes]]&amp;lt;/div&amp;gt;	&lt;br /&gt;
&amp;lt;div class=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
* [[Theme settings]]&lt;br /&gt;
* [[Standard themes]]&lt;br /&gt;
* [[:dev:Themes_2.0|Creating a custom theme]]&lt;br /&gt;
* [[:dev:Theme_development|Theme development]]&lt;br /&gt;
&lt;br /&gt;
{{Customising appearance}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Themes]]&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;This template will categorize articles that include it into [[:Category:Themes]].&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Themes&amp;diff=85628</id>
		<title>Themes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Themes&amp;diff=85628"/>
		<updated>2011-07-05T07:59:06Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
&lt;br /&gt;
A Moodle theme is a pre-designed user &amp;quot;view&amp;quot; (interface) that can be changed by the site administrator, teacher, or student.  While robust, it does not affect how Moodle functions, just how it looks.  Moodle comes with a standard set of themes and there is a [http://moodle.org/mod/data/view.php?id=6552  large free library] available to download. &lt;br /&gt;
&lt;br /&gt;
==Moodle themes==&lt;br /&gt;
&lt;br /&gt;
Themes may be [[Theme settings|selected]] at site level, course level and/or user level as long as the Moodle site has been configured to allow changes at these levels.&lt;br /&gt;
&lt;br /&gt;
== Installing a theme ==&lt;br /&gt;
&lt;br /&gt;
To install a theme:&lt;br /&gt;
# Unzip the .zip file to an empty local directory.&lt;br /&gt;
# Upload folder to your web server to the /moodle/theme/[Theme Name]. (Replace [Theme Name] with the name of the theme you have downloaded.) Ensure the new theme folder and its contents are readable by the webserver.  Change Read and Write permissions (CHMOD) for the files and folder to 755 - Owner read/write/execute, Group read/execute, Everyone read/execute.  Incorrect permissions may prevent display of the newly installed theme.&lt;br /&gt;
# Choose your new theme from within Moodle via &#039;&#039;Administration &amp;gt; Appearance &amp;gt; Themes &amp;gt; Theme selector&#039;&#039; (version 1.7+) or &#039;&#039;Administration &amp;gt; Configuration &amp;gt; Themes&#039;&#039; (older versions).&lt;br /&gt;
&lt;br /&gt;
See [[Installing a new theme]] for more information.&lt;br /&gt;
&lt;br /&gt;
==Themes in standard install==&lt;br /&gt;
&lt;br /&gt;
Themes included in Moodle 1.9 are [[Chameleon theme|chameleon]], cornflower, [[Custom corners theme|custom corners]], formal white, metal, oceanblue, orangewhite, orangewhitepda, standard (default), standardblue, standardgreen, standardlogo, standardred, standardwhite, wood.  See [[Standard themes]] for screen shots of each.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [http://www.youtube.com/watch?v=pPUB_ReBPeg Installing 3rd Party Modules and Themes in Moodle video]&lt;br /&gt;
* [[Themes FAQ]]&lt;br /&gt;
* [[:dev:Theme_development|Theme development]]&lt;br /&gt;
&lt;br /&gt;
[[es:Temas]]&lt;br /&gt;
[[eu:Itxurak]]&lt;br /&gt;
[[de:Designs]]&lt;br /&gt;
[[fr:Thèmes]]&lt;br /&gt;
[[ja:テーマ]]&lt;br /&gt;
[[pt:Temas]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Release_Notes&amp;diff=85571</id>
		<title>Release Notes</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Release_Notes&amp;diff=85571"/>
		<updated>2011-07-01T05:52:23Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Redirected page to dev:Latest release notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[:dev:Latest release notes]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Web_Services_API&amp;diff=85462</id>
		<title>Web Services API</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Web_Services_API&amp;diff=85462"/>
		<updated>2011-06-23T02:22:08Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Shifted to dev docs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=CSS_FAQ&amp;diff=85461</id>
		<title>CSS FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=CSS_FAQ&amp;diff=85461"/>
		<updated>2011-06-23T02:05:10Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_scrapbook&amp;diff=85460</id>
		<title>Theme scrapbook</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_scrapbook&amp;diff=85460"/>
		<updated>2011-06-23T01:40:45Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Alternate_icon_set&amp;diff=85458</id>
		<title>Alternate icon set</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Alternate_icon_set&amp;diff=85458"/>
		<updated>2011-06-23T01:37:11Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85457</id>
		<title>Theme directory</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85457"/>
		<updated>2011-06-23T01:33:30Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Fixing links to dev pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
In the standard Moodle distribution, all themes are placed in the theme/ directory.&lt;br /&gt;
&lt;br /&gt;
From version 1.7, moodle will support changing the location which themes are stored in and used with the theme selector.&lt;br /&gt;
&lt;br /&gt;
More information about the content of a typical theme directory/folder can be found in [[:dev:Theme_basics#What_is_inside_a_theme_folder.3F|Theme basics]]&lt;br /&gt;
&lt;br /&gt;
== Change themes default directory for site ==&lt;br /&gt;
{{Moodle 1.7}}&lt;br /&gt;
Starting from Moodle 1.7, the storage location of themes may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Theme directory for Developers ==&lt;br /&gt;
&lt;br /&gt;
Developers should follow the [[:dev:Theme directory guide|Theme directory guide]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=20152 Feature request: Themes path in a VAR]&lt;br /&gt;
*Moodle Tracker [http://tracker.moodle.org/browse/MDL-6784 MDL-6784]  &lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Themes]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Dossier de thèmes]]&lt;br /&gt;
[[ja:テーマディレクトリ]]&lt;br /&gt;
[[de:Design-Verzeichnis]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85456</id>
		<title>Theme directory</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85456"/>
		<updated>2011-06-23T01:33:05Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Fixing links to dev pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
In the standard Moodle distribution, all themes are placed in the theme/ directory.&lt;br /&gt;
&lt;br /&gt;
From version 1.7, moodle will support changing the location which themes are stored in and used with the theme selector.&lt;br /&gt;
&lt;br /&gt;
More information about the content of a typical theme directory/folder can be found in [[:dev:Theme_basics#What_is_inside_a_theme_folder.3F|Theme basics]]&lt;br /&gt;
&lt;br /&gt;
== Change themes default directory for site ==&lt;br /&gt;
{{Moodle 1.7}}&lt;br /&gt;
Starting from Moodle 1.7, the storage location of themes may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Theme directory for Developers ==&lt;br /&gt;
&lt;br /&gt;
Developers should follow the [[:dev:Theme directory guide]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=20152 Feature request: Themes path in a VAR]&lt;br /&gt;
*Moodle Tracker [http://tracker.moodle.org/browse/MDL-6784 MDL-6784]  &lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Themes]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Dossier de thèmes]]&lt;br /&gt;
[[ja:テーマディレクトリ]]&lt;br /&gt;
[[de:Design-Verzeichnis]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85455</id>
		<title>Theme directory</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_directory&amp;diff=85455"/>
		<updated>2011-06-23T01:32:12Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Themes}}&lt;br /&gt;
In the standard Moodle distribution, all themes are placed in the theme/ directory.&lt;br /&gt;
&lt;br /&gt;
From version 1.7, moodle will support changing the location which themes are stored in and used with the theme selector.&lt;br /&gt;
&lt;br /&gt;
More information about the content of a typical theme directory/folder can be found in [[:dev:Theme_basics#What_is_inside_a_theme_folder.3F|Theme basics]]&lt;br /&gt;
&lt;br /&gt;
== Change themes default directory for site ==&lt;br /&gt;
{{Moodle 1.7}}&lt;br /&gt;
Starting from Moodle 1.7, the storage location of themes may be altered, using the variables &#039;&#039;$CFG-&amp;gt;themewww&#039;&#039; and &#039;&#039;$CFG-&amp;gt;themedir&#039;&#039;. Themes from placed in the directory specified by these variables will then be available for selection using the theme selector.&lt;br /&gt;
&lt;br /&gt;
For example, should you wish to place themes in a subdirectory called &#039;my_moodle_themes&#039;, your config.php might look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$CFG-&amp;gt;wwwroot   = &#039;http://my.moodle.site.edu&#039;;&lt;br /&gt;
$CFG-&amp;gt;dirroot   = &#039;/var/www/my.moodle.site.edu/public_html&#039;;&lt;br /&gt;
$CFG-&amp;gt;themewww  = $CFG-&amp;gt;wwwroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
$CFG-&amp;gt;themedir  = $CFG-&amp;gt;dirroot . &#039;/my_moodle_themes&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Theme directory for Developers ==&lt;br /&gt;
&lt;br /&gt;
Developers should follow the [[Theme directory guide]]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=20152 Feature request: Themes path in a VAR]&lt;br /&gt;
*Moodle Tracker [http://tracker.moodle.org/browse/MDL-6784 MDL-6784]  &lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Themes]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Dossier de thèmes]]&lt;br /&gt;
[[ja:テーマディレクトリ]]&lt;br /&gt;
[[de:Design-Verzeichnis]]&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_config_file&amp;diff=85454</id>
		<title>Theme config file</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_config_file&amp;diff=85454"/>
		<updated>2011-06-23T01:29:13Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/21/en/index.php?title=Theme_reference&amp;diff=85452</id>
		<title>Theme reference</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/21/en/index.php?title=Theme_reference&amp;diff=85452"/>
		<updated>2011-06-23T01:24:18Z</updated>

		<summary type="html">&lt;p&gt;Deraadt: Replaced content with &amp;quot;{{Moved_to_dev_docs}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moved_to_dev_docs}}&lt;/div&gt;</summary>
		<author><name>Deraadt</name></author>
	</entry>
</feed>