From Script | Spoken-Tutorial
Jump to: navigation, search
Visual Cue Narration
Show Slide 1:

Installing plugins in Moodle

Welcome to the Spoken Tutorial on Installing plugins in Moodle
Show Slide 2:

Learning Objectives:

In this tutorial, we will learn about:
  • Plugins and
  • How to install a plugin in Moodle
Show Slide 3:

Versions and OS

To record this tutorial, I will be using:
  • Ubuntu Linux OS 16.04
  • Apache, MariaDB and PHP obtained through XAMPP 5.6.30
  • Moodle 3.3
  • Firefox web browser and
  • Working Internet connection

You can use any web browser of your choice.

However, Internet Explorer should be avoided as it causes some display inconsistencies.

Show Slide 4:


  • Learners of this tutorial should have some courses and users in their Moodle website.
  • If not, please refer to the relevant Moodle tutorials on this website.
Show Slide 5:

Moodle plugins

What are plugins?
  • Plugins are add-on tools that add special features to an existing software
  • Moodle has several useful plugins for teachers as well as site administrators
  • These are available in the plugins directory
Open the browser and type Open the browser and type
Highlight the filter section The page has filters based on Purpose and Plugin Type.
Highlight the search box There is also a search box, for custom search.
Highlight the statistics. There are some numbers displayed at the top right.

The text below indicates what they are.

In this tutorial, we will learn how to install the attendance plugin.
Type attendance

Click on the search button.

Type attendance in the search box and click on the Search button.

We see that there are multiple plugins having this keyword, either in their title or description.

Click on Attendance. Click on Attendance plugin.

The description reads “A plugin that allows an attendance log to be kept.

Point to the Activities:Attendance. To verify that you have clicked on the same plugin that I mentioned, check the title on the new page.

It should say Activities colon Attendance as the title.

This plugin allows a teacher to keep an attendance log in Moodle.
Before installing any new plugin, ensure that it is available for the Moodle version you are using.
Click on Versions To verify, click on the Versions link to see the versions that it supports.

Scroll down to see that it is available for our version of Moodle 3.3

Go back to the Description link.
Highlight the description text box. Read the description to understand whether the plugin fulfills your purpose.

It also mentions prerequisites for using the plugin and the usage instructions, if any.

Highlight the icons to indicate number of websites, fans. We can see that it is being used on a number of websites and has many fans.

This authenticates that the plugin is useful and easy to use.

Highlight the forum. You may also want to scroll down and see the questions others have asked related to this plugin.
Click on Versions.

Click on Download.

When you are convinced you want to install the plugin, go back to the Versions link.

Click on the Download button.

Save the file Save the file on your local system. I have already saved it in my system.
Switch to the browser.


Click on Log in link >> Type admin username and password >> Click on Log in button.

Open a new tab and login to your Moodle website as site administrator.

Make sure that the XAMPP service is running.

Admin dashboard We are now in the admin dashboard.
Click on Site Administration>> Plugins >> Install plugins Click on Site Administration on the left side.

Then click on Plugins tab and then on Install plugins link.

Highlight Moodle plugins directory

Highlight Install plugin from ZIP file

There are 2 ways to install a plugin -
  • through Moodle plugins directory and
  • through a zip upload.
We will cover the second method only.

The first method requires us to have an account on, hence we are skipping it.

Click on Choose a file Click on Choose a file button next to Zip package.
Click on Upload a file Click on Upload a file link on the left, if it is not already selected.
Click on Choose a file

Select the zip file

Click on Browse button and browse to the location where you have saved the plugin file.

Select the zip file which we downloaded earlier.

Click on Upload this file Then click on Upload this file button at the bottom of this window.
Click on Install plugin from the zip file Now click on Install plugin from the ZIP file button at the bottom.
Highlight the error message. You may encounter an error in this page.

The error message says

Validating mod_attendance ... Error

Click on Cancel. Click on the Cancel link.
This is an indicator for us to give write permission to this directory.
Press Ctrl + Alt + T So open the terminal by pressing Control + Alt + T keys.
Type sudo chmod 777 /opt/lampp/htdocs/moodle/mod/ Type sudo space chmod space 777 space slash opt slash lampp slash htdocs slash moodle slash mod slash
Enter administrative password Enter the administrative password if prompted and press Enter.
Click on Choose a file

Click on Browse

Select the zip file

Click on Upload this file

Click on Install plugin from the zip file

Let us go back to the browser and repeat the process.
Click on Continue. This time we get the validation successful message. Click on the Continue button.

Please note that this additional step is required only if you get the above error screen.

Now, the plugin is downloaded and validated for this version of Moodle.
Next, we will get a page with the title Plugins check.
Highlight the icon in green. Notice the status information in green here, which says To be installed.
Click on Upgrade moodle database now. Click on Continue. Click on Upgrade Moodle database now button.

This step may take some time. Please do not refresh or close the browser window.

Click on Continue. When you see the success message, then click on the Continue button.
We are now in the New settings page.
Scroll down the page Go through all the settings to see if you need to change any of them.

I do not wish to make any changes.

