Moodle Archives

Autocomplete Form Element in Totara/Moodle

Author - Webner
|
0 Comments
|

Introduction

The autocomplete element is an advanced form element that is compatible with the standard “Select” form element. When you have large datasets or options, in that case, to use a select list is more difficult. Because, it’s a LONG scroll and unpleasant read, which leads to Read more…

Types of Plugins in Moodle and Totara: When to Create Which One

Author - Webner
|
0 Comments
|

What are Moodle and Totara?

Moodle is a modular system. Totara extends the core structure of Moodle. The LMS is meant to handle the core necessities expected of a high-end company LMS. This means that Moodle and Totara both were built to be able to include additional Read more…

Types of Form Creation in Moodle

Author - Webner
|
0 Comments
|

Introduction

A Document that contains different blank fields like(Name, DOB, Class, etc.) that the user can fill the data is called form. The form can be of many types like(Application Form, Contact Form, etc.). Forms are very helpful to store data in the database, with the Read more…

How to create new plugin type in Moodle/Totara?

Author - Webner
|
0 Comments
|

Introduction plugin types in Moodle/Totara

As we know, Moodle/Totara has multiple plugin types. To extend core functionality, different ways are used to create each plugin type.

Some of the plugin types are:

mod
blocks
theme
availability
report
auth
local etc.

If you want to Read more…

Disabling Form Elements in Moodle/Totara

Author - Pawandeep Kaur
|
0 Comments
|

Here we will discuss how to disable form elements based on conditions in moodle/totara.

We are creating a form in moodle/totara by extending “moodleform” class and overriding the definition() method to including the form elements.

For example:

If you want to disable any checkbox Read more…

Custom Javascript in Moodle/Totara, Javascript & AMD Modules

Author - Pawandeep Kaur
|
0 Comments
|

How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules?

A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files.

These modules are written by using the AMD(Asynchronous Read more…

How can you modify the existing tables in Moodle/Totara?

Author - Pawandeep Kaur
|
1 Comment
|

How can you modify the existing tables of the installed plugin in Moodle/Totara?

When you install any plugin, install.xml is used to create all the tables required for your plugin.
A most common practice that people use to do is install the plugin again Read more…

Totara | How to enroll audience to Course or Program

Author - Varun Chopra

Enrolling audience to Course or Program in Totara

Problem: I want to enroll audience in course/program and I do not know that how we can enroll audience in course/program. To enroll an audience in course/program, I have followed the below steps Read more…

Moodle Windows installation using XAMPP | Common Issues

Author - Varun Chopra

Common Issues faced during Moodle Windows installation using XAMPP

1. Do not have permissions to create a database or MySQL database is too old.

Xampp uses the Mariadb database (based upon MySql), if during installation above issue occurs then:

a. go to the c:\xampp\htdocs Read more…

How to Change Innodb storage Format for Moodle/Totara

Author - Varun Chopra

Steps to Change Innodb storage Format for Moodle/Totara

Description: You may face this problem in Totara:

Advanced Totara features require innodb Barracuda storage format

Reason: The error usually occurs because of Mysql 5.6 and below using file format “Antelope”. This format cannot handle more Read more…

Divide Moodle Dashboard in 4 columns to place blocks in them

Author - Kritika Sood
|
0 Comments
|

Divide Moodle Dashboard in 4 columns to place blocks in them

We were required to build a custom moodle theme that displays blocks in 4 columns one after the other in moodle 3.4.2+. To achieve this we created a new theme by modifying an Read more…