https://docs.moodle.org/31/en/api.php?action=feedcontributions&user=Newzeal&feedformat=atomMoodleDocs - User contributions [en]2024-03-29T05:12:20ZUser contributionsMediaWiki 1.39.6https://docs.moodle.org/31/en/index.php?title=Filters&diff=9034Filters2006-04-27T21:26:16Z<p>Newzeal: </p>
<hr />
<div>'''Filters''' allow for the for the automatic transformation of entered text into different, often more complex forms. For example the titles of [[Resources]] can automatically become hyperlinks that take you to the relevant resource, URLs pointing to [[mp3]] files can become [[Flash]] controls embedded in the webpage that let you pause and rewind the audio. The possibilities are endless and there are a number of standard filters included with Moodle and many more specialized filters contributed by the community.<br />
<br />
Filters may be added or removed simply by using a file manager to add or remove them to the /filters directory. Moodle detects those that are present and makes them available to use.<br />
<br />
==Filters administration screen==<br />
{{Moodle 1.6}}<br />
Cache Controls<br />
<br />
* Text cache lifetime<br />
* Filter uploaded files<br />
* Filter match once per page<br />
* Filter match once per text<br />
* Filter all strings<br />
<br />
==Algebra==<br />
<br />
This filter will convert algebra code into GIF images. It requires the tex filter to be installed ([[#TeX notation|see below]]).<br />
<br />
==Glossary auto-linking==<br />
<br />
As the name suggests, this filter enables automatic linking of [[mod/glossary/index|glossary]] entries. In addition to this filter, individual glossary entries should have the "This entry should be automatically linked" box checked.<br />
<br />
It's possible to fine-tune text filtering by adding the following lines from ''config-dist.php'' to ''config.php'' and removing the //.<br />
<br />
// Enabling this will make most text-based filters only match the first time<br />
// a phrase occurs in a given text. Otherwise all are matched.<br />
// $CFG->filtermatchonepertext = true;<br />
<br />
==Multimedia plugins==<br />
<br />
The [[Multimedia plugins]] filter looks for links to various media and replaces them with a proper plugin.<br />
<br />
==Multi-language content==<br />
<br />
This filter enables resources to be created in multiple languages. It looks for <lang> tags which indicate that a text contains multiple languages. Then it selects and outputs the best language for the current user. The language of the resource will change when the user changes their selected Moodle language. <br />
<br />
To use this feature first create your contents in multiple languages (in the same resource). Then enclose each language block in the following tags:<br />
<br />
<lang lang="XX">your_content_here</lang><br />
<lang lang="YY">your_content_in_other_language_here</lang><br />
<br />
==TeX notation==<br />
<br />
The [[TeX Filter]] converts TeX code into GIF images. It requires a binary program called [[MimeTeX]] - versions for Linux (glib2.3), Windows and Mac OS X are included.<br />
<br />
==Tidy==<br />
<br />
The tidy filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled. The discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.<br />
<br />
==Word censorship==<br />
{{Moodle 1.6}}<br />
* [[Word censorship|Word censorship in 1.6]] <br />
<br />
To enable word censorship in 1.5,<br />
{{Moodle 1.5}}<br />
* Activate the word censorship filter<br />
* Edit ''config.php'' in in the root folder<br />
* Under <code>// 7. OTHER MISCELLANEOUS SETTINGS</code> add the line<br />
$CFG->textfilter1 = 'filter/censor/filter.php';<br />
* Edit ''lang/xx/censor.php'', adding any words you wish to ban<br />
* Type some bad words in the HTML editor, as a test. After saving your post, all bad words will be blacked out.<br />
<br />
==Non-standard filters==<br />
<br />
* [[Jmol filter|Jmol]] - for interactive 3D viewing of molecular structures<br />
* [[Code Syntax Highlighting]] - for more readable excerpts of programming languages including [[PHP]], [[HTML]], [[CSS]], and XML amongst many others<br />
<br />
==See also==<br />
<br />
*[http://download.moodle.org/modules/filters.php Moodle Download: Filters]<br />
*[http://moodle.org/mod/forum/discuss.php?d=37119 Multimedia plugin vs object embed] forum discussion<br />
*[http://moodle.org/mod/forum/discuss.php?d=29588 Size of embedded Flash] forum discussion<br />
<br />
[[Category:Administrator|Admin/filter]]<br />
[[Category:Filter|Admin/filter]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_activities&diff=9033Managing activities2006-04-27T21:24:45Z<p>Newzeal: </p>
<hr />
<div>Location: Administration >> [[Configuration]] >> Modules <br />
<br />
Your Moodle distribution comes with a standard set of modules and developers are constantly making new ones. You may add or remove modules as follows:<br />
<br />
To remove, click on delete next to the module you wish to remove. You will then need to use a file manager to remove/delete the actual module directory from moodle/mods, otherwise Moodle will reinstall it next time you visit the admin page.<br />
<br />
To add, simply use a file manager to copy the relevant directory into /mods and visit the admin page to complete the install.<br />
<br />
==Module configuration==<br />
<br />
*[[Assignment configuration|Assignment]]<br />
*[[Chat configuration|Chat]]<br />
*[[Database configuration|Database]] (1.6)<br />
*[[Forum configuration|Forum]]<br />
*[[Glossary configuration|Glossary]]<br />
*[[Hotpot configuration|Hotpot]] (1.6)<br />
*[[LAMS configuration|LAMS]] (1.6)<br />
*[[Quiz configuration|Quiz]]<br />
*[[Resource configuration|Resource]]<br />
*[[SCORM/AICC configuration|SCORM/AICC]]<br />
<br />
[[Category:Administrator]]<br />
[[category:Module]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_blocks&diff=9020Managing blocks2006-04-26T23:37:43Z<p>Newzeal: </p>
<hr />
<div>Location:admin>>configuration>>blocks <br />
<br />
The '''blocks''' configuration page allows you to manage installed blocks and their settings. <br />
<br />
You may add new blocks simply by using a file manager to copy the new block as a directory into the moodle/blocks directory and Moodle will install it next time you go into admin>>configuration. Moodle uses the name of the directory as the name of the block. The same applies for blocks which you delete and wish to reinstall later.<br />
<br />
== Instances ==<br />
<br />
This number tells you how many times a particular type of block is used in the courses on your Moodle site.<br />
<br />
== Multiple ==<br />
<br />
Some blocks can be added multiple times to the same course. This of course is supported only by blocks for which it makes sense. For example, it makes sense to have two HTML blocks (and configure each one to show something different), but it doesn't make sense to have two Administration blocks. For those blocks which do support multiple instances, the administrator can choose to allow it or not.<br />
<br />
== Delete==<br />
<br />
To delete a block click here and it will be removed from Moodle. However you will need to use a file manager and remove/delete the actual module directory from the moodle/blocks directory, otherwise Moodle will reinstall it next time you go into admin>>configuration.<br />
<br />
<br />
==See also==<br />
<br />
*[[Block layout]]<br />
<br />
[[Category:Administrator]]<br />
[[Category:Block]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_activities&diff=9019Managing activities2006-04-26T23:35:14Z<p>Newzeal: </p>
<hr />
<div>Location: Admin>>configuraton>>modules. <br />
<br />
Manage installed modules and their settings.<br />
<br />
Your Moodle distribution will come with a given set of modules and developers are constantly making new ones. You may add or delete modules as follows:<br />
<br />
To remove, click on delete next to the module you wish to remove. You will then need to use a file manager to remove/delete the actual module directory from moodle/mods, otherwise Moodle will reinstall it next time you go into admin>>configuration.<br />
<br />
To add, simply use a file manager to copy the relevant directory into /mods and go into admin>>configuration and it will reinstall.<br />
<br />
Configuring separate modules:<br />
<br />
*[[Assignment configuration]]<br />
*[[Chat configuration]]<br />
*[[Database configuration]] (1.6)<br />
*[[Forum configuration]]<br />
*[[Glossary configuration]]<br />
*[[Hotpot configuration]] (1.6)<br />
*[[LAMS configuration]] (1.6)<br />
*[[Quiz configuration]]<br />
*[[Resource configuration]]<br />
*[[SCORM/AICC configuration]]<br />
<br />
[[Category:Administrator]]<br />
[[category:Module]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_activities&diff=9018Managing activities2006-04-26T23:34:34Z<p>Newzeal: response to thread M for modularity in developer forum</p>
<hr />
<div>Location: Admin>>configuraton>>modules. <br />
Manage installed modules and their settings.<br />
<br />
Your Moodle distribution will come with a given set of modules and developers are constantly making new ones. You may add or delete modules as follows:<br />
<br />
To remove, click on delete next to the module you wish to remove. You will then need to use a file manager to remove/delete the actual module directory from moodle/mods, otherwise Moodle will reinstall it next time you go into admin>>configuration.<br />
<br />
To add, simply use a file manager to copy the relevant directory into /mods and go into admin>>configuration and it will reinstall.<br />
<br />
Configuring separate modules:<br />
<br />
*[[Assignment configuration]]<br />
*[[Chat configuration]]<br />
*[[Database configuration]] (1.6)<br />
*[[Forum configuration]]<br />
*[[Glossary configuration]]<br />
*[[Hotpot configuration]] (1.6)<br />
*[[LAMS configuration]] (1.6)<br />
*[[Quiz configuration]]<br />
*[[Resource configuration]]<br />
*[[SCORM/AICC configuration]]<br />
<br />
[[Category:Administrator]]<br />
[[category:Module]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_blocks&diff=9017Managing blocks2006-04-26T23:25:31Z<p>Newzeal: </p>
<hr />
<div>The '''blocks''' configuration page allows you to manage installed blocks and their settings. You may add new blocks simply by using a file manager to copy the new block as a directory into the moodle/blocks directory and Moodle will install it next time you go into admin>>configuration. Moodle uses the name of the directory as the name of the block. The same applies for blocks which you delete and wish to reinstall later.<br />
<br />
== Instances ==<br />
<br />
This number tells you how many times a particular type of block is used in the courses on your Moodle site.<br />
<br />
== Multiple ==<br />
<br />
Some blocks can be added multiple times to the same course. This of course is supported only by blocks for which it makes sense. For example, it makes sense to have two HTML blocks (and configure each one to show something different), but it doesn't make sense to have two Administration blocks. For those blocks which do support multiple instances, the administrator can choose to allow it or not.<br />
<br />
== Delete==<br />
<br />
To delete a block click here and it will be removed from Moodle. However you will need to use a file manager and remove/delete the actual module directory from the moodle/blocks directory, otherwise Moodle will reinstall it next time you go into admin>>configuration.<br />
<br />
<br />
==See also==<br />
<br />
*[[Block layout]]<br />
<br />
[[Category:Administrator]]<br />
[[Category:Block]]</div>Newzealhttps://docs.moodle.org/31/en/index.php?title=Managing_blocks&diff=9016Managing blocks2006-04-26T23:24:29Z<p>Newzeal: This is a response to a thread in developer forum called M for Modularity, seeking to clarify the modular characteristics of Moodle and how to add and remove elements</p>
<hr />
<div>The '''blocks''' configuration page allows you to manage installed blocks and their settings. You may add new blocks simply by using a file manager to copy the new block as a directory into the moodle/blocks/ directory and Moodle will install it next time you go into admin>>configuration. Moodle uses the name of the directory as the name of the block. The same applies for blocks which you delete and wish to reinstall later.<br />
<br />
== Instances ==<br />
<br />
This number tells you how many times a particular type of block is used in the courses on your Moodle site.<br />
<br />
== Multiple ==<br />
<br />
Some blocks can be added multiple times to the same course. This of course is supported only by blocks for which it makes sense. For example, it makes sense to have two HTML blocks (and configure each one to show something different), but it doesn't make sense to have two Administration blocks. For those blocks which do support multiple instances, the administrator can choose to allow it or not.<br />
<br />
== Delete==<br />
<br />
To delete a block click here and it will be removed from Moodle. However you will need to use a file manager and remove/delete the actual module directory from the moodle/blocks/ directory, otherwise Moodle will reinstall it next time you go into admin>>configuration.<br />
<br />
<br />
==See also==<br />
<br />
*[[Block layout]]<br />
<br />
[[Category:Administrator]]<br />
[[Category:Block]]</div>Newzeal