eLearning

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.phpRead more…

Send your message