eLearning

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

Author - Pawandeep Kaur
|
0 Comments
|

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…

Captivate Content – Scroll not working in landscape mode on iPhone

Author - Kajal Marwaha
|
0 Comments
|

Problem: Scroll was not working in the landscape mode for iPhone and iPad in adobe captivate

In our project, we faced one problem the scrollbar in adobe captivate content was not working on the landscape mode of iPhone and iPad.

Solution: Follow the given Read more…

Display direct/indirect users under a manager in totara

Author - Pawandeep Kaur
|
0 Comments
|

Display direct/indirect users under a manager in Totara

Direct Users: The users under a manager.
In the following example, Manager1 is direct manager of Manager2.
Indirect Users: The users who are not directly under the manager instead they are under some 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…

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…

Check if a Section or Activity is accessible to user in Moodle

Author - Kritika Sood
|
0 Comments
|

In Moodle a course can have multiple sections and each section can have multiple activities in it. Moodle provides access restrictions feature in course in which we can impose some restrictions to section or activity based on date, completion, group ,score etc. If a user does not satisfy the required Read more…

Create custom scheduled task in Totara

Author - Manju Kashyap
|
0 Comments
|

How to create custom scheduled task in Totara using code in the custom plugin

Scheduled tasks are very useful if we want to perform anything in the background. Here I am going to explain the steps to create a custom scheduled task in Totara if you are interacting Read more…

Moodle | Steps to create a custom theme

Author - Kritika Sood
|
0 Comments
|

In moodle we can create new theme using existing theme and customise them according to user requirements. We can create new theme from scratch or by using existing theme. We can customize their front page, course page and activity pages as per requirements. In one of the projects, we were Read more…

Moodle | Totara | Create bulk enrollments from command line

Author - Kailash
|
0 Comments
|

1. Go Home ► Site administration ► Development ► Debugging and set Debug messages with “DEVELOPER: extra debug messages for developers”.

2. Create a testcourse.bash file in root directory with :

for i in {1..100}
do
var=”Course_from_script_$i”
echo $var
php admin/tool/generator/cli/maketestcourse.php –shortname=$var –size=S Read more…

Moodle | New Database table not getting created

Author - Kritika Sood
|
0 Comments
|

In Moodle, we were creating a new table for our custom plugin in db/install.xml file.

Install.xml file :

<TABLES>

<TABLE NAME=”test_student” COMMENT=”Student details.”>

<FIELDS>

<FIELD NAME=”id” TYPE=”int” LENGTH=”10″ NOTNULL=”true” SEQUENCE=”true”/>

&lt Read more…

How to enable the settings to run the cron using browser in Moodle/Totara

Author - Manju Kashyap
|
0 Comments
|

Description: If you need to run the moodle cron job to test any task which will be executed by the cron job then you can do so by typing the following url in the address bar of your browser:
http://localhost/your-moodle-site-name/admin/cron.php

But, if Read more…