All Questions
Tagged with moodle-api moodle-mobile
48
questions
1
vote
1
answer
105
views
How do I apply authentication to my ionic app using moodle?
I'm currently working on a Ionic app with a login validation feature. The objective is to verify user-entered login details by cross-referencing them with the corresponding username and password ...
0
votes
0
answers
121
views
API to Retrieve created questions without any attempt from Moodle
Retrieve all questions just created by user (that are not replied = without any attempt) is what I'm looking for.
It's possible to retrieve the different attempts of a question (already replied = with ...
0
votes
1
answer
133
views
Is it possible to have a participants' course reports plugin with all their courses, the status of learning, time spent on moodle lms?
I have a client that want all the reports of all participants to be shown in with all their courses, their level of completion of those courses and the time spent. And the report for every participant ...
0
votes
2
answers
655
views
How to enroll user in particular course in moodle
i need your help to enroll user in particular course on the basis of quiz complete
what i need to do is i want to show to button when student complete the particular quiz on the course page where ...
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 ...
0
votes
0
answers
91
views
How to enable web services in moodle?
i have developed a plugin and when i install it i want to enable web services automatically while installing, i don't want to manually enable it at => site administration > server > overview &...
0
votes
1
answer
682
views
How to validate something before installing local plugin in moodle
I have developed a local plugin and before installation i want to check if a certain plugin i.e. mod_attendance exists in the moodle, if it exists i want to continue with the normal installation else ...
0
votes
1
answer
667
views
Error code: ddlxmlfileerror during plugin installation
I have created a plugin/webservice in moodle in my local folder in moodle, when i converted the folder to zip and then installed it; it would install correctly in local folder in moodle. Now i want to ...
0
votes
2
answers
800
views
How to return data as JSON in moodle webservices
I am creating a webservice in moodle and want to return my std object as a JSON,
public static function add_attendance_lti($attendanceObject)
{
......
$lti_updated = [
'id' => $...
0
votes
1
answer
560
views
Moodle Web Service responses with invalid_parameter_exception
I created moodle and mariadb containers with Docker.
Moodle: 3.11.4
Mariadb: 10.3
I am trying following webservice to execute:
client:
wwwroot: 'http://localhost:8012',
service: 'moodle_mobile_app',
...
0
votes
1
answer
363
views
Moodle corrupted uploaded files
I am using moodle api core_files_upload with node js using this script
const { CallService } = require("../MoodleWS")
var Upload = async function(userid, file) {
var base64 = await ...
1
vote
0
answers
209
views
Images aren't showing up on Moodle mobile
I created html e-learning using Animate CC, and I had problems when I trying it out in the Moodle app. On the content page, all bitmap images are not displayed at all, only text is displayed.
here's ...
0
votes
1
answer
483
views
Where is the moodle documentation for using Core web service functions that indicates the parameter required
I can not see the documentation telling what are the related parameters to their Core web service functions.
Moodle has a lot of Core web service functions listed at
https://docs.moodle.org/dev/...
1
vote
1
answer
2k
views
How to remove site registration error in moodle?
I am new to moodle, I have configured moodle on a Linux server, where there was IP address in place of the domain name. After I have replaced a subdomain name with my IP address, but then I am getting ...