<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/34/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dlnsk</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/34/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dlnsk"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/Special:Contributions/Dlnsk"/>
	<updated>2026-04-18T05:42:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_block&amp;diff=54606</id>
		<title>Attendance block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_block&amp;diff=54606"/>
		<updated>2009-04-21T15:50:30Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Attendance block is optional part of [[Attendance module]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=54605</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=54605"/>
		<updated>2009-04-21T15:49:10Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: Link to UserVoice&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have an idea about new features? You need something? Please add your idea or vote for existing at [http://attendance.uservoice.com Attendance Module on UserVoice] page!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum]&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download Dmitry&#039;s version] of module&lt;br /&gt;
* [[Attendance block]] page&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[ja:出欠]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=46510</id>
		<title>Development:Implementing Reset course functionality in a module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=46510"/>
		<updated>2008-11-09T20:26:06Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The course reset code is triggered from /course/reset.php. To have your module included, you need to implement the three fuctions described below. To work out how to do this, a good example is to look at the implementations in /mod/fourm/lib.php&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_course_form_definition(&amp;amp;$mform)==&lt;br /&gt;
&lt;br /&gt;
This is called directly by /course/reset.php. It needs to output some form controls to control different options for resetting your module. You should use Form API for create form.&lt;br /&gt;
&lt;br /&gt;
The convention is to call settings relating your your module reset_&#039;&#039;mymodule&#039;&#039;_&#039;&#039;something&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is a good model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Called by course/reset.php&lt;br /&gt;
 */&lt;br /&gt;
function forum_reset_course_form_definition(&amp;amp;$mform) {&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;header&#039;, &#039;forumheader&#039;, get_string(&#039;modulenameplural&#039;, &#039;forum&#039;));&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_all&#039;, get_string(&#039;resetforumsall&#039;,&#039;forum&#039;));&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;select&#039;, &#039;reset_forum_types&#039;, get_string(&#039;resetforums&#039;, &#039;forum&#039;), forum_get_forum_types_all(), array(&#039;multiple&#039; =&amp;gt; &#039;multiple&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_types&#039;);&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_types&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_subscriptions&#039;, get_string(&#039;resetsubscriptions&#039;,&#039;forum&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_subscriptions&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_track_prefs&#039;, get_string(&#039;resettrackprefs&#039;,&#039;forum&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_track_prefs&#039;);&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_track_prefs&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_ratings&#039;, get_string(&#039;deleteallratings&#039;));&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_ratings&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_userdata($data)==&lt;br /&gt;
 &lt;br /&gt;
This actually does the resetting. It is called indirectly, /course/reset.php calls reset_course_userdata() in /lib/moodlelib.php, which then calls the functions for each module.&lt;br /&gt;
&lt;br /&gt;
The $data parameter is what came back from the form printed by forum_reset_course. In particular, $data-&amp;gt;courseid is the id of the coures we are cleaning up.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is again a good one to study, here is a very simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function example_reset_userdata($data) {&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_frogs)) {&lt;br /&gt;
        if (delete_records(&#039;example_frogs&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;frogsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_newts)) {&lt;br /&gt;
        if (delete_records(&#039;example_newts&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;newtsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_course_form_defaults($course)==&lt;br /&gt;
&lt;br /&gt;
Used for set default values to form&#039;s elements displayed by &#039;&#039;mymodule&#039;&#039;_reset_course_form_definition. The forum implementation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function forum_reset_course_form_defaults($course) {&lt;br /&gt;
    return array(&#039;reset_forum_all&#039;=&amp;gt;1, &#039;reset_forum_subscriptions&#039;=&amp;gt;0, &#039;reset_forum_track_prefs&#039;=&amp;gt;0, &#039;reset_forum_ratings&#039;=&amp;gt;1);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ja:開発:コースのリセット機能をモジュールに実装する]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=46465</id>
		<title>Development:Implementing Reset course functionality in a module</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Development:Implementing_Reset_course_functionality_in_a_module&amp;diff=46465"/>
		<updated>2008-11-07T19:08:46Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: Metods renamed, using Form API&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The course reset code is triggered from /course/reset.php. To have your module included, you need to implement the three fuctions described below. To work out how to do this, a good example is to look at the implementations in /mod/fourm/lib.php&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_course_form_definition(&amp;amp;$mform)==&lt;br /&gt;
&lt;br /&gt;
This is called directly by /course/reset.php. It needs to output some form controls to control different options for resetting your module. You should use Form API for create form.&lt;br /&gt;
&lt;br /&gt;
The convention is to call settings relating your your module reset_&#039;&#039;mymodule&#039;&#039;_&#039;&#039;something&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is a good model:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * Called by course/reset.php&lt;br /&gt;
 */&lt;br /&gt;
function forum_reset_course_form_definition(&amp;amp;$mform) {&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;header&#039;, &#039;forumheader&#039;, get_string(&#039;modulenameplural&#039;, &#039;forum&#039;));&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_all&#039;, get_string(&#039;resetforumsall&#039;,&#039;forum&#039;));&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;select&#039;, &#039;reset_forum_types&#039;, get_string(&#039;resetforums&#039;, &#039;forum&#039;), forum_get_forum_types_all(), array(&#039;multiple&#039; =&amp;gt; &#039;multiple&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_types&#039;);&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_types&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_subscriptions&#039;, get_string(&#039;resetsubscriptions&#039;,&#039;forum&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_subscriptions&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_track_prefs&#039;, get_string(&#039;resettrackprefs&#039;,&#039;forum&#039;));&lt;br /&gt;
    $mform-&amp;gt;setAdvanced(&#039;reset_forum_track_prefs&#039;);&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_track_prefs&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
&lt;br /&gt;
    $mform-&amp;gt;addElement(&#039;checkbox&#039;, &#039;reset_forum_ratings&#039;, get_string(&#039;deleteallratings&#039;));&lt;br /&gt;
    $mform-&amp;gt;disabledIf(&#039;reset_forum_ratings&#039;, &#039;reset_forum_all&#039;, &#039;checked&#039;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;_reset_userdata($data)==&lt;br /&gt;
 &lt;br /&gt;
This actually does the resetting. It is called indirectly, /course/reset.php calls reset_course_userdata() in /lib/moodlelib.php, which then calls the functions for each module.&lt;br /&gt;
&lt;br /&gt;
The $data parameter is what came back from the form printed by forum_reset_course. In particular, $data-&amp;gt;courseid is the id of the coures we are cleaning up.&lt;br /&gt;
&lt;br /&gt;
The forum implementation is again a good one to study, here is a very simple example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function example_reset_userdata($data) {&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_frogs)) {&lt;br /&gt;
        if (delete_records(&#039;example_frogs&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;frogsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    if (!empty($data-&amp;gt;reset_example_newts)) {&lt;br /&gt;
        if (delete_records(&#039;example_newts&#039;, &#039;couresid&#039;, $data-&amp;gt;courseid) and $showfeedback) {&lt;br /&gt;
            notify(get_string(&#039;newtsdeleted&#039;, &#039;example&#039;), &#039;notifysuccess&#039;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;mymodule&#039;&#039;reset_course_form_defaults($course)==&lt;br /&gt;
&lt;br /&gt;
Used for set default values to form&#039;s elements displayed by &#039;&#039;mymodule&#039;&#039;_reset_course_form_definition. The forum implementation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
function forum_reset_course_form_defaults($course) {&lt;br /&gt;
    return array(&#039;reset_forum_all&#039;=&amp;gt;1, &#039;reset_forum_subscriptions&#039;=&amp;gt;0, &#039;reset_forum_track_prefs&#039;=&amp;gt;0, &#039;reset_forum_ratings&#039;=&amp;gt;1);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ja:開発:コースのリセット機能をモジュールに実装する]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Category:Filter&amp;diff=45732</id>
		<title>Category:Filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Category:Filter&amp;diff=45732"/>
		<updated>2008-10-23T14:22:19Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: Include in teacher&amp;#039;s category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An index of documentation pages about [[Filters|filters]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Catégorie:Filtre]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=45731</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=45731"/>
		<updated>2008-10-23T14:19:04Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HiddenText logo.gif|right]]&lt;br /&gt;
Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Modules/Filters&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
* [http://www.elearning-factory.de/moodle/course/view.php?id=28 Support page on German] (thanks to Andy Tagliani)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Фильтр HiddenText]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45576</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45576"/>
		<updated>2008-10-21T04:21:24Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]] page!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum]&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download Dmitry&#039;s version] of module&lt;br /&gt;
* [[Attendance block]] page&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
[[Category:Teacher]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_block&amp;diff=45575</id>
		<title>Attendance block</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_block&amp;diff=45575"/>
		<updated>2008-10-21T04:17:58Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: initial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Attendance block is integral part of [[Attendance module]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Block]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45574</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45574"/>
		<updated>2008-10-21T04:14:06Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: See also&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]] page!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum]&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download Dmitry&#039;s version] of module&lt;br /&gt;
* [[Attendance block]] page&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45573</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45573"/>
		<updated>2008-10-21T04:03:06Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]] page!&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;br /&gt;
[[Category:Block]]&lt;br /&gt;
[[Category:Modules]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45481</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45481"/>
		<updated>2008-10-19T17:43:47Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]] page!&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45479</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=45479"/>
		<updated>2008-10-19T17:17:16Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: added link to Request page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1062 Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
==Installation by Moodle Administrator==&lt;br /&gt;
&lt;br /&gt;
To install Dmitry&#039;s version of the attendance module, follow these directions (provided by [http://moodle.org/user/view.php?id=40637&amp;amp;course=5 Richard Webb] in [http://moodle.org/mod/forum/discuss.php?d=79134#p436449 this post]).  Installation can only be completed by a user having write access to the file structure on the computer hosting Moodle and with administration rights for your installation of Moodle.&lt;br /&gt;
&lt;br /&gt;
===Language Files===&lt;br /&gt;
&lt;br /&gt;
Moodle has a general language folder with subfolders for installed languages, and language files within these subfolders. This structure allows Moodle to efficiently work in an unlimited variety of languages with relative ease. Every block and module in Moodle has its own language strings that must be defined in a language file with a name specified by the block or module. &amp;quot;In the old days&amp;quot; (meaning prior to Moodle 1.9) the language files for each mod or block were copied into the appropriate subfolders in the &amp;lt;code&amp;gt;moodle/lang/&amp;lt;/code&amp;gt; folder. This still works, but can be tedious and is not the preferred method anymore.&lt;br /&gt;
&lt;br /&gt;
Newer versions of Moodle (1.9 and up) allow you to keep the language files with the mods and blocks so they are self-contained and you don&#039;t have to do so much work with language files. Older versions of the Attendance module did not have all language files correctly placed resulting in tags that say &amp;lt;nowiki&amp;gt;[[attendance]]&amp;lt;/nowiki&amp;gt;.  As of June 20, 2008, the problem has been resolved.  If you are having problems with the language files for the Attendance module, it is recommended that you download the latest version and replace your current installation as described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additional Language Considerations&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You might consider editing the &amp;lt;code&amp;gt;block_attendance_for_v19/mod/attforblock/lang/en_utf8/attforblock.php&amp;lt;/code&amp;gt; language file and replacing each occurrence of &#039;Attendances&#039; with &#039;Attendance&#039;. Some dictionaries   say that attendances is the plural form of attendance while others say there is no plural form.&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;&#039;date format&#039;&#039;&#039; is controlled by the language file you install.  If you prefer Month/Day/Year format, for example, you will want to use the US_en language file found in the block folder.&lt;br /&gt;
&lt;br /&gt;
You can easily edit the date format yourself, if you so desire.  These strings show the M/D/Y format.&lt;br /&gt;
&lt;br /&gt;
 $string[&#039;strftimedm&#039;] = &#039;%%m.%%d&#039;;&lt;br /&gt;
 $string[&#039;strftimedmy&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
 $string[&#039;strftimedmyw&#039;] = &#039;%%m.%%d.%%y&amp;amp;nbsp;(%%a)&#039;;&lt;br /&gt;
 $string[&#039;strftimeshortdate&#039;] = &#039;%%m.%%d.%%Y&#039;;&lt;br /&gt;
&lt;br /&gt;
===Mod and Block Installation===&lt;br /&gt;
&lt;br /&gt;
If you look at your Moodle installation, you will see that among the many subfolders in the Moodle folder you have folders named &amp;lt;code&amp;gt;blocks/&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mod/&amp;lt;/code&amp;gt;, matching the two folders in the &amp;lt;code&amp;gt;block_attendance_for_v19/&amp;lt;/code&amp;gt; folder. Installation is completed by copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/blocks/&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/blocks/&amp;lt;/code&amp;gt; folder (so you have a &amp;lt;code&amp;gt;moodle/blocks/attendance/&amp;lt;/code&amp;gt; folder with all of the files and subfolders copied as well) and likewise copying the contents of the &amp;lt;code&amp;gt;block_attendance_for_v19/mod&amp;lt;/code&amp;gt; folder into your &amp;lt;code&amp;gt;moodle/mod/&amp;lt;/code&amp;gt; folder. On a Unix system, something like &amp;lt;code&amp;gt;/var/www/moodle19/blocks$ sudo cp -r ~/moodle-modules/attendance/blocks/* . &amp;lt;/code&amp;gt; does the job and similar for the mod directory. Don&#039;t forget to &amp;lt;code&amp;gt;sudo chown -r &amp;lt;user&amp;gt;:&amp;lt;group&amp;gt; attendance&amp;lt;/code&amp;gt; to the same parameters as the other block directories (do a &amp;lt;code&amp;gt;ls -l&amp;lt;/code&amp;gt; to remind yourself).&lt;br /&gt;
&lt;br /&gt;
Once you have completed the installation, you need to log into Moodle as the administrator and go to the admin page.  This will set up the Attendance database structure.&lt;br /&gt;
&lt;br /&gt;
==Using Attendance in a Class by a Teacher==&lt;br /&gt;
&lt;br /&gt;
===Adding Attendance Activity===&lt;br /&gt;
&lt;br /&gt;
After the attendance block and module have been properly installed, you (the teacher) must add attendance as an activity to each course you wish to keep attendance in. This is done by first ensuring that you are in the edit mode and then selecting, &amp;quot;Attendance&amp;quot; from the &amp;quot;Add an activity...&amp;quot; pull-down menu. Note that you may only add the attendance activity once per class and it may be located in any of the section blocks. Because attendance is for the entire course, it seems logical to put it in the top box (the one that always shows).&lt;br /&gt;
&lt;br /&gt;
Once you have added the attendance activity, you are ready to start using the attendance module. However, the section link that was just added in the preceding paragraph is the &amp;quot;clunky way&amp;quot; to work with the attendance module. In fact, it is recommended that you simply hide that link! That way students won&#039;t see it cluttering up the section block where you placed it. Of course, we DO want students to be able to view their attendance records, just not with that link. There is a second, better, way to accomplish this. Select &amp;quot;Attendance&amp;quot; from the pull-down menu in the &amp;quot;Blocks&amp;quot; block. This will create a block with teacher options to take attendance, report on attendance, or change the attendance settings.  The same block will instead have an attendance report for students.&lt;br /&gt;
&lt;br /&gt;
===Setting Attendance Categories and Grading Options===&lt;br /&gt;
&lt;br /&gt;
Now it is time to set your attendance options. Select &amp;quot;Settings&amp;quot; from the attendance block. This brings you to the letters, descriptions, and grade (points) to assign for the four attendance options. By default these are Present, Absent, Late, and Excused. You may prefer to change the descriptions (e.g., change the word Late to Tardy), change the order, or change the way points are counted so make appropriate changes here to the names, order, and grades.  Be sure to click the &amp;quot;Update&amp;quot; button when you are done.&lt;br /&gt;
&lt;br /&gt;
===Adding Sessions===&lt;br /&gt;
&lt;br /&gt;
Next it is time to add sessions. Note that there is a restriction here. You can only have one session per day. Since you can only have one attendance activity installed (which means that you cannot have a lab attendance activity and a lecture attendance activity) and can only have one attendance session per day, if you have more than one class session per day you will have to be creative in taking attendance. And if you have more than seven class sessions for a single class in a week--then you are overworked!&lt;br /&gt;
&lt;br /&gt;
To add class sections, click the &amp;quot;Add&amp;quot; tab (second from left) at the top of the page (if you left the attendance page, select any of the three links from the attendance block to return to the attendance page and gain access to the &amp;quot;Add&amp;quot; tab). You have two options here, to add a single session or to add multiple sessions. The single session is self-explanatory as well as time consuming to use when you have many class sessions so I will go straight the more useful option, how to add multiple sessions. &lt;br /&gt;
&lt;br /&gt;
Under the &amp;quot;Create multiple sessions&amp;quot; label choose the date for the first session you wish to add followed by the date for the last session you wish to add. Next select the days of the week on which the class meets. The final option, frequency, may look confusing but it is actually straight-forward. If your class meets every week (the normal situation) then you want a frequency of 1 week which is the default. If your class meets every other week, then you want a frequency of 2 weeks, and so on. When you click the &amp;quot;Add multiple sessions&amp;quot; button, your sessions will be created and you will see a message indicating this.&lt;br /&gt;
&lt;br /&gt;
===Taking Attendance===&lt;br /&gt;
&lt;br /&gt;
Now head to the attendance tab. Here you see the list of all attendance sessions you have added. You can delete an individual session by clicking the X to the right of it. (Personal note, it sure would be nice if there was an option to select a few sessions and delete them all at once--I use the multiple sessions option to put my sessions in for the entire semester and then have to go and remove sessions for vacation days one at a time.) You can edit a session (change the date or add a description) with the standard hand icon to the right of the session, or you can take attendance for a session by clicking the green radio button to the right of the session. Sessions where attendance has already been taken do not have the green button, but instead the description is a link that takes you to the screen to modify the attendance record for that session.&lt;br /&gt;
&lt;br /&gt;
You will note that when taking attendance the column headings for attendance state are links. If you click one of these column headings, all students will have their status changed to the status you selected. Thus, if everyone is absent (God forbid!), you merely click the &#039;&#039;&#039;A&#039;&#039;&#039; and it will change everyone&#039;s status to absent. If Little Johnny is the only student absent, you would logically click &#039;&#039;&#039;P&#039;&#039;&#039; to set everyone to present and then go down to Little Johnny and change his status to &#039;&#039;&#039;A&#039;&#039;&#039;. Enter remarks as appropriate (e.g., the reason for an absence if known or the minutes late if someone is tardy) and click OK to complete taking record.&lt;br /&gt;
&lt;br /&gt;
===Reports===&lt;br /&gt;
&lt;br /&gt;
Finally, you have the reports. This is, again, obvious. One of my colleagues prefers to take record on paper and transfer it to Moodle. She suggested printing the monthly report before the start of the month and then taking record on this report. It has an added advantage because you have each student&#039;s picture with the record sheet. Of course, that is only useful for students who actually put photos of themselves in for their picture.&lt;br /&gt;
&lt;br /&gt;
A final note here. If you added the attendance block as recommended, you may wonder what it looks like for students. It is completely different--showing a summary of their attendance record and having a single link for them to view the details of their personal attendance. Another reason why I think the attendance block should always be added when you use the attendance module.&lt;br /&gt;
&lt;br /&gt;
==Give advice to developer==&lt;br /&gt;
Have idea about new features? You need something? Please write at [[Attendance module requests]]!&lt;br /&gt;
&lt;br /&gt;
[[Category:Contributed code]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34455</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34455"/>
		<updated>2008-04-03T05:15:45Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: /* Installing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HiddenText logo.gif|right]]&lt;br /&gt;
Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Modules/Filters&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
* [http://www.elearning-factory.de/moodle/course/view.php?id=28 Support page on German] (thanks to Andy Tagliani)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Фильтр HiddenText]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34104</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34104"/>
		<updated>2008-03-28T11:03:12Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HiddenText logo.gif|right]]&lt;br /&gt;
Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Filters&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
* [http://www.elearning-factory.de/moodle/course/view.php?id=28 Support page on German] (thanks to Andy Tagliani)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Фильтр HiddenText]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34103</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34103"/>
		<updated>2008-03-28T10:47:48Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:HiddenText logo.gif|right]]&lt;br /&gt;
Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Filters&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
* [http://www.elearning-factory.de/moodle/course/view.php?id=28 Support page on German] (thanks to Andy Tagliani)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34102</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34102"/>
		<updated>2008-03-28T10:41:58Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Filters&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
Thanks for using!&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
* [http://www.elearning-factory.de/moodle/course/view.php?id=28 Support page on German] (thanks to Andy Tagliani)&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_logo.gif&amp;diff=34101</id>
		<title>File:HiddenText logo.gif</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_logo.gif&amp;diff=34101"/>
		<updated>2008-03-28T10:41:02Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34100</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34100"/>
		<updated>2008-03-28T10:30:39Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: Images added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Filters&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_11.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_12.png]]&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_21.png]]&lt;br /&gt;
&lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_22.png]]&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_31.png]]&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
&lt;br /&gt;
[[Image:HiddenText_example_32.png]]&lt;br /&gt;
&lt;br /&gt;
Thanks for using!&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_32.png&amp;diff=34098</id>
		<title>File:HiddenText example 32.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_32.png&amp;diff=34098"/>
		<updated>2008-03-28T10:28:53Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_22.png&amp;diff=34097</id>
		<title>File:HiddenText example 22.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_22.png&amp;diff=34097"/>
		<updated>2008-03-28T10:25:51Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_12.png&amp;diff=34096</id>
		<title>File:HiddenText example 12.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_12.png&amp;diff=34096"/>
		<updated>2008-03-28T10:24:45Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_31.png&amp;diff=34095</id>
		<title>File:HiddenText example 31.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_31.png&amp;diff=34095"/>
		<updated>2008-03-28T10:18:43Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_21.png&amp;diff=34094</id>
		<title>File:HiddenText example 21.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_21.png&amp;diff=34094"/>
		<updated>2008-03-28T10:16:59Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_11.png&amp;diff=34093</id>
		<title>File:HiddenText example 11.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=File:HiddenText_example_11.png&amp;diff=34093"/>
		<updated>2008-03-28T10:11:24Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34092</id>
		<title>HiddenText filter</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=HiddenText_filter&amp;diff=34092"/>
		<updated>2008-03-28T09:41:49Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using filter &amp;quot;HiddenText&amp;quot; teachers will be able to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
== Installing ==&lt;br /&gt;
&lt;br /&gt;
# Download filter from [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 download page]&lt;br /&gt;
# Copy folder &#039;&#039;hiddentext&#039;&#039; into directory &#039;&#039;filter&#039;&#039; of your Moodle instalation.&lt;br /&gt;
# Copy language file into your &amp;quot;lang&amp;quot; directory.&lt;br /&gt;
# Enable it from &amp;quot;Administration/Filters&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
== Using ==&lt;br /&gt;
&lt;br /&gt;
# Create your content.&lt;br /&gt;
# Enclose every part which you want initially hide between:&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039; or&lt;br /&gt;
#* &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;div filter=&amp;quot;hiddentext&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;hidden_multiline_content_here&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
# Use &#039;&#039;span&#039;&#039; tag if you want hide path of text inside paragraph and &#039;&#039;div&#039;&#039; if text can take more than one line.&lt;br /&gt;
# If you use &#039;&#039;HTMLeditor&#039;&#039; you can type &#039;&#039;span&#039;&#039; and &#039;&#039;div&#039;&#039; tags inside square brackets straight in text without switching to HTML mode:&lt;br /&gt;
#* &#039;&#039;&#039;[span filter=&amp;quot;hiddentext&amp;quot;]&#039;&#039;&#039;hidden_content_here&#039;&#039;&#039;[/span]&#039;&#039;&#039;&lt;br /&gt;
# Test it.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
&lt;br /&gt;
* After page loaded any content between tags hides. In this place will be dislpayed picture with eye.&lt;br /&gt;
* When student will click on eye icon hidden text will be displayed.&lt;br /&gt;
&lt;br /&gt;
== Additional information ==&lt;br /&gt;
&lt;br /&gt;
You can use two optional parameters: &#039;&#039;class&#039;&#039; and &#039;&#039;desc&#039;&#039; (description):&lt;br /&gt;
* &#039;&#039;&#039;class&#039;&#039;&#039; - lets you change style of hidden text&lt;br /&gt;
* &#039;&#039;&#039;desc&#039;&#039;&#039;  - lets you change description which displayed after eye icon. If &#039;&#039;desc&#039;&#039; absent in &#039;&#039;div&#039;&#039; tag will be used description from lang file. If description absent in &#039;&#039;span&#039;&#039; tag will be displayed only eye icon.&lt;br /&gt;
&lt;br /&gt;
You available following styles: &#039;&#039;hinline&#039;&#039;, &#039;&#039;htext&#039;&#039;, &#039;&#039;hcode&#039;&#039; and styles which you add themselves in css of your theme or already there are!&lt;br /&gt;
&lt;br /&gt;
Don&#039;t like embedded styles? You can change them in yuidomcollapse.css and send to me... ;-)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Simple SPAN ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;This text is &amp;lt;span filter=&amp;quot;hiddentext&amp;quot;&amp;gt;very, very, very&amp;lt;/span&amp;gt; long.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
 This text is (eye icon) long.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== SPAN with description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;The American holiday of Thanksgiving is celebrated &lt;br /&gt;
on the &amp;lt;span filter=&amp;quot;hiddentext&amp;quot; desc=&amp;quot;What?&amp;quot;&amp;gt;fourth&amp;lt;/span&amp;gt; Thursday of November.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
 The American holiday of Thanksgiving is celebrated &lt;br /&gt;
 on the (eye)What? Thursday of November.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== DIV with class and description ===&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
&amp;lt;div filter=&amp;quot;hiddentext&amp;quot; class=&amp;quot;htext&amp;quot; desc=&amp;quot;Answer here&amp;quot;&amp;gt;Canada - Ottawa&lt;br /&gt;
Italy - Rome&lt;br /&gt;
Japan - Tokyo&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will initially displayed as:&lt;br /&gt;
 Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
 (eye)Answer here&lt;br /&gt;
    &lt;br /&gt;
After click:&lt;br /&gt;
 Mention capitals of following countries: Canada, Italy, Japan&lt;br /&gt;
 (eye)Answer here&lt;br /&gt;
    -------------------&lt;br /&gt;
    | Canada - Ottawa | &lt;br /&gt;
    | Italy - Rome    | &lt;br /&gt;
    | Japan - Tokyo   |&lt;br /&gt;
    ------------------- &lt;br /&gt;
&lt;br /&gt;
Thanks for using!&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=1101 Download page]&lt;br /&gt;
* [http://moodle.org/mod/forum/view.php?id=1510 Forum about Filters]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Filter]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Development:Filters_schema&amp;diff=34064</id>
		<title>Development:Filters schema</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Development:Filters_schema&amp;diff=34064"/>
		<updated>2008-03-27T09:48:48Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: get_html_head_contributions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objective of this page is to document all the ideas and improvements to be implemented in the &amp;quot;Filters&amp;quot; functionality of Moodle.&lt;br /&gt;
&lt;br /&gt;
Every idea will be documented here, including its associated &amp;quot;thoughts&amp;quot; and potential &amp;quot;implementations&amp;quot;. Feel free to add/modify everything as you want!&lt;br /&gt;
&lt;br /&gt;
These are the main areas to discuss/analyse/implement:&lt;br /&gt;
&lt;br /&gt;
* [[Course/site filters | Enable/Disable Filters by Course and Site]]&lt;br /&gt;
* [[Course/site filter config | Optional Configuration of Filters by Course and Site]]&lt;br /&gt;
* [[Multilang filter | Changes in the Caching System to Support the Multilang Filter]]&lt;br /&gt;
* [[Enable/Disable Filters by Activities]]&lt;br /&gt;
* Allow filtering data before it will save in database? It will do possible exclude some data from text (like TeX formulas) and save in separate table. It will allow change formula by clicking on it and open popup window.&lt;br /&gt;
* It&#039;d be great if you could set the text cache lifetime for individual filters. This would be handy for filters that use external resources (e.g., Wikipedia) that sometimes have slow response times. I&#039;d guess that you could use a cache lifetime of a week or more for a Wikipedia filter without causing major usability problems.&lt;br /&gt;
* Mechanism like used with get_html_head_contributions in Questions&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[http://moodle.org/bugs/bug.php?op=show&amp;amp;bugid=2400 Bug 2400] - a lot of ideas and request have been written here&lt;br /&gt;
http://tracker.moodle.org/browse/MDL-9443 - add support for filtering XHTML resources as well as HTML.&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer|Filters schema]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Filters&amp;diff=33877</id>
		<title>Filters</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Filters&amp;diff=33877"/>
		<updated>2008-03-21T12:47:48Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: HiddenText added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Modules &amp;gt; Manage filters&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Filters allow for the automatic transformation of entered text into different, often more complex forms. For example the titles of [[Resources|resources]] can automatically become hyperlinks that take you to the relevant resource, URLs pointing to [[mp3]] files can become [[Flash]] controls embedded in the web page 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 available from the Moodle.org [http://moodle.org/mod/data/view.php?id=6009 Modules and plugins database].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Enabling filters==&lt;br /&gt;
[[Image:filters admin.png|thumb|Filters administration in Moodle 1.8]]&lt;br /&gt;
To enable a filter:&lt;br /&gt;
#Access Administration &amp;gt; Modules &amp;gt; Filters.&lt;br /&gt;
#On the filters administration page, click the eye icon opposite the filter you want to enable, so that it changes to an open eye.&lt;br /&gt;
#Use the up/down arrow icons to arrange the filters in the order in which they should be applied.&lt;br /&gt;
&lt;br /&gt;
Certain filters have additional settings, which can be accessed via the links in the settings column.&lt;br /&gt;
&lt;br /&gt;
==Common settings==&lt;br /&gt;
&lt;br /&gt;
Note: Prior to Moodle 1.9, common filter settings can be found in &#039;&#039;Administration &amp;gt; Appearance &amp;gt; Filter settings&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Text cache lifetime===&lt;br /&gt;
&lt;br /&gt;
Text filters can take a lot of processor power to analyze. If you have a large number of courses, the filters may slow your system. The text cache lifetime determines how often the filters run. If you set them to run too frequently, your system may&lt;br /&gt;
slow down. If you set them to run too infrequently, analyzing new content will take too long and users will notice. You should experiment to find the correct amount of time for your server.&lt;br /&gt;
&lt;br /&gt;
===Filter uploaded files===&lt;br /&gt;
&lt;br /&gt;
This setting enables uploaded files (HTML and text only) to be processed by the filters system. You can choose to have none, only HTML or all files filtered.&lt;br /&gt;
&lt;br /&gt;
===Filter match once per page===&lt;br /&gt;
&lt;br /&gt;
This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match on the complete page will be converted to a link. All others will be ignored.&lt;br /&gt;
&lt;br /&gt;
===Filter match once per text===&lt;br /&gt;
&lt;br /&gt;
This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match in a discrete block of text will be converted to a link. All others in that text block will be ignored.&lt;br /&gt;
&lt;br /&gt;
===Filter all strings===&lt;br /&gt;
&lt;br /&gt;
If checked, headings and titles can be displayed in different languages using the [[Multi language content|multi-language filter]].&lt;br /&gt;
&lt;br /&gt;
==Standard filters==&lt;br /&gt;
&lt;br /&gt;
Filters included in the standard download are:&lt;br /&gt;
&lt;br /&gt;
*Activity Names Auto-linking - This scans text for activity titles that exist in the same course and creates a link.&lt;br /&gt;
*[[Algebra filter|Algebra]] - This filter will convert algebra code into GIF images. It requires the tex filter to be installed ([[#TeX notation|see below]]). Note also that your system must also include the following Perl module: HTML::Entities.pm&lt;br /&gt;
*Database auto-linking - As the name suggests, this filter enables automatic linking of [[Database module]] entries.&lt;br /&gt;
*Email Protection - This filter scans the text for any email addresses. Where found they are changed to reduce the chance of being added to a spammers list.&lt;br /&gt;
*Glossary auto-linking - As the name suggests, this filter enables automatic linking of [[Glossary module]] entries. In addition to this filter, individual glossary entries should have the &amp;quot;This entry should be automatically linked&amp;quot; box checked.&lt;br /&gt;
*[[Multi language content]] - This filter enables resources to be created in multiple languages. It looks for &amp;amp;lt;span&amp;amp;nbsp;lang=&amp;quot;xx&amp;quot; class=&amp;quot;multilang&amp;quot;&amp;amp;gt;...&amp;amp;lt;/span&amp;amp;gt; 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. Please note: going to the past, the multilang filter supported the &amp;amp;lt;lang&amp;amp;gt; tag. Then, officially, we changed it to the standard HTML &amp;amp;lt;span&amp;amp;gt; tag and the &amp;amp;lt;lang&amp;amp;gt; solution is now deprecated.&lt;br /&gt;
*[[Multimedia plugins]]&lt;br /&gt;
*Resource Names Auto-linking - The titles of [[Resources]] can automatically become hyperlinks that take you to the relevant resource within the same course.&lt;br /&gt;
*[[TeX filter|TeX notation]]&lt;br /&gt;
*Tidy - This filter checks whether HTML code is XHTML compliant, tidying where necessary. To make this filter work you need to have PHP compiled with the libtidy option; see http://www.php.net/tidy. The Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=28418 Tidy Filter for Moodle 1.5] contains more details.&lt;br /&gt;
*Wiki Page Auto-linking&lt;br /&gt;
*[[Word censorship]] - This filter &amp;quot;blacks out&amp;quot; words found on a list.&lt;br /&gt;
&lt;br /&gt;
==Non-standard filters==&lt;br /&gt;
&lt;br /&gt;
Filters are one of Moodle&#039;s pluggable resources and may be added or removed simply by using a file manager to add or remove them from the &#039;&#039;/filters&#039;&#039; directory.  Moodle detects those that are present and makes them available to use.  &lt;br /&gt;
&lt;br /&gt;
* [[Jmol filter|Jmol]] - for interactive 3D viewing of molecular structures&lt;br /&gt;
* [[Code Syntax Highlighting]] - for more readable excerpts of programming languages including [[PHP]], [[HTML]], [[CSS]], and XML amongst many others&lt;br /&gt;
* [[HiddenText filter|HiddenText]] - for teachers who want to provide &amp;quot;hints&amp;quot; to students where the information is initially hidden but can easily be revealed by student in any time when he need.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Filters used on the Moodle.org forums]]&lt;br /&gt;
*[[Development:Filters]]&lt;br /&gt;
*[http://youtube.com/watch?v=rL1FVNewG7I Video demonstrating the set-up and use of filters in Moodle]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=76206 Filter Demo&#039;s now online] forum discussion&lt;br /&gt;
&lt;br /&gt;
[[Category:Filter]]&lt;br /&gt;
&lt;br /&gt;
[[es:Filtros (Administrador)]]&lt;br /&gt;
[[fr:Filtres (administrateur)]]&lt;br /&gt;
[[ja:フィルタ (管理者)]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Development:Wiki_features&amp;diff=33199</id>
		<title>Development:Wiki features</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Development:Wiki_features&amp;diff=33199"/>
		<updated>2008-03-05T12:12:02Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: Simple access to rendering pages outside Wiki module&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Features wanted for the Wiki in Moodle 2.0, and status of existence in existing wikis :&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Wanted feature&lt;br /&gt;
!eWiki (Moodle 1.8 etc)&lt;br /&gt;
!NWiki&lt;br /&gt;
!OUWiki &lt;br /&gt;
!Comment&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|Mediawiki syntax&lt;br /&gt;
|No&lt;br /&gt;
|Yes&lt;br /&gt;
|No&lt;br /&gt;
|There should be option to use Mediawiki syntax also in forums, resources, etc. - new text format.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|Ability to quickly summarize a students total overall contributions e.g. words added/words deleted/comments added&lt;br /&gt;
|No&lt;br /&gt;
|?&lt;br /&gt;
|Soon&lt;br /&gt;
|I have not had time to fully explore nwikis grading system, but suspect there is a way in there somewhere :)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|Preserve line breaks&lt;br /&gt;
|?&lt;br /&gt;
|?&lt;br /&gt;
|No&lt;br /&gt;
|Information is often pasted into a wiki, a wiki is used by younger students, or there are a quick succession of edits during class, such as creating a list, that require preserved line breaks. Using Creole Wiki Markup as the ONLY  markup unfortunately destroys pasting in information and trying to find every crlf in a pasted document and replace it with a /n is beyond most users. We have to remember that wikis will often be used by those who have never used one before. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|Ability to add an &amp;quot;add to the page&amp;quot; box anywhere, or multiple times, in a page&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|no&lt;br /&gt;
|The &amp;quot;Add to the page&amp;quot; box would be added using very simple markup (e.g., it is a plus sign at the beginning of a line in Swiki). The button has a small text area with it that can be typed in and, when the button is clicked, the information goes straight to that spot in a wiki. We use this for brainstorming in class with several groups so they can work in a small group but see and build a common document. Adding comments to students&#039; pages, either by other students, or the students place the box at the top of the page and a teacher can quickly make a comment and move on. Even during meetings several of us share recording duties, and with the add to the page box, we can each be typing then submit. Properly implemented, this eliminates editing collisions in these situations. Each submit is treated as a separate page edit in the editing recored. Additional characters or markup beyond the one to insert the box would give the option of having lines between, keeping the box above the submissions (so it stays in place), or adding a time/date/user stamp in a different font to identify who added the information. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|RSS feeds on changes to a page and changes to the Wiki&lt;br /&gt;
|no&lt;br /&gt;
|?&lt;br /&gt;
|yes&lt;br /&gt;
|RSS is increasingly the way I like to consume and remix my information. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|Simple access to rendering pages outside Wiki module&lt;br /&gt;
|?&lt;br /&gt;
|dfWiki&lt;br /&gt;
|?&lt;br /&gt;
|Many many time ago I have developed tool for including wiki page in any other Moodle resources. Details here:&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=42325&lt;br /&gt;
&lt;br /&gt;
But in NWiki this became impossible because rendering page outside wiki module became very difficult!&lt;br /&gt;
I dream that in official Moodle&#039;s wiki this will once again become possible! And promise update this tool! ;-)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Reporting student contributions to OU wiki is one of the reports we are currently working on, I think.&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=6014</id>
		<title>Attendance activity</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/34/en/index.php?title=Attendance_activity&amp;diff=6014"/>
		<updated>2006-02-20T13:18:09Z</updated>

		<summary type="html">&lt;p&gt;Dlnsk: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There are two version of the &#039;&#039;&#039;attendance&#039;&#039;&#039; module: from [http://moodle.org/user/view.php?id=18237 Dmitry Pupinin] and from [http://human-logic.com/ Human Logic].&lt;br /&gt;
Both published in the Using Moodle [http://moodle.org/mod/forum/view.php?f=125 Attendance module forum].&lt;br /&gt;
&lt;br /&gt;
At this time Dmitry&#039;s version is more stable and useful.&lt;br /&gt;
&lt;br /&gt;
[http://download.moodle.org/download.php/modules/block_attendance.zip Download daily build of Dmitry&#039;s version]&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Teacher]]&lt;/div&gt;</summary>
		<author><name>Dlnsk</name></author>
	</entry>
</feed>