Click on Save changes. After checking, click on the Save Changes button at the bottom of the page.
Highlight the warning messages. You may see some warning messages which you can ignore for the time being.
Click on Site Administration -> Plugins -> Plugins Overview. To see if the plugin is installed successfully, click on Site Administration in the left panel.
Then click on Plugins tab and then Plugins overview.
Highlight All plugins and Additional plugins and their nos. above the table This will show you the list of all plugins
  • the ones which were installed by default and
  • the ones you installed.

On my site, it shows these many plugins are installed.

Click on Additional plugins. To see the plugins that were additionally installed, click on Additional plugins link above the table.
Point to the Settings and uninstall this plugin link. Here there are links to go to the Settings and uninstall the plugin from this page.
Teachers and administrators can now create attendance for their courses.
Click on Site Administration -> Courses -> Manage Courses and categories Once again click on Site administration in the left panel.

Then click on Courses and Manage Courses and categories.

Click on 1st year Maths Click on 1st year Maths in the Course category on the left.
Click on Calculus

Click on View

Click on Calculus course on the right.

Scroll down to the Calculus course details section and click on View tab to view the Calculus course.

Click on gear -> Turn editing on Click on the gear icon at the top right and then click on Turn editing on.
Click on Add an activity or resource Click on Add an activity or resource at the bottom right of the area before the topics.
Double click on Attendance Double click on the Attendance activity to create an attendance.
Name -> Attendance

Description -> Attendance for 1st Year Calculus course

Enter the name and description as shown here.
Expand Grade section Expand the Grade section.

This dropdown decides the type of grading used for attendance.

If you want attendance to contribute to the course grade, set a Maximum points value.

The default is 100.

Type Grade -> None I will select Grade as None.
Let the other options be default.
Click on Save and display Scroll down and click on Save and display button.
We are now in a new page.
Click on the Status set Click on the Status set tab here.
There are 4 default status for the attendance:
  • Present
  • Late
  • Excused
  • Absent

Depending on your requirement, you can either delete these or add more.

You can also modify the status names if you call them something else.

Click on delete icon next to excused status I will delete the Excused status because I do not use that in my class.

A confirmation message box appears.

Click on the Continue button.

Click on the Add session Now click on the Add session tab.
Date -> 4th June 2019 Select the date of the first session you want to add.

I will put this as 4th June 2019.

Select the start and end time of the session.
Time from: 15:15 to 16:05 Note that the time fields use a 24-hour clock.

So a 3:15pm-4:05pm class should be 15:15-16:05.

Description -> blank Type a short Description for the session.

If you leave the description field blank, the description by default will be “Regular class session”.

Click on Multiple sessions Click on Multiple sessions section to expand it.
If your class meets at regular intervals, you can create multiple sessions at the same time.
Click on Repeat the session above as follows checkbox Click on Repeat the session above as follows checkbox.
Select Monday If your class meets on certain days of the week, select the days of the week.

For my class, I will select Monday.

Repeat every -> 1 Next option is Repeat every dropdown.

If the class meets every week, select 1.

If the class meets 2 weeks from the date of the first session, select 2 and so on.

I will let this remain as 1.

This means my class meets every Monday at 3:15pm for 50 mins.
Repeat until -> 30th March 2020 Repeat until is the date of the last session.

I will put this as 30th March 2020.

Click on Student recording Next click on Student recording section to expand it.
If you want students to record their own attendance, fill up the fields in this section.
I will skip this section.
Click on Add Scroll down and click on Add button at the bottom of the page.
Highlight 50 sessions were successfully generated A confirmation message appears saying 43 sessions were successfully generated.

You may see a different no. of sessions, if you selected dates other than mine.

Highlight the icons See the icons next to each session.
Highlight as per narration They let the teacher to take the attendance, edit the session or delete the session.
Click on Take attendance Click on Take attendance icon for the week that you want to take attendance.
Highlight as per narration You can see a list of all students enrolled in this course and you can mark their attendance.

P, L and A are the status that we selected in the settings earlier.

Check the radio button just below 'P' to set status for all users to 'Present' and mark 'A' only for the absentees.

Click on Save attendance When you have marked the attendance, click on Save attendance button at the bottom of the page.
With this we come to the end of this tutorial.

Let us summarize.

Show Slide 8:


In this tutorial, we learnt about:
  • Plugins and
  • How to install a plugin in Moodle
Show Slide 9:


Here is an assignment for you:
  • Search for a plugin Font family maintained by Projectes TAC Dept.
  • Install the plugin with its default settings.
  • Verify from the Plugins overview section that the plugin is installed.
Show Slide 10:

(About Spoken Tutorial Project)

The video at the following link, summarizes the Spoken Tutorial project.

Please download and watch it.

Show Slide 11:

(About Spoken Tutorial Project)

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Show Slide 12: Please post your timed queries in this forum.
Show Slide 13:


Spoken Tutorial Project is funded by NMEICT, MHRD, Government of India.. More information on this mission is available at the link shown.
This script has been contributed by Priyanka.

And this is Nancy Varkey along with the Spoken Tutorial team signing off.

Thanks for joining.

Contributors and Content Editors

Itspriyanka, Nancyvarkey