Questions tagged [moodle]

Moodle is an open source learning management system (LMS) written in PHP.

Moodle is an Open Source Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It has become very popular among educators around the world as a tool for creating online dynamic web sites for their students. To work, it needs to be installed on a web server somewhere, either on one of your own computers or one at a web hosting company.

Originally developed by Martin Dougiamas in Australia, it is used world-wide by many places of learning.

According to Moodle.org's stats, as of February 2013, there are over 77,000 registered sites using Moodle in over 225 countries, serving over 7 million courses with over 66 million users.

Useful links

Useful Developer Links

Distributions

3019 questions
0
votes
1 answer

Foreign Key MySQL - Moodle

i have a table, Categories, it has a column 'id' (PK) and the same table has the column parent which is a FK. Table What i need (and can't) is to take the 'parent' id and show the value 'name' associated to this id, when i select 'name' it doesn't…
Juan_P
  • 3
  • 1
0
votes
1 answer

Unable to Connect Moodle with nextcloud Error: Can Not Download File

I am trying to get files from Nextcloud to moodle courses with File activity. After selecting files and save, it throws error says can not download file. I have used OAuth 2 to connect Nextcloud from moodle here is screen shot I don't know why…
Dharmik
  • 2,325
  • 3
  • 27
  • 37
0
votes
1 answer

Display remote hosted video/image in the Scorm

I am a beginner on the Scorm. I want to access scorm content from a different server. a video/image is stored on s1 instance and accessing the content from an LMS via scorm which is hosted on a different instance, s2. What needs to be modified in…
0
votes
1 answer

Title attribute of HTML still render although it has remove in mustache file

I try to remove the title attribute of tag a in the mustache template of moodle framework. But somehow, it still renders the title attribute inside the tag "a" without value or empty value.

Em Ha Tuan
  • 65
  • 9

0
votes
2 answers

Order a SELECT query by a column not specified in the SELECT in TSQL

I'm using this query in MS SQL Server 2016: select MAX(DATEADD(s, timecreated, '19700101 02:00:00')) AS last_active_on, courseid from mdl_logstore_standard_log where eventname = '\core\event\course_viewed' group by courseid order by last_active_on…
luisdev
  • 558
  • 7
  • 22
0
votes
1 answer

SQL Query result not getting checked and print the points

I am using MOODLE LMS. Users grade will be stored in the database. Now for example if the users grade is between 1 to 10 then the point 5 should print. But I'm not getting the output. Below is the code $check1 = $DB->get_record_sql("SELECT grade…
0
votes
1 answer

cache/Unable to load the cache configuration file in Moodle

My moodle was installed on Centos 7, disabled selinux but got error "cache/Unable to load the cache configuration file" [ How to fix it ? Thank you very much
TanPS
  • 31
  • 3
0
votes
1 answer

How to download a database of grades belonging to a cohort from moodle?

How can the administrator download a database of grades belonging to a cohort from moodle? The database should contain the student's name, number, course, grade, date, teacher.
Clarisha
  • 1
  • 3
0
votes
3 answers

moodle mobile app can not access moodle website

I am facing a problem in moodle mobile app I downloaded the mobile app from google play and apple store when I try to write the link for my moodle website I get the error message the mobile app can connect on the instance on staging environment…
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175
0
votes
2 answers

how to pass the selected option as value in moodle select

i want to pass the options as values : here is my code. $master_id=array(); $ret1="select Id from m_tl_mastercourse"; $result1=get_records_sql($ret1,$limitfrom='', $limitnum=''); foreach($result1 as $resu){ …
Theony
  • 3
  • 1
0
votes
2 answers

Target common parents child with JavaScript / jQuery

I have started with javascript for frontend development and I'm trying to alter an icon in a Moodle course with custom js code but I can't target it. I tried to navigate there from a known start point (I created a span with an id) and then wanted to…
Famondir
  • 55
  • 7
0
votes
1 answer

Moodle Double Enrolling Students Using Cohorts

Are students enrolled a second time for a course if they are in a second COHORT? Or, is Moodle intelligent enough to SKIP them when the second COHORT is enrolled?
Fred Lackey
  • 2,351
  • 21
  • 34
0
votes
1 answer

Do I need to develope a new function in MOODLE to get a web service that return the list of session by couse using attendance plugin?

so I'm using MOODLE 3.11.3+ (Build: 20211019) and we exposed a number of web services. we need to use the attendance plugin and I'd like very much to get the list of sessions by course, is that possible without touching the code
Firas
  • 13
  • 4
0
votes
1 answer

JSXGraph in Moodle: Is it possible to separate the JavaScript code from the tags?

Say one would like to add multiple interdependent JSXGraph boards to a Moodle page, but for some reason they should not be all in the same tag. In the following example, the two boards are placed in different table cells: …
FlorianL
  • 267
  • 2
  • 10
0
votes
1 answer

Migrate moodle data to Amazon s3

I have migrated moodle data directory to Amazon s3. Now I am trying to access all the files from the s3 storage using this plugin moodle-tool_objectfs Attaching my settings screenshot. I am trying to access all the media files amazon s3 instead from…
Prabhakaran
  • 3,900
  • 15
  • 46
  • 113