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
10
votes
6 answers

Moodle how to find out the role of the logged in user

How to get context/role of logged in user in moodle? I am trying to implement a context-aware block. The block would suggest the right quizzes to its users based on their moods. Role can be a teacher, student, teacher assistant or admin. I have…
Ehsan
  • 4,334
  • 7
  • 39
  • 59
9
votes
1 answer

How to create moodle local plugin

I'm creating a custom moodle local plugin, but I'm not finding any help regarding this. Can someone help and give me general layout of the local plugin? I'm new in moodle.
katrina
  • 103
  • 1
  • 1
  • 3
9
votes
1 answer

Getting JSON Object by calling a URL with parameters in PHP

I'm trying to get json data by calling moodle url: https:///login/token.php?username=test1&password=Test1&service=moodle_mobile_app the response format of moodle system is like this: {"token":"a2063623aa3244a19101e28644ad3004"} The…
bofanda
  • 10,386
  • 8
  • 34
  • 57
9
votes
6 answers

How can I tell if moodle cron is working?

I've just sended a messege to the server admin asking if he can set the cronjobs on the server and he asked me to tell him if everything is working right. How can I test whether the cronjobs are working or not?
limoragni
  • 2,716
  • 2
  • 32
  • 50
8
votes
1 answer

Why does Alfresco Moodle integration bounce my login?

I have Moodle running on 2 different servers hosted by 2 different platforms (AWS and Rackspace). I have configured the AWS Moodle installation to read from Alfresco through the repository plugin and it works perfectly with the URL…
Matt P
  • 593
  • 2
  • 7
  • 19
8
votes
1 answer

Getting all users in Moodle using the webservices

I'm developing a Java client to interact with Moodle. I want to get all the users registered within a Moodle installation. I found the webservice function called core_user_get_users which returns a list with users. When I call the service without…
Liam de Haas
  • 1,258
  • 3
  • 18
  • 39
8
votes
2 answers

Use window.print content to download a web page as pdf

I would like to have a link that when is clicked, automatically starts the download of the printable version of the web page. I'm using Moodle. The content I want it's exactly the same If I download the page using ctrl + p and saving as pdf or…
Toquis
  • 105
  • 1
  • 2
  • 7
8
votes
2 answers

Moodle Language synchronisation

Hi I recently got used to moodle http://moodle.org. I want to use the official Moodle App for IOs/Android. However I want the language to be german when using the app. Here is an example screenshot: The docs say that I have to upload a mobile.php…
Xeun
  • 1,089
  • 1
  • 11
  • 20
7
votes
1 answer

AAPT: error: resource android:attr/fontVariationSettings not found

D:\wamp\www\moodle35>cordova build android cordova-android-support-gradle-release: Android platform: V7.1.2+ cordova-android-support-gradle-release: Wrote custom version '27.1.0' to…
Nagesh
  • 71
  • 1
  • 3
7
votes
1 answer

How to remove multiple courses in bulk in Moodle

Is there a way to remove multiple courses at once? It seems I can only do this one by one. Perhaps there is a better way, but I haven't found anything yet.
freke70
  • 91
  • 1
  • 5
7
votes
3 answers

How to convert simple_html_dom object back to string?

I have used PHP Simple HTML DOM Parser to first convert an HTML string to DOM object by str_get_html() method of simple_html_dom.php $summary = str_get_html($html_string); Then I extracted an object from the $summary by foreach…
Solace
  • 8,612
  • 22
  • 95
  • 183
7
votes
2 answers

Using MarkDown in Moodle quiz questions with the GIFT format

Is there a way to use MarkDown's fixed-width code blocks in a quiz question? I'm writing my quiz questions in my text editor in the "GIFT" format and then importing them to my quiz pool. The GIFT format is very quick and compact, and this method…
ConvexMartian
  • 331
  • 2
  • 14
7
votes
3 answers

Performance tuning Moodle

Our Moodle site is starting to get heavy traffic. As a result, the site is slowing down. What are some of the configuration options I should check right off the bat when performance tuning Moodle? I know it is specific to this site as others on it…
Josh
  • 10,352
  • 12
  • 58
  • 109
7
votes
4 answers

is there any API exists for Moodle?

I want to create a customized front end for Moodle. Does anyone know that from where I can get API for this? or any other help?
mqpasta
  • 960
  • 3
  • 14
  • 38
7
votes
1 answer

Moodle Accept Login from external site

We are adding Moodle to our site (different server, different sub-domain, but same main domain, and the servers are set up to be able to communicate with each other) and what we want to have it do is: User accesses the main site User logs in User…
awestover89
  • 1,713
  • 4
  • 21
  • 37