<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/502/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gmads</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/502/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gmads"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/Special:Contributions/Gmads"/>
	<updated>2026-04-18T00:59:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Google_OAuth_2.0_setup&amp;diff=115243</id>
		<title>Google OAuth 2.0 setup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Google_OAuth_2.0_setup&amp;diff=115243"/>
		<updated>2014-10-15T18:25:15Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Registering with Google */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
&#039;&#039;Note: This page contains information for site administrators only.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Registering with Google==&lt;br /&gt;
&lt;br /&gt;
Each Moodle site  needs to be registered with Google in order to use the Google Drive, Docs or Picasa plugins. As part of the registration process, you will need to enter a URL (something like &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/oauth2callback.php&amp;lt;/nowiki&amp;gt;) which is provided on all Google Drive, Docs and Picasa plugins configuration pages in Moodle e.g. &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Google Drive&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
1) Visit the [https://console.developers.google.com/ Google Developers Console] (previously, the [https://cloud.google.com/console/project#access Google Cloud APIs Console], or the [https://code.google.com/apis/console#access Google APIs Console]) and sign into your google account.&lt;br /&gt;
2) If it is your first time you will be asked to create a project:&lt;br /&gt;
[[File:01g.png|center|thumb|400px]]&lt;br /&gt;
3) Give your project a name&lt;br /&gt;
[[File:02g.png|thumb|center|400px]]&lt;br /&gt;
4) If not already enabled, the Google Drive API needs enabling. Click &amp;quot;Enable an API&amp;quot;:&lt;br /&gt;
[[File:03g.png|thumb|center|400px]]&lt;br /&gt;
5) Change Drive API to &amp;quot;On&amp;quot;:&lt;br /&gt;
[[File:04g.png|thumb|center|400px]]&lt;br /&gt;
6) From the left menu, click &amp;quot;Credentials&amp;quot;:&lt;br /&gt;
[[File:05g.png|thumb|center|400px]]&lt;br /&gt;
7) In the OAuth block, click &amp;quot;Create  new client ID&amp;quot;&lt;br /&gt;
[[File:06g.png|thumb|center|400px]]&lt;br /&gt;
8) Leave the Javascript redirect blank and add the redirect URL you have from &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Google Drive&#039;&#039; and then click &amp;quot;Create client ID&amp;quot;.You can also enter your branding details here.&lt;br /&gt;
[[File:08g.png|thumb|center|400px]]&lt;br /&gt;
9) Go to the Consent Screen and enter an Email address and a Product name:&lt;br /&gt;
[[File:google-oa2-consent-screen.png|thumb|center|400px]]&lt;br /&gt;
10) On your set up page enter the ID and secret you got at step 8:&lt;br /&gt;
[[File:09g.png|thumb|center|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tip: If you have more than one Moodle site to register with Google, you can add an authorized redirect URI for each site in step 8. The same name and logo would then be displayed on the authorisation screen for each Moodle site.&lt;br /&gt;
&lt;br /&gt;
==Configuring the Google Drive and Picasa repositories==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage Repositories&#039;&#039;&lt;br /&gt;
# Activate the Google Drive and/or Picasa repositories by selecting &#039;Enable and visible&#039; in the dropdown menu&lt;br /&gt;
# Configure each repository by entering the client ID and secret. Make sure you don&#039;t include any white space in the text boxes!&lt;br /&gt;
# Save changes&lt;br /&gt;
&lt;br /&gt;
==Configuring the Google Drive and Picasa portfolios==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Portfolios &amp;gt; Manage Portfolios&#039;&#039;&lt;br /&gt;
# Activate the Google Drive and/or Picasa portfolios by selecting &#039;Enable and visible&#039; in the dropdown menu&lt;br /&gt;
# Configure each portfolio by entering the client ID and secret&lt;br /&gt;
# Save changes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once configured, Google will present Moodle users with a nice authorisation screen with your Moodle site name and logo for your users to authorise.&lt;br /&gt;
&lt;br /&gt;
[[Category:Portfolios]]&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[es:Configuración de Google OAuth 2.0]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=File:google-oa2-consent-screen.png&amp;diff=115242</id>
		<title>File:google-oa2-consent-screen.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=File:google-oa2-consent-screen.png&amp;diff=115242"/>
		<updated>2014-10-15T18:22:58Z</updated>

		<summary type="html">&lt;p&gt;Gmads: Google OAuth 2.0 Consent screen. Enter an Email address and a Product name.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google OAuth 2.0 Consent screen. Enter an Email address and a Product name.&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Google_OAuth_2.0_setup&amp;diff=115241</id>
		<title>Google OAuth 2.0 setup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Google_OAuth_2.0_setup&amp;diff=115241"/>
		<updated>2014-10-15T18:21:01Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Repositories}}&lt;br /&gt;
