Questions tagged as 'moodle'

2
answers

How to store the value of the indexes of this JSON in variable?

I have a function in php that returns this to me. [{"id":81,"username":"usuarioteste23"}] How can I save a Username and variable in a variable? Thank you.     
asked by 21.01.2016 / 11:57
2
answers

Consuming Moodle Web Service

I'm trying to consume the moodle webservice, following a js / rest example that I found in github, I created a test.php with the code below (changing the domainname and token), but when I call the page I do not receive anything in the variable r...
asked by 14.05.2015 / 18:45
1
answer

Error creating new user in Moodle via webservice

I have tried adding a new user to Moodle using their api webservice I have already modified the parameters passed through post several times, tried using an array instead of an object, tested some changes in the array structure that is passed...
asked by 18.12.2013 / 15:04
1
answer

Moodle - How to unmount the blocks

How to use the blocks to get layout elements? Example: <?php echo $OUTPUT->blocks('course_summary', 'cssCourse'); ?> I want to use the block with the course_summary id, only it does not appear on the first page ... Home ..........
asked by 26.03.2016 / 00:27
1
answer

Error: Mysql returns the following "Subquery return more than one row"

Good morning! I created this query in mysql and when I add the 1st subquery I called "totalEscolas" I get the following error: "Subquery return more than one row" without this subquery the code works blz. Could you help me? Thanks! SELECT...
asked by 24.11.2017 / 14:08
1
answer

Editing the course settings form

I'm editing the course settings form in moodle and it works, it added the field but not saved, if I change in banco de dados the saved data is printed in input , only it does not save edit_form.php $mform->addEl...
asked by 04.11.2016 / 18:57
1
answer

Moodle - Home layout with a column

Hello, I would like to know how I leave only my home page with a column only (content column), I want to get the <aside> from the left (admin block). The only way I could get any closer was to change the columns3.php fi...
asked by 16.02.2016 / 18:59
1
answer

Add video in Moodle

I'm trying to find out how I add my video in Moodle using the SRC directory. I have my own theme, and it will contain a fixed box with a video. I would like to implement this video in my normal HTML5 code with the tag video . I'm get...
asked by 10.07.2014 / 16:55
4
answers

How do I create a sql view with more than two tables?

How to create a view sql , I need to get the name and password in the Magento DB that are in different tables, to authenticate in Moodle.     
asked by 03.02.2014 / 13:28
0
answers

School system integration with moodle [closed]

I've been trying to synchronize data from a school system with moodle for about three days, but it's well coiled. I have a school system on a linux server and moodle installed on another server. In the database of the school system server a u...
asked by 19.07.2017 / 18:53