Skip to main content

Questions tagged [moodle-api]

Moodle has a number of core APIs that provide tools for Moodle scripts.API's are already having functionality that can be reuse,and allow you to interact with Moodle system. They are essential when writing Moodle plugin, or Moodle customization.

moodle-api
150 questions with no upvoted or accepted answers
3 votes
0 answers
390 views

Running a Moodle quiz via API

I have been asked to see if we can incorporate some of our Moodle quizes on our webpage, and am having issues finding any information on this. In effect, what I want to do is allow our webserver to ...
vrghost's user avatar
  • 1,128
2 votes
0 answers
45 views

Problem: Cannot run existing moodle source code

I downloaded the source code and database of a website developed with moodle. I imported the database locally with the same credentials and just modified the configuration file as follows: <?php //...
DONGMO BERNARD GERAUD's user avatar
2 votes
1 answer
1k views

RESTful webservice Moodle plugin Authentication fails

I am using moodle rest plugins for mobile web-services and from this tutorial I have enabled rest API and other related services as per the documentation when I try to test the web service then I got ...
user3031108's user avatar
2 votes
0 answers
760 views

Upload scorm packages in moodle course module using moodle rest api

I have already created a course using moodle RestAPI(function name : core_course_create_courses). then i want to upload a scorm package in moodle course module/activity. i have write some code for ...
Alpesh Pansuriya's user avatar
2 votes
1 answer
591 views

Mark Moodle activity as complete from within the Activity

We are using Moodle 3.1.1 and trying to find a way to "Mark activity Complete" (via a link or button) from within each activity instead of going back to main course/topics page and checking the "Mark ...
user7616631's user avatar
2 votes
0 answers
543 views

Auto login via moodle ( SAML )

I'm using Django 1.6 for a backend and I've created a web application of meta player. I used OAuth2 for login. Now I'd like to integrate my web Application in a moodle site, so here comes the ...
Yuqing  Wei's user avatar
2 votes
2 answers
972 views

Moodle function to edit contents

Moodle API has functions like core_course_create_courses() core_course_duplicate_course() core_course_get_contents() These all work fine. Is there a way to set and edit the contents of a course? ...
Scott Alexander's user avatar
2 votes
2 answers
826 views

Moodle Docker Web Service working but can not be called from another docker container in the same network

I am running a moodle docker container and one other container to call moodle web service function in a same network. I'm pretty sure I have set up the moodle properly because I can call moodle web ...
rixpl's user avatar
  • 31
1 vote
0 answers
151 views

Moodle API Integration not working. What could be the issue?

I'm doing an integration between a laravel + API of Moodle regarding the manual enrol of a user to a specific course. Before this, I did the process of create the user using the API, and it works like ...
Roberto Ceballos Ramirez's user avatar
1 vote
0 answers
54 views

Moodle let user change his own picture

Im working on a moodle new theme and I want to let user change his picture from his profile page what should I do? I overide the profile page then I tried to make it but i think it will need a new php ...
Mohammad Khawaja's user avatar
1 vote
0 answers
133 views

how to convert pluginfile image text link moodle?

I am using Moodle version 4.1.1 in which I am using a custom API that I have created. In the custom API, I am getting the question data from the Moodle question table in which there is question text, ...
Dgupta.rspl's user avatar
1 vote
1 answer
276 views

Moodle Sessions Error Preventing Admin User Creation on Fresh Install

While installing Moodle, in https://mylms.com/user/editadvanced.php?id=2, after filling out the form to create the first admin account, the page redirects to give the following error message "...
Khan's user avatar
  • 11
1 vote
0 answers
117 views

Duplicating courses with Moodle webservice with included role enrolments

I'm duplicating moodle courses via webservice core_course_duplicate_course. While including role enrolments in the duplicate is easy through UI (see screenshot attached). How can I pass the option for ...
Madamadam's user avatar
  • 918
1 vote
1 answer
347 views

Web (Rest/SOAP) API for Moodle Question Bank

I need to make a different front-end I need good API interface for Question Bank/Question Engine? I didn't find much details on this.. Can someone help?
suraj shukl's user avatar
1 vote
1 answer
55 views

How to resolve the appearance of span in mobile phone when using Moodle App

When you view a quiz in the moodle mobile app, the line of code appears with class sr-only in span. How to resolve it in Moodle 4.1 ? Click to view the error The page display well in web browser. I ...
danimo's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
10