&#039;&#039;Note: This page contains information for site administrators only.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Registering with Google==&lt;br /&gt;
&lt;br /&gt;
Each Moodle site  needs to be registered with Google in order to use the Google Drive, Docs or Picasa plugins. As part of the registration process, you will need to enter a URL (something like &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/oauth2callback.php&amp;lt;/nowiki&amp;gt;) which is provided on all Google Drive, Docs and Picasa plugins configuration pages in Moodle e.g. &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Google Drive&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
1) Visit the [https://console.developers.google.com/ Google Developers Console] (previously, the [https://cloud.google.com/console/project#access Google Cloud APIs Console], or the [https://code.google.com/apis/console#access Google APIs Console]) and sign into your google account.&lt;br /&gt;
2) If it is your first time you will be asked to create a project:&lt;br /&gt;
[[File:01g.png|center|thumb|400px]]&lt;br /&gt;
3) Give your project a name&lt;br /&gt;
[[File:02g.png|thumb|center|400px]]&lt;br /&gt;
4) If not already enabled, the Google Drive API needs enabling. Click &amp;quot;Enable an API&amp;quot;:&lt;br /&gt;
[[File:03g.png|thumb|center|400px]]&lt;br /&gt;
5) Change Drive API to &amp;quot;On&amp;quot;:&lt;br /&gt;
[[File:04g.png|thumb|center|400px]]&lt;br /&gt;
6) From the left menu, click &amp;quot;Credentials&amp;quot;:&lt;br /&gt;
[[File:05g.png|thumb|center|400px]]&lt;br /&gt;
7) In the OAuth block, click &amp;quot;Create  new client ID&amp;quot;&lt;br /&gt;
[[File:06g.png|thumb|center|400px]]&lt;br /&gt;
8) Leave the Javascript redirect blank and add the redirect URL you have from &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Google Drive&#039;&#039; and then click &amp;quot;Create client ID&amp;quot;.You can also enter your branding details here.&lt;br /&gt;
[[File:08g.png|thumb|center|400px]]&lt;br /&gt;
9) Go to the Consent Screen and enter an Email address and a Product name:&lt;br /&gt;
[[File:google-oauth-2.0-consent-screen.png|thumb|center|400px]]&lt;br /&gt;
10) On your set up page enter the ID and secret you got at step 8:&lt;br /&gt;
[[File:09g.png|thumb|center|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tip: If you have more than one Moodle site to register with Google, you can add an authorized redirect URI for each site in step 8. The same name and logo would then be displayed on the authorisation screen for each Moodle site.&lt;br /&gt;
&lt;br /&gt;
==Configuring the Google Drive and Picasa repositories==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Repositories &amp;gt; Manage Repositories&#039;&#039;&lt;br /&gt;
# Activate the Google Drive and/or Picasa repositories by selecting &#039;Enable and visible&#039; in the dropdown menu&lt;br /&gt;
# Configure each repository by entering the client ID and secret. Make sure you don&#039;t include any white space in the text boxes!&lt;br /&gt;
# Save changes&lt;br /&gt;
&lt;br /&gt;
==Configuring the Google Drive and Picasa portfolios==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Portfolios &amp;gt; Manage Portfolios&#039;&#039;&lt;br /&gt;
# Activate the Google Drive and/or Picasa portfolios by selecting &#039;Enable and visible&#039; in the dropdown menu&lt;br /&gt;
# Configure each portfolio by entering the client ID and secret&lt;br /&gt;
# Save changes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once configured, Google will present Moodle users with a nice authorisation screen with your Moodle site name and logo for your users to authorise.&lt;br /&gt;
&lt;br /&gt;
[[Category:Portfolios]]&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[es:Configuración de Google OAuth 2.0]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=115086</id>
		<title>Blocks FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=115086"/>
		<updated>2014-09-28T17:22:07Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* My Administration block links don&amp;#039;t expand! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
==How do I hide front page blocks from non-logged-in users?==&lt;br /&gt;
&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (often a face and mask) in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;Guest&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Alternately, to hide all blocks (including blocks that do not allow you to assign roles - like Navigation), you can go to &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039; and edit the Guest role to disallow &#039;&#039;View block&#039;&#039;.&lt;br /&gt;
==How do I show front page blocks to guests and hide them from logged in users?==&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;authenticated user&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==How do I get rid of a link in &amp;quot;Site Pages&amp;quot; in the Navigation block?==&lt;br /&gt;
When a resource or activity (like a page, file or forum) is added to the [[Main menu block]]  on the front page, it will appear in the Site Pages of the Navigation block. If you need the item but don&#039;t want it to display then go to &#039;&#039;Site administration&amp;gt;Appearance&amp;gt;Navigation&#039;&#039; and uncheck &amp;quot;show front page activities in the navigation&amp;quot;. If you no longer want the item then turn on the editing on the front page, go to or add the [[Main menu block]] and click to delete the item.&lt;br /&gt;
&lt;br /&gt;
==How do I make a front page block visible to teachers but not students?==&lt;br /&gt;
It is possible to control who sees block on the front page. The following applies to any specified group of people, not just teachers and students.&lt;br /&gt;
# Ensure you have hidden your block  from non-logged in users as  in the instructions above.&lt;br /&gt;
# In  &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039;, click on &amp;quot;authenticated user on the front page&amp;quot;&lt;br /&gt;
# In the context type, select &amp;quot;block&amp;quot; &lt;br /&gt;
# Set &#039;&#039;moodle/block:view&#039;&#039; to &amp;quot;allow&amp;quot;. Save the changes.&lt;br /&gt;
#Turn editing on on your front page.&lt;br /&gt;
#Click the &amp;quot;assign roles &amp;quot; icon on your block.&lt;br /&gt;
#Click the blue words of &amp;quot;authenticated user on the front page&amp;quot; to access the screen where you can choose who you want to allow to see this block (such as your teachers) by moving them from the right hand box to the left.&lt;br /&gt;
#Now click &amp;quot;Permissions&amp;quot; in your block&#039;s Administration settings&lt;br /&gt;
#Click the X next to &amp;quot;authenticated user&amp;quot; to prevent them viewing this block.&lt;br /&gt;
#From now on, regular authenticated users will not be able to see the block. However, those who have been given the role of &amp;quot;authenticated user on the front page&amp;quot; will be able to see it.&lt;br /&gt;
&lt;br /&gt;
==How do I make a block in my course visible to teachers but not students?==&lt;br /&gt;
Here are two suggestions:&lt;br /&gt;
&lt;br /&gt;
1.Add a block to a page which only teachers can see, for example &#039;&#039;/grade/report/grader/index.php&#039;&#039; You could add a comments block for teachers to discuss and moderate each others&#039; grades. Alternatively,you could add an HTML block to  &#039;&#039;/badges/index.php&#039;&#039; with badge issuing policies. A block may also be added to &#039;&#039;enrol/users.php&#039;&#039; for notes or comments regarding enrolments.&lt;br /&gt;
&lt;br /&gt;
2.Add a block to the main course page and ask your administrator to go to &#039;&#039;Block&amp;gt;Assign roles&amp;gt;Permissions&#039;&#039; and prevent authenticated users and students from viewing the block. (A regular teacher cannot change permissions of authenticated users.)&lt;br /&gt;
&lt;br /&gt;
==How can I change a Block item name from a list inside a block?==&lt;br /&gt;
You can change an item name in  &#039;&#039;Settings&amp;gt;Site Administration &amp;gt; Language&amp;gt; Language customization&#039;&#039; Select the &#039;moodle.php&#039; file then search for the words you need to alter.  &lt;br /&gt;
&lt;br /&gt;
==How to I make a block &amp;quot;sticky&amp;quot;?==&lt;br /&gt;
See [[Block settings]]. Using the edit icon in the block heading, go to the configuration page.  Look for the &amp;quot;Where this block appears&amp;quot; group and &amp;quot;Display on page types&amp;quot;.  Depending upon your current context and permissions, you will see different options.  One maybe &amp;quot;All pages&amp;quot; or &amp;quot;Any type of course main page&amp;quot;, and others.&lt;br /&gt;
&lt;br /&gt;
==Where did that block come from?  I do not want it!==&lt;br /&gt;
Your site administrator or some one with more permissions than you decided that block should be there. It is possible to force a block to appear on other pages.  For example, a site administrator my force a HTML block on every main course page and determine where it will be, so they may put site messages there.   &lt;br /&gt;
&lt;br /&gt;
Your site administrator can tell where every instance of a block appears via [[Blocks administration]].&lt;br /&gt;
&lt;br /&gt;
==How can I decide the order in which blocks are docked?==&lt;br /&gt;
Blocks are &amp;quot;docked&amp;quot;, from top to bottom (usually on the left) in the order in which you dock them.&lt;br /&gt;
&lt;br /&gt;
==How can I add a block to all user profile pages?==&lt;br /&gt;
&lt;br /&gt;
See [[User profiles]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==How can I prevent users from adding blocks to their My home page?==&lt;br /&gt;
&lt;br /&gt;
See [[My home]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==The blocks have disappeared from the front page/course page!==&lt;br /&gt;
This can sometimes be caused by users pasting from Microsoft Word which corrupts the formatting. See this forum post for more details https://moodle.org/mod/forum/discuss.php?d=217390#p958884&lt;br /&gt;
&lt;br /&gt;
==Help, I accidentally hid the administration block without realising the consequences!==&lt;br /&gt;
&lt;br /&gt;
# Go to &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Unhide the settings block by clicking the closed eye icon opposite it&lt;br /&gt;
&lt;br /&gt;
==I accidentally deleted the navigation (or administration) block!==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; (or via the URL &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;) and unprotect the navigation block by clicking the padlock icon&lt;br /&gt;
# Turn editing on in any course&lt;br /&gt;
# Go to the front page and use the &#039;Add a block&#039; dropdown menu to add a navigation block there, setting it to display throughout the entire site&lt;br /&gt;
# Go back to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; and re-protect the navigation block.&lt;br /&gt;
&lt;br /&gt;
The above method works the same for the navigation and administration blocks.&lt;br /&gt;
&lt;br /&gt;
==My Administration block links don&#039;t expand!==&lt;br /&gt;
&lt;br /&gt;
This has been noticed as a Javascript problem. Given the many possible factors behind this issue, each situation is different. Please try to:&lt;br /&gt;
&lt;br /&gt;
1. Use another browser or use another version of the same browser (try both, lower and higher versions).&lt;br /&gt;
&lt;br /&gt;
2. [[Purge all cache]] (Administration &amp;gt; Development &amp;gt; Purge all caches): &#039;&#039;&amp;lt;code&amp;gt;http://yoursite.com/&amp;lt;/code&amp;gt;&#039;&#039;&amp;lt;code&amp;gt;admin/purgecaches.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Change the Use slash arguments option at the [[HTTP]] page (Administration &amp;gt; Server &amp;gt; HTTP): &#039;&#039;&amp;lt;code&amp;gt;http://yoursite.com/&amp;lt;/code&amp;gt;&#039;&#039;&amp;lt;code&amp;gt;admin/settings.php?section=http&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Try different settings at the [[AJAX and Javascript settings]] page (Administration &amp;gt; Appearance &amp;gt; AJAX and Javascript): &#039;&#039;&amp;lt;code&amp;gt;http://yoursite.com/&amp;lt;/code&amp;gt;&#039;&#039;&amp;lt;code&amp;gt;admin/settings.php?section=ajax&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Enabling the Use online YUI libraries (&#039;&#039;useexternalyui&#039;&#039;) sometimes has solved the problem (see [http://tracker.moodle.org/browse/MDL-31678 tracker.moodle.org/browse/MDL-31678]).&lt;br /&gt;
&lt;br /&gt;
5. [http://www.enable-javascript.com/ Turn off Javascript] in your browser (the linked site shows how to enable Javascript, so do the opposite)&lt;br /&gt;
&lt;br /&gt;
6. [http://www.java.com/en/download/help/disable_browser.xml Turn off Java] (you should have it disabled anyway, unless you really need it)&lt;br /&gt;
&lt;br /&gt;
7. Try using another theme: &#039;&#039;&amp;lt;code&amp;gt;http://yoursite.com/&amp;lt;/code&amp;gt;&#039;&#039;&amp;lt;code&amp;gt;theme/index.php&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. If you are using the &amp;lt;code&amp;gt;$CFG-&amp;gt;httpswwwroot&amp;lt;/code&amp;gt; directive (for SSL login) at the &#039;&#039;&#039;config.php&#039;&#039;&#039; configuration file, try and comment it (add a double forward slash and a space &amp;quot;// &amp;quot; at the beginning of the line), like so:&lt;br /&gt;
&lt;br /&gt;
 // $CFG-&amp;gt;httpswwwroot = etc.&lt;br /&gt;
&lt;br /&gt;
9. At the Moodle &#039;&#039;&#039;config.php&#039;&#039;&#039; configuration file, add the following line to set the default time zone (please use the [http://php.net/manual/en/timezones.php List of supported timezones]):&lt;br /&gt;
&lt;br /&gt;
 date_default_timezone_set(&amp;quot;&#039;&#039;valid-timezone&#039;&#039;&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
For example, to set the time zone for Sofia, Bulgaria, add the following line:&lt;br /&gt;
&lt;br /&gt;
 date_default_timezone_set(&amp;quot;Europe/Sofia&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;. If possible, it would actually be better to add the time zone setting directive to the PHP &#039;&#039;&#039;php.ini&#039;&#039;&#039; configuration file (please see [http://php.net/manual/en/datetime.configuration.php#ini.date.timezone PHP Runtime configuration]):&lt;br /&gt;
&lt;br /&gt;
 date.timezone &#039;&#039;valid-timezone&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You should also:&lt;br /&gt;
&lt;br /&gt;
1. Enable [[Debugging]] (Administration &amp;gt; Development &amp;gt; Debugging): &#039;&#039;&amp;lt;code&amp;gt;http://yoursite.com/&amp;lt;/code&amp;gt;&#039;&#039;&amp;lt;code&amp;gt;admin/settings.php?section=debugging&amp;lt;/code&amp;gt;, as this may provide possible useful information regarding the cause.&lt;br /&gt;
&lt;br /&gt;
2. Check if your browser is showing some warning or error indications (watch the status bar).&lt;br /&gt;
&lt;br /&gt;
For more details see any of the following forum threads https://moodle.org/mod/forum/discuss.php?d=269877#p1166200, https://moodle.org/mod/forum/discuss.php?d=166994 or https://moodle.org/mod/forum/discuss.php?d=200243 or the tracker MDL-31678.&lt;br /&gt;
&lt;br /&gt;
==How can I add a Twitter feed block?==&lt;br /&gt;
&lt;br /&gt;
An HTML block can be used to display the latest tweets from any Twitter account. See [[HTML block]] for details.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=2121 Blocks forum]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=195874 More problems with &amp;quot;Sticky&amp;quot; blocks in 2.2] with instructions on how to make blocks appear on all course pages&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Block_FAQ]]&lt;br /&gt;
[[es:Bloques FAQ]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=WIRIS_math_%26_science_questions&amp;diff=115030</id>
		<title>WIRIS math &amp; science questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=WIRIS_math_%26_science_questions&amp;diff=115030"/>
		<updated>2014-09-22T17:52:02Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Teachers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
WIRIS quizzes is a bunch of new question types for math &amp;amp; science questions. For an overview of WIRIS math tools suite check [https://moodle.org/plugins/view.php?id=26 WIRIS for Moodle].&lt;br /&gt;
&lt;br /&gt;
==Details==&lt;br /&gt;
WIRIS quizzes improves the question types True/False, Multiple choice, Matching, Short answer, Essay, Embedded answers (Cloze)... To sum up, every question type you may come across. The WIRIS quizzes enhancements are summarized in the following list:&lt;br /&gt;
&lt;br /&gt;
*Formula edition at authoring time and formula visualization at presentation time.&lt;br /&gt;
*WYSIWYG input of formulas in the student answers of open question. Formulas are input in the habitual mathematical notation. Country locales.&lt;br /&gt;
*Syntax validation in student answers. Real time syntax validation if needed.&lt;br /&gt;
*Grading the answers considering mathematical equivalences and criteria. Use WIRIS quizzes studio to choose your assertions for grading.&lt;br /&gt;
*Generating random questions via an algorithm and advanced grading (when it is not sufficient to compare the student answer with the correct answer).&lt;br /&gt;
*Easy inclusion of 2D and 3D graphics in the questions. Such graphics can be optionally generated from random parameters.&lt;br /&gt;
&lt;br /&gt;
==Where to start==&lt;br /&gt;
&lt;br /&gt;
===Teachers===&lt;br /&gt;
* [http://www.wiris.com/en/solutions/moodle Math and science in Moodle]&lt;br /&gt;
* [http://www.wiris.com/demo-moodle2 Moodle 2.x demo environment]&lt;br /&gt;
* [http://www.wiris.com/demo-moodle Moodle 1.9 demo environment]&lt;br /&gt;
* [http://collection.wiris.com/quizzes STEM collection of free quizzes (1)]&lt;br /&gt;
* [http://stemcollection.com/home STEM collection of free quizzes (2)]&lt;br /&gt;
&lt;br /&gt;
===Administrators===&lt;br /&gt;
* For [http://www.wiris.com/es/quizzes/docs/moodle/install Installation instructions].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://www.wiris.com/quizzes Website URL]&lt;br /&gt;
* [https://moodle.org/mod/forum/view.php?id=752 Math Discussion Forum]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Tipos de pregunta WIRIS]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=114684</id>
		<title>Blocks FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=114684"/>
		<updated>2014-09-04T04:38:25Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* My Administration block links don&amp;#039;t expand! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
==How do I hide front page blocks from non-logged-in users?==&lt;br /&gt;
&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (often a face and mask) in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;Guest&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
Alternately, to hide all blocks (including blocks that do not allow you to assign roles - like Navigation), you can go to &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039; and edit the Guest role to disallow &#039;&#039;View block&#039;&#039;.&lt;br /&gt;
==How do I show front page blocks to guests and hide them from logged in users?==&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;authenticated user&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==How do I get rid of a link in &amp;quot;Site Pages&amp;quot; in the Navigation block?==&lt;br /&gt;
When a resource or activity (like a page, file or forum) is added to the [[Main menu block]]  on the front page, it will appear in the Site Pages of the Navigation block. If you need the item but don&#039;t want it to display then go to &#039;&#039;Site administration&amp;gt;Appearance&amp;gt;Navigation&#039;&#039; and uncheck &amp;quot;show front page activities in the navigation&amp;quot;. If you no longer want the item then turn on the editing on the front page, go to or add the [[Main menu block]] and click to delete the item.&lt;br /&gt;
&lt;br /&gt;
==How do I make a front page block visible to teachers but not students?==&lt;br /&gt;
It is possible to control who sees block on the front page. The following applies to any specified group of people, not just teachers and students.&lt;br /&gt;
# Ensure you have hidden your block  from non-logged in users as  in the instructions above.&lt;br /&gt;
# In  &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039;, click on &amp;quot;authenticated user on the front page&amp;quot;&lt;br /&gt;
# In the context type, select &amp;quot;block&amp;quot; &lt;br /&gt;
# Set &#039;&#039;moodle/block:view&#039;&#039; to &amp;quot;allow&amp;quot;. Save the changes.&lt;br /&gt;
#Turn editing on on your front page.&lt;br /&gt;
#Click the &amp;quot;assign roles &amp;quot; icon on your block.&lt;br /&gt;
#Click the blue words of &amp;quot;authenticated user on the front page&amp;quot; to access the screen where you can choose who you want to allow to see this block (such as your teachers) by moving them from the right hand box to the left.&lt;br /&gt;
#Now click &amp;quot;Permissions&amp;quot; in the Administration block.&lt;br /&gt;
#Click the X next to &amp;quot;authenticated user&amp;quot; to prevent them viewing this block.&lt;br /&gt;
#From now on, regular authenticated users will not be able to see the block. However, those who have been given the role of &amp;quot;authenticated user on the front page&amp;quot; will be able to see it.&lt;br /&gt;
&lt;br /&gt;
==How do I make a block in my course visible to teachers but not students?==&lt;br /&gt;
Here are two suggestions:&lt;br /&gt;
&lt;br /&gt;
1.Add a block to a page which only teachers can see, for example &#039;&#039;/grade/report/grader/index.php&#039;&#039; You could add a comments block for teachers to discuss and moderate each others&#039; grades. Alternatively,you could add an HTML block to  &#039;&#039;/badges/index.php&#039;&#039; with badge issuing policies. A block may also be added to &#039;&#039;enrol/users.php&#039;&#039; for notes or comments regarding enrolments.&lt;br /&gt;
&lt;br /&gt;
2.Add a block to the main course page and ask your administrator to go to &#039;&#039;Block&amp;gt;Assign roles&amp;gt;Permissions&#039;&#039; and prevent authenticated users and students from viewing the block. (A regular teacher cannot change permissions of authenticated users.)&lt;br /&gt;
&lt;br /&gt;
==How can I change a Block item name from a list inside a block?==&lt;br /&gt;
You can change an item name in  &#039;&#039;Settings&amp;gt;Site Administration &amp;gt; Language&amp;gt; Language customization&#039;&#039; Select the &#039;moodle.php&#039; file then search for the words you need to alter.  &lt;br /&gt;
&lt;br /&gt;
==How to I make a block &amp;quot;sticky&amp;quot;?==&lt;br /&gt;
See [[Block settings]]. Using the edit icon in the block heading, go to the configuration page.  Look for the &amp;quot;Where this block appears&amp;quot; group and &amp;quot;Display on page types&amp;quot;.  Depending upon your current context and permissions, you will see different options.  One maybe &amp;quot;All pages&amp;quot; or &amp;quot;Any type of course main page&amp;quot;, and others.&lt;br /&gt;
&lt;br /&gt;
==Where did that block come from?  I do not want it!==&lt;br /&gt;
Your site administrator or some one with more permissions than you decided that block should be there. It is possible to force a block to appear on other pages.  For example, a site administrator my force a HTML block on every main course page and determine where it will be, so they may put site messages there.   &lt;br /&gt;
&lt;br /&gt;
Your site administrator can tell where every instance of a block appears via [[Blocks administration]].&lt;br /&gt;
&lt;br /&gt;
==How can I decide the order in which blocks are docked?==&lt;br /&gt;
Blocks are &amp;quot;docked&amp;quot;, from top to bottom (usually on the left) in the order in which you dock them.&lt;br /&gt;
&lt;br /&gt;
==How can I add a block to all user profile pages?==&lt;br /&gt;
&lt;br /&gt;
See [[User profiles]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==How can I prevent users from adding blocks to their My home page?==&lt;br /&gt;
&lt;br /&gt;
See [[My home]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==The blocks have disappeared from the front page/course page!==&lt;br /&gt;
This can sometimes be caused by users pasting from Microsoft Word which corrupts the formatting. See this forum post for more details https://moodle.org/mod/forum/discuss.php?d=217390#p958884&lt;br /&gt;
&lt;br /&gt;
==Help, I accidentally hid the administration block without realising the consequences!==&lt;br /&gt;
&lt;br /&gt;
# Go to &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Unhide the settings block by clicking the closed eye icon opposite it&lt;br /&gt;
&lt;br /&gt;
==I accidentally deleted the navigation (or administration) block!==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; (or via the URL &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;) and unprotect the navigation block by clicking the padlock icon&lt;br /&gt;
# Turn editing on in any course&lt;br /&gt;
# Go to the front page and use the &#039;Add a block&#039; dropdown menu to add a navigation block there, setting it to display throughout the entire site&lt;br /&gt;
# Go back to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; and re-protect the navigation block.&lt;br /&gt;
&lt;br /&gt;
The above method works the same for the navigation and administration blocks.&lt;br /&gt;
&lt;br /&gt;
==My Administration block links don&#039;t expand!==&lt;br /&gt;
&lt;br /&gt;
This has been noticed as a Javascript problem. Given the many possible factors behind this issue, a clear-cut solution hasn&#039;t been found. Please try to:&lt;br /&gt;
&lt;br /&gt;
1. Use another browser or use another version of the same browser (try both, lower and higher versions).&lt;br /&gt;
&lt;br /&gt;
;2. [[Purge all cache]] (Administration &amp;gt; Development &amp;gt; Purge all caches): [http://yoursite.com/admin/purgecaches.php yoursite.com/admin/purgecaches.php]&lt;br /&gt;
&lt;br /&gt;
;3. Change the Use slash arguments option --[[HTTP]]-- (Administration &amp;gt; Server &amp;gt; HTTP): [http://yoursite.com/admin/settings.php?section=http yoursite.com/admin/settings.php?section=http]&lt;br /&gt;
&lt;br /&gt;
;4. Try different settings at the [[AJAX and Javascript settings]] page (Administration &amp;gt; Appearance &amp;gt; AJAX and Javascript): [http://yoursite.com/admin/settings.php?section=ajax yoursite.com/admin/settings.php?section=ajax]&lt;br /&gt;
&lt;br /&gt;
* Enabling the Use online YUI libraries (&#039;&#039;useexternalyui&#039;&#039;) sometimes has solved the problem (see [http://tracker.moodle.org/browse/MDL-31678 tracker.moodle.org/browse/MDL-31678]).&lt;br /&gt;
&lt;br /&gt;
5. [http://www.enable-javascript.com/ Turn off Javascript] in your browser (the site shows how to enable Javascript, so do the opposite)&lt;br /&gt;
&lt;br /&gt;
6. [http://www.java.com/en/download/help/disable_browser.xml Turn off Java] (you should have it disabled anyway, unless you really need it)&lt;br /&gt;
&lt;br /&gt;
;7. Try using another theme: [http://yoursite.com/theme/index.php yoursite.com/theme/index.php]&lt;br /&gt;
&lt;br /&gt;
8. If you are using the &#039;&#039;&#039;$CFG-&amp;gt;httpswwwroot&#039;&#039;&#039; directive (for SSL login) at the config.php configuration file, try and comment it (add a double forward slash and a space &amp;quot;// &amp;quot; at the beginning of the line).&lt;br /&gt;
&lt;br /&gt;
You should also:&lt;br /&gt;
&lt;br /&gt;
;1. Enable [[Debugging]] (Administration &amp;gt; Development &amp;gt; Debugging): [http://yoursite.com/admin/settings.php?section=debugging yoursite.com/admin/settings.php?section=debugging]&lt;br /&gt;
&lt;br /&gt;
2. Check if your browser is showing some warning or error indications (watch the status bar).&lt;br /&gt;
&lt;br /&gt;
For advice, see  this forum thread https://moodle.org/mod/forum/discuss.php?d=166994 or this one https://moodle.org/mod/forum/discuss.php?d=200243. For more details, please see this tracker MDL-31678.&lt;br /&gt;
&lt;br /&gt;
==How can I add a Twitter feed block?==&lt;br /&gt;
&lt;br /&gt;
An HTML block can be used to display the latest tweets from any Twitter account. See [[HTML block]] for details.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=2121 Blocks forum]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=195874 More problems with &amp;quot;Sticky&amp;quot; blocks in 2.2] with instructions on how to make blocks appear on all course pages&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Block_FAQ]]&lt;br /&gt;
[[es:Bloques FAQ]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=User:Guillermo_Madero&amp;diff=114426</id>
		<title>User:Guillermo Madero</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=User:Guillermo_Madero&amp;diff=114426"/>
		<updated>2014-08-29T17:22:34Z</updated>

		<summary type="html">&lt;p&gt;Gmads: Created page with &amp;quot;Hi!&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi!&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=114362</id>
		<title>Installing AMP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=114362"/>
		<updated>2014-08-27T19:07:16Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Installer packages and components */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
AMP, stands for &#039;&#039;&#039;A&#039;&#039;&#039;pache, &#039;&#039;&#039;M&#039;&#039;&#039;ySQL &amp;amp; &#039;&#039;&#039;P&#039;&#039;&#039;HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;All-in-one&#039; Moodle installers for Windows and OSX are available at http://httpd.apache.org/docs/2.0/install.html (not intended for &#039;production&#039; sites). &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== First a word about PostgreSQL ==&lt;br /&gt;
&lt;br /&gt;
If you would prefer to use the PostgreSQL database (and you should consider it) you can - when using the package type installers - just install it instead of MySQL. MySQL tends to be the universal choice with the simpler &#039;one-click&#039; installers. For a &#039;one-click&#039; installer with PostgreSQL, Apache and PHP you can check [http://bitnami.com BitNami], it supports Windows ([http://bitnami.com/stack/wapp WAPP]), Linux ([http://bitnami.com/stack/lapp LAPP]) and Mac ([http://bitnami.com/stack/mapp MAPP]).&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
OSX comes with a suitable [[Apache]] web server and a not so suitable PHP (it doesn&#039;t have all the required extensions). &lt;br /&gt;
&lt;br /&gt;
Here are some other possibilities (all are documented so this is not repeated here):&lt;br /&gt;
* Liip &#039;one click&#039; installer from http://php-osx.liip.ch/. Note that it is primarily biased towards developers.&lt;br /&gt;
* [http://www.mamp.info/ MAMP]: One click installer - easy to use and well documented. Probably only suitable for personal use. &lt;br /&gt;
* [http://www.ampps.com/   Softaculous AMPPS]: Another one click installer - for both Windows and OSX this time.&lt;br /&gt;
* [http://www.macports.org/ MacPorts]: A complete Linux-style package repository. You will find the AMP components here. See [https://trac.macports.org/wiki/howto/MAMP Getting Apache, MySQL, and PHP Running under MacPorts]&lt;br /&gt;
* [http://www.finkproject.org/ Fink]: an alternative to MacPorts.&lt;br /&gt;
* [http://bitnami.com/stack/mamp BitNami MAMP Stack]: On &#039;one-click&#039; installer with for MySQL, Apache and PHP which supports the BitNami applications modules to installed on top of it like the [http://bitnami.com/stack/mamp/modules#moodle BitNami Moodle module].&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
You should install the packages from your distribution&#039;s repository for [[Apache]], [[PHP]] and MySQL. You will almost certainly need additional extensions for [[PHP]] (e.g. the extension for the database). The packaged versions of Moodle are not recommended (it&#039;s not much harder to install from moodle.org download)&lt;br /&gt;
&lt;br /&gt;
See (for example):&lt;br /&gt;
* Ubuntu - https://help.ubuntu.com/community/ApacheMySQLPHP&lt;br /&gt;
* Debian - http://wiki.debian.org/LaMp&lt;br /&gt;
* RedHat / Centos - http://www.howtoforge.com/quick-n-easy-lamp-server-centos-rhel&lt;br /&gt;
* SuSE / OpenSuSE - http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/&lt;br /&gt;
&lt;br /&gt;
While one-click installers (e.g. XAMPP or BitNami LAMP Stack) exist for Linux, it is so simple to install the components the &amp;quot;right&amp;quot; way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support. &lt;br /&gt;
&lt;br /&gt;
Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Windows has slightly more variations as you can use [[Apache]] or Microsoft&#039;s [[IIS]] Web Servers. The following one-click Web server installers include the Apache Web server, the MySQL database server, the PHP scripting language and the phpMyAdmin database (MySQL) manager. Some may include other components.&lt;br /&gt;
&lt;br /&gt;
* [http://www.wampserver.com/en/ WampServer]: One of the best installers for Windows.&lt;br /&gt;
* [http://bitnami.com/stack/wamp BitNami WAMP Stack]: A very good installer that allows other [http://bitnami.com/stacks BitNami Stacks] to be installed on top, like the [http://bitnami.com/stack/moodle BitNami Moodle Stack].&lt;br /&gt;
* [http://www.easyphp.org/ EasyPHP]: A good and known popular alternative.&lt;br /&gt;
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known installer for Windows. It should only be used for development or as a personal web server.&lt;br /&gt;
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: Instructions to install PHP on all manner of Windows and Web server variations.&lt;br /&gt;
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer. &lt;br /&gt;
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows.&lt;br /&gt;
&lt;br /&gt;
=== Installer packages and components ===&lt;br /&gt;
&lt;br /&gt;
The following table lists the components and versions of each package (as of August 27, 2014):&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; height:75px&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;Product&#039;&#039;&#039; || &#039;&#039;&#039;Version&#039;&#039;&#039; || &#039;&#039;&#039;Httpd (Apache)&#039;&#039;&#039; || &#039;&#039;&#039;PHP&#039;&#039;&#039; || &#039;&#039;&#039;MySQL&#039;&#039;&#039; || &#039;&#039;&#039;PHPMyAdmin&#039;&#039;&#039; || &#039;&#039;&#039;Address&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| WampServer || 2.5 || 2.4.9 || 5.5.12 || 5.6.17 || 4.1.14 || [http://www.wampserver.com/en/ Web page]&lt;br /&gt;
|-&lt;br /&gt;
|  || 2.4 || 2.4.4 || 5.4.16 || 5.6.12 || 4.0.4 ||&lt;br /&gt;
|-&lt;br /&gt;
|  || 2.2e || 2.4.2 || 5.4.3 || 5.5.24 || 3.5.1 ||&lt;br /&gt;
|-&lt;br /&gt;
| BitNami WAMP Stack || 5.4.32-0 || 2.4.10 || 5.4.32 || 5.5.39 || 4.2.7.1 || [https://bitnami.com/stack/wamp Web page]&lt;br /&gt;
|-&lt;br /&gt;
|  || 5.3.29-0 || 2.2.23 || 5.3.29 || 5.5.29 || 3.5.5 ||&lt;br /&gt;
|-&lt;br /&gt;
| EasyPHP (Wevserver) || 14.1 || 2.4.10 || 5.4.31 || 5.6.19 || 4.2.6 || [http://www.easyphp.org/ Web page]&lt;br /&gt;
|-&lt;br /&gt;
| EasyPHP(Devserver) || 14.1 VC11 || 2.4.7 VC11 || 5.[6-3].x || 5.6.15 || 4.2.0 ||&lt;br /&gt;
|-&lt;br /&gt;
|  || 14.1 VC9 || 2.4.7 VC9 || 5.[4-2].x || 5.6.15 || 4.2.0 ||&lt;br /&gt;
|-&lt;br /&gt;
| XAMPP || 1.8.3 || 2.4.10 || 5.5.15 || 5.6.20 || 4.2.7.1 || [https://www.apachefriends.org/download.html Web page]&lt;br /&gt;
|-&lt;br /&gt;
|  || 1.8.2 || 2.4.10 || 5.4.31 || 5.5.39 || 4.2.7.1 ||&lt;br /&gt;
|-&lt;br /&gt;
| ----------------- || --------- || ---------- || ------------- || ------ || ------- ||&lt;br /&gt;
|-&lt;br /&gt;
| XAMPP || 1.7.4 || 2.2.17 || 5.3.5 || 5.5.8 || 3.3.9 ||&lt;br /&gt;
|-&lt;br /&gt;
| || 1.7.1 || 2.2.11 || 5.2.9 || 5.1.33 || 3.1.3.1 ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important Notes&#039;&#039;&#039;&lt;br /&gt;
* PHP 5.5.x versions are built with VC11 (Visual Studio 2012 compiler). These builds require you to have the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679/ x64/86] installed. These PHP versions &#039;&#039;&#039;do not&#039;&#039;&#039; work in windows XP nor in Windows Server 2003.&lt;br /&gt;
&lt;br /&gt;
* PHP 5.4.x versions are built with VC9 (Visual Studio 2008 compiler). These builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 [http://www.microsoft.com/en-us/download/details.aspx?id=5582/ x86] or [http://www.microsoft.com/en-us/download/details.aspx?id=15336/ x64] installed. These PHP versions &#039;&#039;&#039;are the last&#039;&#039;&#039; to support windows XP.&lt;br /&gt;
&lt;br /&gt;
* XAMPP packages 1.7.4 and 1.7.1 were included in the table because those are the versions on which the [http://download.moodle.org/windows/ Windows Moodle Packages] are built: from Moodle 2.1.x to 2.5.x with XAMPP 1.7.4; and Moodle 1.9.19+ with XAMPP 1.7.1.&lt;br /&gt;
&lt;br /&gt;
* Moodle version 2.0.x isn&#039;t available any more as a Windows Moodle Distribution.&lt;br /&gt;
&lt;br /&gt;
==Vista and Windows 7==&lt;br /&gt;
&lt;br /&gt;
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.&lt;br /&gt;
&lt;br /&gt;
Here are some things you might want to try:&lt;br /&gt;
&lt;br /&gt;
* A simple one is to use http://bitnami.org/stack/moodle&lt;br /&gt;
* Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista. &lt;br /&gt;
* For personal (evaluation) use - install XAMPP or EasyPHP and then Moodle using the normal installation instructions.&lt;br /&gt;
&lt;br /&gt;
[[es:Instalación AMP]]&lt;br /&gt;
[[fr:Installation de AMP]]&lt;br /&gt;
[[ja:AMPのインストール]]&lt;br /&gt;
[[ru:Установка AMP]]&lt;br /&gt;
[[pl:Instalacja AMP]]&lt;br /&gt;
[[de:Installation von Apache, MySQL und PHP]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Cleanup&amp;diff=114361</id>
		<title>Cleanup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Cleanup&amp;diff=114361"/>
		<updated>2014-08-27T18:07:12Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Delete incomplete users after */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server settings}}&lt;br /&gt;
An administrator can limit the size of certain tables in the database by setting appropriate options in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Server &amp;gt; Cleanup&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Delete unconfirmed users after==&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using [[Email-based self-registration]] users must confirm their account (complete the email registration process) within a certain time-frame. Once the time set here has passed, any account that hasn&#039;t been confirmed will be deleted. The default is 7 days.&lt;br /&gt;
&lt;br /&gt;
==Delete incomplete users after==&lt;br /&gt;
&lt;br /&gt;
Once users have confirmed their account, they must complete their profile within the time interval set here.&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;complete profile&#039;&#039; is one where the following fields have been filled in (are not empty):&lt;br /&gt;
*First name&lt;br /&gt;
*Last name&lt;br /&gt;
*Email address&lt;br /&gt;
Just as a reference, given that the firstname, lastname and email are required fields of the [[Upload users]] module, any account created this way is automatically a complete account.&lt;br /&gt;
&lt;br /&gt;
==Keep logs for==&lt;br /&gt;
&lt;br /&gt;
Moodle keeps extensive logs of user activity. Eventually, however, the logs will become so large that they begin to clog your server. Limiting the length of time logs are kept for will reduce database table size. Generally, a year is enough time to keep logs for.&lt;br /&gt;
&lt;br /&gt;
==Disable grade history==&lt;br /&gt;
&lt;br /&gt;
History tracking of changes in grades-related tables may be disabled by checking the &#039;&#039;disablegradehistory&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
==Grade history lifetime==&lt;br /&gt;
&lt;br /&gt;
The length of time that the history of changes in grade-related tables is kept may be set (from 30 days to never).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: For users who have upgraded to Moodle 2 from 1.9, the setting &#039;Unsubscribe users from courses after&#039; in Cleanup has been replaced by &#039;Unenrol inactive after&#039; in [[Self enrolment]]. i.e. the setting now applies ONLY to users who self-enrolled.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=87795 How do I prune mdl_log table?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[eu:Garbiketa]]&lt;br /&gt;
[[fr:Nettoyage]]&lt;br /&gt;
[[ja:クリーンアップ]]&lt;br /&gt;
[[de:Aufräumarbeiten]]&lt;br /&gt;
[[es:Limpieza]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Cleanup&amp;diff=114360</id>
		<title>Cleanup</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Cleanup&amp;diff=114360"/>
		<updated>2014-08-27T17:54:43Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Delete unconfirmed users after */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Server settings}}&lt;br /&gt;
An administrator can limit the size of certain tables in the database by setting appropriate options in &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Server &amp;gt; Cleanup&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Delete unconfirmed users after==&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using [[Email-based self-registration]] users must confirm their account (complete the email registration process) within a certain time-frame. Once the time set here has passed, any account that hasn&#039;t been confirmed will be deleted. The default is 7 days.&lt;br /&gt;
&lt;br /&gt;
==Delete incomplete users after==&lt;br /&gt;
&lt;br /&gt;
The period after which old not-fully-set-up accounts are deleted may be set (from 1 day to never).&lt;br /&gt;
&lt;br /&gt;
(What is the definition of a &amp;quot;not-fully-set-up account&amp;quot;? What criteria needs to be met for an account to be fully-set-up?)&lt;br /&gt;
&lt;br /&gt;
==Keep logs for==&lt;br /&gt;
&lt;br /&gt;
Moodle keeps extensive logs of user activity. Eventually, however, the logs will become so large that they begin to clog your server. Limiting the length of time logs are kept for will reduce database table size. Generally, a year is enough time to keep logs for.&lt;br /&gt;
&lt;br /&gt;
==Disable grade history==&lt;br /&gt;
&lt;br /&gt;
History tracking of changes in grades-related tables may be disabled by checking the &#039;&#039;disablegradehistory&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
==Grade history lifetime==&lt;br /&gt;
&lt;br /&gt;
The length of time that the history of changes in grade-related tables is kept may be set (from 30 days to never).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: For users who have upgraded to Moodle 2 from 1.9, the setting &#039;Unsubscribe users from courses after&#039; in Cleanup has been replaced by &#039;Unenrol inactive after&#039; in [[Self enrolment]]. i.e. the setting now applies ONLY to users who self-enrolled.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=87795 How do I prune mdl_log table?] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[eu:Garbiketa]]&lt;br /&gt;
[[fr:Nettoyage]]&lt;br /&gt;
[[ja:クリーンアップ]]&lt;br /&gt;
[[de:Aufräumarbeiten]]&lt;br /&gt;
[[es:Limpieza]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=User:G._M.&amp;diff=106775</id>
		<title>User:G. M.</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=User:G._M.&amp;diff=106775"/>
		<updated>2013-10-07T18:36:03Z</updated>

		<summary type="html">&lt;p&gt;Gmads: Created page with &amp;quot;Hi!&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi!&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=106774</id>
		<title>Blocks FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=106774"/>
		<updated>2013-10-07T18:35:17Z</updated>

		<summary type="html">&lt;p&gt;Gmads: Undo revision 106329 by Afhole (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
==How do I hide front page blocks from non-logged-in users?==&lt;br /&gt;
&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (often a face and mask) in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;Guest&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==How do I get rid of a link in &amp;quot;Site Pages&amp;quot; in the Navigation block?==&lt;br /&gt;
When a resource or activity (like a page, file or forum) is added to the [[Main menu block]]  on the front page, it will appear in the Site Pages of the Navigation block. If you need the item but don&#039;t want it to display then go to &#039;&#039;Site administration&amp;gt;Appearance&amp;gt;Navigation&#039;&#039; and uncheck &amp;quot;show front page activities in the navigation&amp;quot;. If you no longer want the item then turn on the editing on the front page, go to or add the [[Main menu block]] and click to delete the item.&lt;br /&gt;
&lt;br /&gt;
==How do I make a front page block visible to teachers but not students?==&lt;br /&gt;
It is possible to control who sees block on the front page. The following applies to any specified group of people, not just teachers and students.&lt;br /&gt;
# Ensure you have hidden your block  from non-logged in users as  in the instructions above.&lt;br /&gt;
# In  &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039;, click on &amp;quot;authenticated user on the front page&amp;quot;&lt;br /&gt;
# In the context type, select &amp;quot;block&amp;quot; &lt;br /&gt;
# Set &#039;&#039;moodle/block:view&#039;&#039; to &amp;quot;allow&amp;quot;. Save the changes.&lt;br /&gt;
#Turn editing on on your front page.&lt;br /&gt;
#Click the &amp;quot;assign roles &amp;quot; icon on your block.&lt;br /&gt;
#Click the blue words of &amp;quot;authenticated user on the front page&amp;quot; to access the screen where you can choose who you want to allow to see this block (such as your teachers) by moving them from the right hand box to the left.&lt;br /&gt;
#Now click &amp;quot;Permissions&amp;quot; in the Administration block.&lt;br /&gt;
#Click the X next to &amp;quot;authenticated user&amp;quot; to prevent them viewing this block.&lt;br /&gt;
#From now on, regular authenticated users will not be able to see the block. However, those who have been given the role of &amp;quot;authenticated user on the front page&amp;quot; will be able to see it.&lt;br /&gt;
&lt;br /&gt;
==How can I change a Block item name from a list inside a block?==&lt;br /&gt;
You can change an item name in  &#039;&#039;Settings&amp;gt;Site Administration &amp;gt; Language&amp;gt; Language customization&#039;&#039; Select the &#039;moodle.php&#039; file then search for the words you need to alter.  &lt;br /&gt;
&lt;br /&gt;
==How to I make a block &amp;quot;sticky&amp;quot;?==&lt;br /&gt;
See [[Block settings]]. Using the edit icon in the block heading, go to the configuration page.  Look for the &amp;quot;Where this block appears&amp;quot; group and &amp;quot;Display on page types&amp;quot;.  Depending upon your current context and permissions, you will see different options.  One maybe &amp;quot;All pages&amp;quot; or &amp;quot;Any type of course main page&amp;quot;, and others.&lt;br /&gt;
&lt;br /&gt;
==Where did that block come from?  I do not want it!==&lt;br /&gt;
Your site administrator or some one with more permissions than you decided that block should be there. It is possible to force a block to appear on other pages.  For example, a site administrator my force a HTML block on every main course page and determine where it will be, so they may put site messages there.   &lt;br /&gt;
&lt;br /&gt;
Your site administrator can tell where every instance of a block appears via [[Blocks administration]].&lt;br /&gt;
&lt;br /&gt;
==How can I decide the order in which blocks are docked?==&lt;br /&gt;
Blocks are &amp;quot;docked&amp;quot;, from top to bottom (usually on the left) in the order in which you dock them.&lt;br /&gt;
&lt;br /&gt;
==How can I add a block to all user profile pages?==&lt;br /&gt;
&lt;br /&gt;
See [[User profiles]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==How can I prevent users from adding blocks to their My home page?==&lt;br /&gt;
&lt;br /&gt;
See [[My home]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==The blocks have disappeared from the front page/course page!==&lt;br /&gt;
This can sometimes be caused by users pasting from Microsoft Word which corrupts the formatting. See this forum post for more details https://moodle.org/mod/forum/discuss.php?d=217390#p958884&lt;br /&gt;
&lt;br /&gt;
==Help, I accidentally hid the administration block without realising the consequences!==&lt;br /&gt;
&lt;br /&gt;
# Go to &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Unhide the settings block by clicking the closed eye icon opposite it&lt;br /&gt;
&lt;br /&gt;
==I accidentally deleted the navigation (or administration) block!==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; (or via the URL &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;) and unprotect the navigation block by clicking the padlock icon&lt;br /&gt;
# Turn editing on in any course&lt;br /&gt;
# Go to the front page and use the &#039;Add a block&#039; dropdown menu to add a navigation block there, setting it to display throughout the entire site&lt;br /&gt;
# Go back to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; and re-protect the navigation block.&lt;br /&gt;
&lt;br /&gt;
The above method works the same for the navigation and administration blocks.&lt;br /&gt;
&lt;br /&gt;
==My Administration block links don&#039;t expand!==&lt;br /&gt;
&lt;br /&gt;
This has been noticed as a Javascript problem. Given the many possible factors behind this issue, a clear-cut solution hasn&#039;t been found. Please try to:&lt;br /&gt;
&lt;br /&gt;
1. Use another browser or use another version of the same browser (try both, lower and higher versions).&lt;br /&gt;
&lt;br /&gt;
;2. [[Purge all cache]] (Administration &amp;gt; Development &amp;gt; Purge all caches): [http://yoursite.com/admin/purgecaches.php yoursite.com/admin/purgecaches.php]&lt;br /&gt;
&lt;br /&gt;
;3. Change the Use slash arguments option --[[HTTP]]-- (Administration &amp;gt; Server &amp;gt; HTTP): [http://yoursite.com/admin/settings.php?section=http yoursite.com/admin/settings.php?section=http]&lt;br /&gt;
&lt;br /&gt;
;4. Try different settings at the [[AJAX and Javascript settings]] page (Administration &amp;gt; Appearance &amp;gt; AJAX and Javascript): [http://yoursite.com/admin/settings.php?section=ajax yoursite.com/admin/settings.php?section=ajax]&lt;br /&gt;
&lt;br /&gt;
* Enabling the Use online YUI libraries (&#039;&#039;useexternalyui&#039;&#039;) sometimes has solved the problem (see [http://tracker.moodle.org/browse/MDL-31678 tracker.moodle.org/browse/MDL-31678]).&lt;br /&gt;
&lt;br /&gt;
5. [http://www.enable-javascript.com/ Turn off Javascript] in your browser (the site shows how to enable Javascript, so do the opposite)&lt;br /&gt;
&lt;br /&gt;
6. [http://www.java.com/en/download/help/disable_browser.xml Turn off Java] (you should have it disabled anyway, unless you really need it)&lt;br /&gt;
&lt;br /&gt;
;7. Try using another theme: [http://yoursite.com/theme/index.php yoursite.com/theme/index.php]&lt;br /&gt;
&lt;br /&gt;
You should also:&lt;br /&gt;
&lt;br /&gt;
;1 Enable [[Debugging]] (Administration &amp;gt; Development &amp;gt; Debugging): [http://yoursite.com/admin/settings.php?section=debugging yoursite.com/admin/settings.php?section=debugging]&lt;br /&gt;
&lt;br /&gt;
2. Check if your browser is showing some warning or error indications (watch the status bar).&lt;br /&gt;
&lt;br /&gt;
For advice, see  this forum thread https://moodle.org/mod/forum/discuss.php?d=166994 or this one https://moodle.org/mod/forum/discuss.php?d=200243. For more details, please see this tracker MDL-31678.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=2121 Blocks forum]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=195874 More problems with &amp;quot;Sticky&amp;quot; blocks in 2.2] with instructions on how to make blocks appear on all course pages&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Block_FAQ]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=106530</id>
		<title>Installing AMP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=106530"/>
		<updated>2013-09-04T19:34:02Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
AMP, stands for &#039;&#039;&#039;A&#039;&#039;&#039;pache, &#039;&#039;&#039;M&#039;&#039;&#039;ySQL &amp;amp; &#039;&#039;&#039;P&#039;&#039;&#039;HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;All-in-one&#039; Moodle installers for Windows and OSX are available at http://httpd.apache.org/docs/2.0/install.html (not intended for &#039;production&#039; sites). &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== First a word about PostgreSQL ==&lt;br /&gt;
&lt;br /&gt;
If you would prefer to use the PostgreSQL database (and you should consider it) you can - when using the package type installers - just install it instead of MySQL. MySQL tends to be the universal choice with the simpler &#039;one-click&#039; installers. For a &#039;one-click&#039; installer with PostgreSQL, Apache and PHP you can check [http://bitnami.com BitNami], it supports Windows ([http://bitnami.com/stack/wapp WAPP]), Linux ([http://bitnami.com/stack/lapp LAPP]) and Mac ([http://bitnami.com/stack/mapp MAPP]).&lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
OSX comes with a suitable [[Apache]] web server and a not so suitable PHP (it doesn&#039;t have all the required extensions). &lt;br /&gt;
&lt;br /&gt;
Here are some other possibilities (all are documented so this is not repeated here):&lt;br /&gt;
* Liip &#039;one click&#039; installer from http://php-osx.liip.ch/. Note that it is primarily biased towards developers.&lt;br /&gt;
* [http://www.mamp.info/ MAMP]: One click installer - easy to use and well documented. Probably only suitable for personal use. &lt;br /&gt;
* [http://www.ampps.com/   Softaculous AMPPS]: Another one click installer - for both Windows and OSX this time.&lt;br /&gt;
* [http://www.macports.org/ MacPorts]: A complete Linux-style package repository. You will find the AMP components here. See [https://trac.macports.org/wiki/howto/MAMP Getting Apache, MySQL, and PHP Running under MacPorts]&lt;br /&gt;
* [http://www.finkproject.org/ Fink]: an alternative to MacPorts.&lt;br /&gt;
* [http://bitnami.com/stack/mamp BitNami MAMP Stack]: On &#039;one-click&#039; installer with for MySQL, Apache and PHP which supports the BitNami applications modules to installed on top of it like the [http://bitnami.com/stack/mamp/modules#moodle BitNami Moodle module].&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
You should install the packages from your distribution&#039;s repository for [[Apache]], [[PHP]] and MySQL. You will almost certainly need additional extensions for [[PHP]] (e.g. the extension for the database). The packaged versions of Moodle are not recommended (it&#039;s not much harder to install from moodle.org download)&lt;br /&gt;
&lt;br /&gt;
See (for example):&lt;br /&gt;
* Ubuntu - https://help.ubuntu.com/community/ApacheMySQLPHP&lt;br /&gt;
* Debian - http://wiki.debian.org/LaMp&lt;br /&gt;
* RedHat / Centos - http://www.howtoforge.com/quick-n-easy-lamp-server-centos-rhel&lt;br /&gt;
* SuSE / OpenSuSE - http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/&lt;br /&gt;
&lt;br /&gt;
While one-click installers (e.g. XAMPP or BitNami LAMP Stack) exist for Linux, it is so simple to install the components the &amp;quot;right&amp;quot; way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support. &lt;br /&gt;
&lt;br /&gt;
Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Windows has slightly more variations as you can use [[Apache]] or Microsoft&#039;s [[IIS]] Web Servers. The following one-click Web server installers include the Apache Web server, the MySQL database server, the PHP scripting language and the phpMyAdmin database (MySQL) manager. Some may include other components.&lt;br /&gt;
&lt;br /&gt;
* [http://www.wampserver.com/en/ WampServer]: One of the best installers for Windows.&lt;br /&gt;
* [http://bitnami.com/stack/wamp BitNami WAMP Stack]: A very good installer that allows other [http://bitnami.com/stacks BitNami Stacks] to be installed on top, like the [http://bitnami.com/stack/moodle BitNami Moodle Stack].&lt;br /&gt;
* [http://www.easyphp.org/ EasyPHP]: A good and known popular alternative.&lt;br /&gt;
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known installer for Windows. It should only be used for development or as a personal web server.&lt;br /&gt;
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: Instructions to install PHP on all manner of Windows and Web server variations.&lt;br /&gt;
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer. &lt;br /&gt;
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows.&lt;br /&gt;
&lt;br /&gt;
=== Installer packages and components ===&lt;br /&gt;
&lt;br /&gt;
The following table lists the components and versions of each package (as of September 4, 2013):&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; height:75px&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;Product&#039;&#039;&#039; || &#039;&#039;&#039;Version&#039;&#039;&#039; || &#039;&#039;&#039;Httpd (Apache)&#039;&#039;&#039; || &#039;&#039;&#039;PHP&#039;&#039;&#039; || &#039;&#039;&#039;MySQL&#039;&#039;&#039; || &#039;&#039;&#039;PHPMyAdmin&#039;&#039;&#039; || &#039;&#039;&#039;Address&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| WampServer || 2.4 || 2.4.4 || 5.4.16 || 5.6.12 || 4.0.4 || [http://www.wampserver.com/en/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| || 2.2e || 2.4.2 || 5.4.3 || 5.5.24 || 3.4.10.1 || &lt;br /&gt;
|- &lt;br /&gt;
| BitNami WAMP Stack || 5.4.19-0 || 2.4.4 || 5.4.19 || 5.5.32 || 4.0.5 || [http://bitnami.org/stack/wampstack/ Web page] &lt;br /&gt;
|- &lt;br /&gt;
| || 5.3.26-0 || 2.4.4 || 5.3.26 || 5.5.30 || 4.0.0 ||&lt;br /&gt;
|- &lt;br /&gt;
| EasyPHP || 13.1 || 2.4.4 VC11 || 5.[5-2].x || 5.6.11 || 4.0.3 || [http://www.easyphp.org/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| || 13.1 || 2.4.4 VC9 || 5.[4-2].x || 5.6.11 || 3.5.8.1 ||&lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.8.3 || 2.4.4 || 5.5.3 || 5.6.11 || 4.0.4 || [http://www.apachefriends.org/en/xampp-windows.html Web page]&lt;br /&gt;
|- &lt;br /&gt;
| || 1.8.2 || 2.4.4 || 5.4.19 || 5.5.32 || 4.0.4 ||&lt;br /&gt;
|- &lt;br /&gt;
| ----------------- || --------- || ---------- || ------------- || ------ || ------- || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.4 || 2.2.17 || 5.3.5 || 5.5.8 || 3.3.9 || &lt;br /&gt;
|- &lt;br /&gt;
| || 1.7.1 || 2.2.11 || 5.2.9 || 5.1.33 || 3.1.3.1 || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important Notes&#039;&#039;&#039;&lt;br /&gt;
* PHP 5.5.x versions are built with VC11 (Visual Studio 2012 compiler). These builds require you to have the Visual C++ Redistributable for Visual Studio 2012 [http://www.microsoft.com/en-us/download/details.aspx?id=30679/ x64/86] installed. These PHP versions &#039;&#039;&#039;do not&#039;&#039;&#039; work in windows XP nor in Windows Server 2003.&lt;br /&gt;
&lt;br /&gt;
* PHP 5.4.x versions are built with VC9 (Visual Studio 2008 compiler). These builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 [http://www.microsoft.com/en-us/download/details.aspx?id=5582/ x86] or [http://www.microsoft.com/en-us/download/details.aspx?id=15336/ x64] installed. These PHP versions &#039;&#039;&#039;are the last&#039;&#039;&#039; to support windows XP.&lt;br /&gt;
&lt;br /&gt;
* XAMPP packages 1.7.4 and 1.7.1 were included in the table because those are the versions on which the [http://download.moodle.org/windows/ Windows Moodle Packages] are built: from Moodle 2.1.x to 2.5.x with XAMPP 1.7.4; and Moodle 1.9.19+ with XAMPP 1.7.1.&lt;br /&gt;
&lt;br /&gt;
* Moodle version 2.0.x isn&#039;t available any more as a Windows Moodle Distribution.&lt;br /&gt;
&lt;br /&gt;
==Vista and Windows 7==&lt;br /&gt;
&lt;br /&gt;
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.&lt;br /&gt;
&lt;br /&gt;
Here are some things you might want to try:&lt;br /&gt;
&lt;br /&gt;
* A simple one is to use http://bitnami.org/stack/moodle&lt;br /&gt;
* Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista. &lt;br /&gt;
* For personal (evaluation) use - install XAMPP or EasyPHP and then Moodle using the normal installation instructions.&lt;br /&gt;
&lt;br /&gt;
[[es:Instalación AMP]]&lt;br /&gt;
[[fr:Installation de AMP]]&lt;br /&gt;
[[ja:AMPのインストール]]&lt;br /&gt;
[[ru:Установка AMP]]&lt;br /&gt;
[[pl:Instalacja AMP]]&lt;br /&gt;
[[de:Installation von Apache, MySQL und PHP]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=admin/environment/php_extension/curl&amp;diff=106529</id>
		<title>admin/environment/php extension/curl</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=admin/environment/php_extension/curl&amp;diff=106529"/>
		<updated>2013-09-04T17:10:50Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Environment}}&lt;br /&gt;
== Windows ==&lt;br /&gt;
To install the curl library on Windows&lt;br /&gt;
&lt;br /&gt;
# Open the &#039;&#039;php.ini&#039;&#039; file found in the &#039;&#039;php/php.ini&#039;&#039; folder (older versions of XAMPP use &#039;&#039;moodle/apache/bin&#039;&#039; folder) &lt;br /&gt;
# Find the line: &amp;lt;code&amp;gt;;extension=php_curl.dll&amp;lt;/code&amp;gt;&lt;br /&gt;
# Remove the &amp;lt;code&amp;gt;;&amp;lt;/code&amp;gt; at the beginning of the line&lt;br /&gt;
# Restart Apache&lt;br /&gt;
&lt;br /&gt;
If you still get an error message after doing these steps, then:&lt;br /&gt;
&lt;br /&gt;
* Go to the &#039;&#039;php&#039;&#039; folder.&lt;br /&gt;
* Copy the &amp;lt;code&amp;gt;icudt##.dll&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;icuin##.dll&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;icuuc##.dll&amp;lt;/code&amp;gt; files (where &#039;&#039;##&#039;&#039; is a two digit number, for example: 36 or 49).&lt;br /&gt;
* Go to the Apache &#039;&#039;bin&#039;&#039; directory.&lt;br /&gt;
* Paste the three files:&lt;br /&gt;
   apache/bin/icudt&#039;&#039;49&#039;&#039;.dll&lt;br /&gt;
   apache/bin/icuin&#039;&#039;49&#039;&#039;.dll&lt;br /&gt;
   apache/bin/icuuc&#039;&#039;49&#039;&#039;.dll&lt;br /&gt;
* Restart your Apache web server and retry your Moodle install process.&lt;br /&gt;
&lt;br /&gt;
Tip: If it appears that WAMP comes with/has a corrupt curl.dll version, see the forum.wampserver.com thread [http://forum.wampserver.com/read.php?2,85716,93286 Wamp Server 2.2 Windows 7 64-bit and curl not working side-by-side configuration incorrect] for details of the problem together with a fix.&lt;br /&gt;
&lt;br /&gt;
== Unix  ==&lt;br /&gt;
To install the curl library on Unix&lt;br /&gt;
&lt;br /&gt;
# You need to recompile PHP from source &lt;br /&gt;
# add &#039;&#039;&#039;--with-curl&#039;&#039;&#039; to the command line when you run &#039;&#039;&#039;configure&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu and Debian ===&lt;br /&gt;
To install the curl library on Ubuntu and Debian&lt;br /&gt;
&lt;br /&gt;
  aptitude install php5-curl&lt;br /&gt;
* Restart apache if necessary: &lt;br /&gt;
 sudo /etc/init.d/apache2 restart &lt;br /&gt;
or possibly &lt;br /&gt;
 sudo /etc/init.d/apache restart &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Environment|PHP extension]]&lt;br /&gt;
[[Category:MNet|PHP]]&lt;br /&gt;
&lt;br /&gt;
[[fr:admin/environment/php extension/curl]]&lt;br /&gt;
[[ja:admin/environment/php extension/curl]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=106156</id>
		<title>Blocks FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Blocks_FAQ&amp;diff=106156"/>
		<updated>2013-07-24T06:51:28Z</updated>

		<summary type="html">&lt;p&gt;Gmads: /* My Administration block links don&amp;#039;t expand! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Blocks}}&lt;br /&gt;
==How do I hide front page blocks from non-logged-in users?==&lt;br /&gt;
&lt;br /&gt;
# Click the &amp;quot;Turn editing on&amp;quot; button at the top-right of the front page. (You need to be logged in as an administrator.)&lt;br /&gt;
# Click the assign roles icon (often a face and mask) in the header of the block to be hidden. (&#039;&#039;&#039;NOTE&#039;&#039;&#039;: Don&#039;t worry if you get an error message saying you are not able to assign roles ;) )&lt;br /&gt;
# Scroll down to the settings block and click the Permissions link&lt;br /&gt;
# [[File:Blockassign.png]]&lt;br /&gt;
# In the &#039;&#039;View block&#039;&#039; section, click the X next to &#039;&#039;Guest&#039;&#039;&lt;br /&gt;
# Click the &amp;quot;Save changes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
==How do I get rid of a link in &amp;quot;Site Pages&amp;quot; in the Navigation block?==&lt;br /&gt;
When a resource or activity (like a page, file or forum) is added to the [[Main menu block]]  on the front page, it will appear in the Site Pages of the Navigation block. To remove this link, turn on the editing on the front page, go to or add the [[Main menu block]] and click to delete the item.&lt;br /&gt;
&lt;br /&gt;
==How do I make a front page block visible to teachers but not students?==&lt;br /&gt;
It is possible to control who sees block on the front page. The following applies to any specified group of people, not just teachers and students.&lt;br /&gt;
# Ensure you have hidden your block  from non-logged in users as  in the instructions above.&lt;br /&gt;
# In  &#039;&#039;Administration&amp;gt;Site administration&amp;gt;Users&amp;gt;Permissions&amp;gt;Define roles&#039;&#039;, click on &amp;quot;authenticated user on the front page&amp;quot;&lt;br /&gt;
# In the context type, select &amp;quot;block&amp;quot; &lt;br /&gt;
# Set &#039;&#039;moodle/block:view&#039;&#039; to &amp;quot;allow&amp;quot;. Save the changes.&lt;br /&gt;
#Turn editing on on your front page.&lt;br /&gt;
#Click the &amp;quot;assign roles &amp;quot; icon on your block.&lt;br /&gt;
#Click the blue words of &amp;quot;authenticated user on the front page&amp;quot; to access the screen where you can choose who you want to allow to see this block (such as your teachers) by moving them from the right hand box to the left.&lt;br /&gt;
#Now click &amp;quot;Permissions&amp;quot; in the Administration block.&lt;br /&gt;
#Click the X next to &amp;quot;authenticated user&amp;quot; to prevent them viewing this block.&lt;br /&gt;
#From now on, regular authenticated users will not be able to see the block. However, those who have been given the role of &amp;quot;authenticated user on the front page&amp;quot; will be able to see it.&lt;br /&gt;
&lt;br /&gt;
==How can I change a Block item name from a list inside a block?==&lt;br /&gt;
You can change an item name in  &#039;&#039;Settings&amp;gt;Site Administration &amp;gt; Language&amp;gt; Language customization&#039;&#039; Select the &#039;moodle.php&#039; file then search for the words you need to alter.  &lt;br /&gt;
&lt;br /&gt;
==How to I make a block &amp;quot;sticky&amp;quot;?==&lt;br /&gt;
See [[Block settings]]. Using the edit icon in the block heading, go to the configuration page.  Look for the &amp;quot;Where this block appears&amp;quot; group and &amp;quot;Display on page types&amp;quot;.  Depending upon your current context and permissions, you will see different options.  One maybe &amp;quot;All pages&amp;quot; or &amp;quot;Any type of course main page&amp;quot;, and others.&lt;br /&gt;
&lt;br /&gt;
==Where did that block come from?  I do not want it!==&lt;br /&gt;
Your site administrator or some one with more permissions than you decided that block should be there. It is possible to force a block to appear on other pages.  For example, a site administrator my force a HTML block on every main course page and determine where it will be, so they may put site messages there.   &lt;br /&gt;
&lt;br /&gt;
Your site administrator can tell where every instance of a block appears via [[Blocks administration]].&lt;br /&gt;
&lt;br /&gt;
==How can I decide the order in which blocks are docked?==&lt;br /&gt;
Blocks are &amp;quot;docked&amp;quot;, from top to bottom (usually on the left) in the order in which you dock them.&lt;br /&gt;
&lt;br /&gt;
==How can I add a block to all user profile pages?==&lt;br /&gt;
&lt;br /&gt;
See [[User profiles]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==How can I prevent users from adding blocks to their My home page?==&lt;br /&gt;
&lt;br /&gt;
See [[My home]] for instructions.&lt;br /&gt;
&lt;br /&gt;
==The blocks have disappeared from the front page/course page!==&lt;br /&gt;
This can sometimes be caused by users pasting from Microsoft Word which corrupts the formatting. See this forum post for more details https://moodle.org/mod/forum/discuss.php?d=217390#p958884&lt;br /&gt;
&lt;br /&gt;
==Help, I accidentally hid the administration block without realising the consequences!==&lt;br /&gt;
&lt;br /&gt;
# Go to &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
# Unhide the settings block by clicking the closed eye icon opposite it&lt;br /&gt;
&lt;br /&gt;
==I accidentally deleted the navigation (or administration) block!==&lt;br /&gt;
&lt;br /&gt;
# Go to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; (or via the URL &amp;lt;nowiki&amp;gt;http://yourmoodlesite.org/admin/blocks.php&amp;lt;/nowiki&amp;gt;) and unprotect the navigation block by clicking the padlock icon&lt;br /&gt;
# Turn editing on in any course&lt;br /&gt;
# Go to the front page and use the &#039;Add a block&#039; dropdown menu to add a navigation block there, setting it to display throughout the entire site&lt;br /&gt;
# Go back to &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Blocks &amp;gt; Manage blocks&#039;&#039; and re-protect the navigation block.&lt;br /&gt;
&lt;br /&gt;
The above method works the same for the navigation and administration blocks.&lt;br /&gt;
&lt;br /&gt;
==My Administration block links don&#039;t expand!==&lt;br /&gt;
&lt;br /&gt;
This has been noticed as a javascript problem. You can try to:&lt;br /&gt;
&lt;br /&gt;
# Use another browser or another version (try both, lower and higher versions).&lt;br /&gt;
# [[Purge all cache]] (Administration &amp;gt; Development &amp;gt; Purge all caches).&lt;br /&gt;
# Change the Use slash arguments option ([[HTTP]] --Administration &amp;gt; Server &amp;gt; HTTP).&lt;br /&gt;
# Try different settings at the [[AJAX and Javascript settings]] page (Administration &amp;gt; Appearance &amp;gt; AJAX and Javascript).&lt;br /&gt;
# Turn off Java in your browser.&lt;br /&gt;
&lt;br /&gt;
You should also:&lt;br /&gt;
&lt;br /&gt;
# Enable [[Debugging]] (Administration &amp;gt; Development &amp;gt; Debugging).&lt;br /&gt;
# Check if your browser is showing some warning or error indications (watch the status bar).&lt;br /&gt;
&lt;br /&gt;
For advice, see  this forum thread https://moodle.org/mod/forum/discuss.php?d=166994 and for more details this tracker MDL-31678.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?id=2121 Blocks forum]&lt;br /&gt;
&lt;br /&gt;
Using Moodle forum discussions:&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=195874 More problems with &amp;quot;Sticky&amp;quot; blocks in 2.2] with instructions on how to make blocks appear on all course pages&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[de:Block_FAQ]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=96225</id>
		<title>Installing AMP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=96225"/>
		<updated>2012-03-04T00:40:05Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
AMP, stands for &#039;&#039;&#039;A&#039;&#039;&#039;pache, &#039;&#039;&#039;M&#039;&#039;&#039;ySQL &amp;amp; &#039;&#039;&#039;P&#039;&#039;&#039;HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;All-in-one&#039; Moodle installers for Windows and OSX are available at http://httpd.apache.org/docs/2.0/install.html (not intended for &#039;production&#039; sites). &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== First a word about PostgreSQL ==&lt;br /&gt;
&lt;br /&gt;
If you would prefer to use the PostgreSQL database (and you should consider it) you can - when using the package type installers - just install it instead of MySQL. MySQL tends to be the universal choice with the simpler &#039;one-click&#039; installers. &lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
OSX comes with a suitable [[Apache]] web server and a not so suitable PHP (it doesn&#039;t have all the required extensions). &lt;br /&gt;
&lt;br /&gt;
Here are some other possibilities (all are documented so this is not repeated here):&lt;br /&gt;
* Liip &#039;one click&#039; installer from http://php-osx.liip.ch/. Note that it is primarily biased towards developers.&lt;br /&gt;
* [http://www.mamp.info/ MAMP]: One click installer - easy to use and well documented. Probably only suitable for personal use. &lt;br /&gt;
* [http://www.ampps.com/   Softaculous AMPPS]: Another one click installer - for both Windows and OSX this time.&lt;br /&gt;
* [http://www.macports.org/ MacPorts]: A complete Linux-style package repository. You will find the AMP components here. See [https://trac.macports.org/wiki/howto/MAMP Getting Apache, MySQL, and PHP Running under MacPorts]&lt;br /&gt;
* [http://www.finkproject.org/ Fink]: an alternative to MacPorts.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
You should install the packages from your distribution&#039;s repository for [[Apache]], [[PHP]] and MySQL. You will almost certainly need additional extensions for [[PHP]] (e.g. the extension for the database). The packaged versions of Moodle are not recommended (it&#039;s not much harder to install from moodle.org download)&lt;br /&gt;
&lt;br /&gt;
See (for example):&lt;br /&gt;
* Ubuntu - https://help.ubuntu.com/community/ApacheMySQLPHP&lt;br /&gt;
* Debian - http://wiki.debian.org/LaMp&lt;br /&gt;
* RedHat / Centos - http://www.howtoforge.com/quick-n-easy-lamp-server-centos-rhel&lt;br /&gt;
* SuSE / OpenSuSE - http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/&lt;br /&gt;
&lt;br /&gt;
While one-click installers (e.g. XAMPP) exist for Linux, it is so simple to install the components the &amp;quot;right&amp;quot; way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support. &lt;br /&gt;
&lt;br /&gt;
Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Windows has slightly more variations as you can use [[Apache]] or Microsoft&#039;s [[IIS]] web servers. Again, here are some pointers&lt;br /&gt;
&lt;br /&gt;
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known one-click installer for Windows. Lots of documentation and discussion around. Definitely only for a personal web server&lt;br /&gt;
* [http://www.easyphp.org/ EasyPHP]: Another popular alternative to the above&lt;br /&gt;
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: A lengthy list of instructions for installing PHP on all manner of Windows and web server variations&lt;br /&gt;
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer. &lt;br /&gt;
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows&lt;br /&gt;
&lt;br /&gt;
=== Installer packages and components ===&lt;br /&gt;
&lt;br /&gt;
As a reference, the following table lists the components of each package and its version (as of March 3, 2012):&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; height:75px&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;Product&#039;&#039;&#039; || &#039;&#039;&#039;Version&#039;&#039;&#039; || &#039;&#039;&#039;Httpd (Apache)&#039;&#039;&#039; || &#039;&#039;&#039;PHP&#039;&#039;&#039; || &#039;&#039;&#039;MySQL&#039;&#039;&#039; || &#039;&#039;&#039;PHPMyAdmin&#039;&#039;&#039; || &#039;&#039;&#039;Address&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| WampServer || 2.2d || 2.2.21 || 5.3.10 || 5.5.20 || 3.4.10.1 || [http://www.wampserver.com/en/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| BitNami WAMP Stack || 5.3.10-0 || 2.2.21 || 5.3.10 || 5.5.16 || 3.4.9 || [http://bitnami.org/stack/wampstack/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| BitNami WAMP Stack || 5.4.0-0 || 2.4.1 || 5.4.0 || 5.5.16 || 3.4.10.1 || &lt;br /&gt;
|- &lt;br /&gt;
| EasyPHP || 5.3.9 || 2.2.21 VC9 || 5.3.9 VC9 || 5.5.20 || 3.4.9 || [http://www.easyphp.org/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| EasyPHP || 5.4.0 RC4 || 2.2.21 VC9 || 5.4.0 RC4 VC9 || 5.5.19 || 3.4.9 || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.7 || 2.2.21 || 5.3.8 || 5.5.16 || 3.4.5 || [http://www.apachefriends.org/en/xampp-windows.html Web page]&lt;br /&gt;
|- &lt;br /&gt;
| ----------------- || --------- || ---------- || ------------- || ------ || ------- || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.4 || 2.2.17 || 5.3.5 || 5.5.8 || 3.3.9 || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.1 || 2.2.11 || 5.2.9 || 5.1.33 || 3.1.3.1 || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As it can be seen, the WampServer package includes the most up-to-date components (though not necessarily the latest). Versions 1.7.1 and 1.7.4 of the XAMPP package were included because those are the versions on which the [http://download.moodle.org/windows/ Windows Moodle Package] are built (1.9.16 &amp;amp; 2.0.7 are under 1.7.1, and 2.1.4 &amp;amp; 2.2.1 under 1.7.4).&lt;br /&gt;
&lt;br /&gt;
==Vista and Windows 7==&lt;br /&gt;
&lt;br /&gt;
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.&lt;br /&gt;
&lt;br /&gt;
Here are some things you might want to try:&lt;br /&gt;
&lt;br /&gt;
* A simple one is to use http://bitnami.org/stack/moodle&lt;br /&gt;
* Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista. &lt;br /&gt;
* For personal (evaluation) use - install XAMPP or EasyPHP and then Moodle using the normal installation instructions.&lt;br /&gt;
&lt;br /&gt;
[[es:Instalación AMP]]&lt;br /&gt;
[[fr:Installation de AMP]]&lt;br /&gt;
[[ja:AMPのインストール]]&lt;br /&gt;
[[ru:Установка AMP]]&lt;br /&gt;
[[pl:Instalacja AMP]]&lt;br /&gt;
[[de:Installation von Apache, MySQL und PHP]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=96224</id>
		<title>Installing AMP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Installing_AMP&amp;diff=96224"/>
		<updated>2012-03-04T00:34:36Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
AMP, stands for &#039;&#039;&#039;A&#039;&#039;&#039;pache, &#039;&#039;&#039;M&#039;&#039;&#039;ySQL &amp;amp; &#039;&#039;&#039;P&#039;&#039;&#039;HP. This is not the only platform on which Moodle runs but is the most common and fine for basic installations. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;All-in-one&#039; Moodle installers for Windows and OSX are available at http://httpd.apache.org/docs/2.0/install.html (not intended for &#039;production&#039; sites). &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== First a word about PostgreSQL ==&lt;br /&gt;
&lt;br /&gt;
If you would prefer to use the PostgreSQL database (and you should consider it) you can - when using the package type installers - just install it instead of MySQL. MySQL tends to be the universal choice with the simpler &#039;one-click&#039; installers. &lt;br /&gt;
&lt;br /&gt;
== Mac OS X ==&lt;br /&gt;
&lt;br /&gt;
OSX comes with a suitable [[Apache]] web server and a not so suitable PHP (it doesn&#039;t have all the required extensions). &lt;br /&gt;
&lt;br /&gt;
Here are some other possibilities (all are documented so this is not repeated here):&lt;br /&gt;
* Liip &#039;one click&#039; installer from http://php-osx.liip.ch/. Note that it is primarily biased towards developers.&lt;br /&gt;
* [http://www.mamp.info/ MAMP]: One click installer - easy to use and well documented. Probably only suitable for personal use. &lt;br /&gt;
* [http://www.ampps.com/   Softaculous AMPPS]: Another one click installer - for both Windows and OSX this time.&lt;br /&gt;
* [http://www.macports.org/ MacPorts]: A complete Linux-style package repository. You will find the AMP components here. See [https://trac.macports.org/wiki/howto/MAMP Getting Apache, MySQL, and PHP Running under MacPorts]&lt;br /&gt;
* [http://www.finkproject.org/ Fink]: an alternative to MacPorts.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
You should install the packages from your distribution&#039;s repository for [[Apache]], [[PHP]] and MySQL. You will almost certainly need additional extensions for [[PHP]] (e.g. the extension for the database). The packaged versions of Moodle are not recommended (it&#039;s not much harder to install from moodle.org download)&lt;br /&gt;
&lt;br /&gt;
See (for example):&lt;br /&gt;
* Ubuntu - https://help.ubuntu.com/community/ApacheMySQLPHP&lt;br /&gt;
* Debian - http://wiki.debian.org/LaMp&lt;br /&gt;
* RedHat / Centos - http://www.howtoforge.com/quick-n-easy-lamp-server-centos-rhel&lt;br /&gt;
* SuSE / OpenSuSE - http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/&lt;br /&gt;
&lt;br /&gt;
While one-click installers (e.g. XAMPP) exist for Linux, it is so simple to install the components the &amp;quot;right&amp;quot; way that they seem pointless. Using the standard method will make it much easier for you to obtain help and support. &lt;br /&gt;
&lt;br /&gt;
Of course, if you wish to (or you need a particularly new version) you can compile all or some of the elements from source. All the elements have good documentation. The tricky one is PHP and some guidance for Debian/Ubuntu is here: [[Compiling PHP from source]]&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
Windows has slightly more variations as you can use [[Apache]] or Microsoft&#039;s [[IIS]] web servers. Again, here are some pointers&lt;br /&gt;
&lt;br /&gt;
* [http://www.apachefriends.org/en/xampp-windows.html XAMPP]: Probably the best known one-click installer for Windows. Lots of documentation and discussion around. Definitely only for a personal web server&lt;br /&gt;
* [http://www.easyphp.org/ EasyPHP]: Another popular alternative to the above&lt;br /&gt;
* [http://php.net/manual/en/install.windows.php Official PHP Documentation]: A lengthy list of instructions for installing PHP on all manner of Windows and web server variations&lt;br /&gt;
* [http://www.mysql.com/downloads/mysql/ MySQL]: Select Windows and download installer. &lt;br /&gt;
* [http://www.postgresql.org/download/windows/ PostgreSQL]: Download installer for Windows&lt;br /&gt;
&lt;br /&gt;
=== Installer packages and components ===&lt;br /&gt;
&lt;br /&gt;
As a reference, the following table lists the components of each package and its version (as of March 3, 2012):&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:75%; height:75px&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;Product&#039;&#039;&#039; || &#039;&#039;&#039;Version&#039;&#039;&#039; || &#039;&#039;&#039;Httpd (Apache)&#039;&#039;&#039; || &#039;&#039;&#039;PHP&#039;&#039;&#039; || &#039;&#039;&#039;MySQL&#039;&#039;&#039; || &#039;&#039;&#039;PHPMyAdmin&#039;&#039;&#039; || &#039;&#039;&#039;Address&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| WampServer || 2.2d || 2.2.21 || 5.3.10 || 5.5.20 || 3.4.10.1 || [http://www.wampserver.com/en/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| BitNami WAMP Stack || 5.3.10-0 || 2.2.21 || 5.3.10 || 5.5.16 || 3.4.9 || [http://bitnami.org/stack/wampstack/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| BitNami WAMP Stack || 5.4.0-0 || 2.4.1 || 5.4.0 || 5.5.16 || 3.4.10.1 || &lt;br /&gt;
|- &lt;br /&gt;
| EasyPHP || 5.3.9 || 2.2.21 VC9 || 5.3.9 VC9 || 5.5.20 || 3.4.9 || [http://www.easyphp.org/ Web page]&lt;br /&gt;
|- &lt;br /&gt;
| EasyPHP || 5.4.0 RC4 || 2.2.21 VC9 || 5.4.0 RC4 VC9 || 5.5.19 || 3.4.9 || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.7 || 2.2.21 || 5.3.8 || 5.5.16 || 3.4.5 || [http://www.apachefriends.org/en/xampp-windows.html Web page]&lt;br /&gt;
|- &lt;br /&gt;
| ----------------- || --------- || ---------- || ------------- || ------ || ------- || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.4 || 2.2.17 || 5.3.5 || 5.5.8 || 3.3.9 || &lt;br /&gt;
|- &lt;br /&gt;
| XAMPP || 1.7.1 || 2.2.11 || 5.2.9 || 5.1.33 || 3.1.3.1 || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
As it can be seen, the WampServer package includes the most up-to-date components. Versions 1.7.1 and 1.7.4 of the XAMPP package were included because those are the versions on which the [http://download.moodle.org/windows/ Windows Moodle Package] are built (1.9.16 &amp;amp; 2.0.7 are under 1.7.1, and 2.1.4 &amp;amp; 2.2.1 under 1.7.4).&lt;br /&gt;
&lt;br /&gt;
==Vista and Windows 7==&lt;br /&gt;
&lt;br /&gt;
Many people have trouble installing the stand alone local [http://download.moodle.org/windows/ Moodle for Windows] on Vista and Windows 7.&lt;br /&gt;
&lt;br /&gt;
Here are some things you might want to try:&lt;br /&gt;
&lt;br /&gt;
* A simple one is to use http://bitnami.org/stack/moodle&lt;br /&gt;
* Another solution is to look at these videos at [http://www.sebastiansulinski.co.uk/web_design_tutorials/tutorial/7/install_apache_php_and_mysql_on_windows_vista Sebastian Sulinski Design] for Windows Vista. &lt;br /&gt;
* For personal (evaluation) use - install XAMPP or EasyPHP and then Moodle using the normal installation instructions.&lt;br /&gt;
&lt;br /&gt;
[[es:Instalación AMP]]&lt;br /&gt;
[[fr:Installation de AMP]]&lt;br /&gt;
[[ja:AMPのインストール]]&lt;br /&gt;
[[ru:Установка AMP]]&lt;br /&gt;
[[pl:Instalacja AMP]]&lt;br /&gt;
[[de:Installation von Apache, MySQL und PHP]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=Cohorts&amp;diff=82114</id>
		<title>Cohorts</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=Cohorts&amp;diff=82114"/>
		<updated>2011-03-20T18:00:23Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Moodle 2.0}}Cohorts, or site-wide groups, enable all members of a cohort to be enrolled in a course in one action, either manually or synchronised automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A three minute Cohort in Moodle 2.0 video:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=FMWZW_n0eVI&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cohorts in Moodle 2.0 video:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mediaplayer&amp;gt;http://www.youtube.com/watch?v=dMqaeOGXuHQ&amp;lt;/mediaplayer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Creating a cohort==&lt;br /&gt;
&lt;br /&gt;
To create a cohort manually&lt;br /&gt;
&lt;br /&gt;
# Access &#039;&#039;Site administration &amp;gt; Users &amp;gt; Accounts &amp;gt; Cohorts&#039;&#039;&lt;br /&gt;
# Click the Add button&lt;br /&gt;
# Complete the form and click the &#039;Save changes&#039; button&lt;br /&gt;
# Follow the assign link opposite the cohort name in the list of available cohorts&lt;br /&gt;
# Select potential users from the list then click the Add button&lt;br /&gt;
&lt;br /&gt;
To synchronise cohort members with course participants, the &#039;&#039;Cohort sync&#039;&#039; enrolment plugin should be enabled in &#039;&#039;Site administration &amp;gt; Plugins &amp;gt; Enrolments &amp;gt; Manage enrol plugins&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Enrolling a cohort in a course==&lt;br /&gt;
&lt;br /&gt;
In order to actually enrol users from a Cohort into courses the &#039;&#039;Cohort-Sync&#039;&#039; Enrollment plugin needs to be added to the enrollment methods for the course. The Administrator will first need to enable the &#039;&#039;Cohort-Sync&#039;&#039; enrollment plugin site wide (Site administration &amp;gt; Plugins &amp;gt; Enrollments) and then add it to the required Course (Course administration &amp;gt; Users &amp;gt; Enrollment Methods). At this stage the &#039;&#039;Cohort-Sync&#039;&#039; instance for the course is edited and the appropriate Cohort selected. The role to which the Cohort users are assigned is also selected at this point (typically Student).&lt;br /&gt;
&lt;br /&gt;
Visiting the Course administration &amp;gt; Users &amp;gt; Enrolled Users page will show users enrolled via the &#039;&#039;Cohort-Sync&#039;&#039; plugin. &lt;br /&gt;
&lt;br /&gt;
Note that, by default, a teacher cannot add this plugin to their course. It needs to be configured by an Administrator or a user with the Manager role.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Development:Cohorts]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Cohortes]]&lt;br /&gt;
[[de:Globale Gruppen]]&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=File:T1_bot.png&amp;diff=76814</id>
		<title>File:T1 bot.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=File:T1_bot.png&amp;diff=76814"/>
		<updated>2010-10-16T08:15:20Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/502/en/index.php?title=File:T1_top.png&amp;diff=76813</id>
		<title>File:T1 top.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/502/en/index.php?title=File:T1_top.png&amp;diff=76813"/>
		<updated>2010-10-16T08:14:22Z</updated>

		<summary type="html">&lt;p&gt;Gmads: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Gmads</name></author>
	</entry>
</feed>