521 solutions found in moodle-core
Page 12 of 27votes
I want to open a directory and read all the files inside and put them into an `array`, so far I have: $imagesdir = $CFG->dataroot.'/1/themeimages/...
votes
I'm working on a new Moodle Assignment plugin. How can I include a custom CSS to my plugin? I'm using Moodle 1.9.7. Thanks in advance.
votes
I'm trying to authenticate against the user db of my website (CMS based) and it uses a slightly different approach at storing hashed passwords. It uses a ra...
votes
I'm developing a php web application to be used for a university. It needs the users to login before using some services. The university already has a moodl...
votes
When the cron job for moodle runs I get this output: Execute scheduled task: Clean up ad hoc task metadata (core\task\task_lock_cleanup_task) !!! Ex...
votes
I am writing a block where I am collecting the [metadata](https://moodle.org/mod/glossary/showentry.php?eid=184&displayformat=dictionary "Glossary of c...
votes
How can I interact with Moodle Api clients to get to quizzes by course id. The documentation says the mod_quiz_get_quizzes_by_courses requires a courseids array...
votes
I discover the very useful R/exams package, as well as its very complete documentation. Unless I'm mistaken, I didn't find a place providing an exhau...
votes
I created moodle site in infinity free hosting But when I open the site it is appear this message Fatal error: $CFG->dataroot is not configured pro...
votes
I'm supposed to write a code that receives two integers (m and n) and returns all the prime numbers between those numbers (essentially a range(m,n)). The or...
votes
I'm trying to connect IHP's Postgres instance with Moodle. The [IHP Guide][1] uses `postgresql:///app?host=YOUR_PROJECT_DIRECTORY/build/db` with the dev...
votes
I have a portal called `www.example.com` and a Moodle site called `moodle.example.com`. I have some users on both sites, which have the same usernames and passw...
votes
I'm running Moodle, and have a teacher who receives a notification email anytime a student enrolls in a course (via PayPal enrollment). The email content...
votes
I have a moodle site which is maintained in a personal github repository. When moodle releases a new moodle version, I need to replace files manually to upgrade...
votes
I have defined the variables and data necessary to generate a frequency table in RMarkdown, to export it to Moodle, using R-exams: xsubio<-c(sample(5:...
votes
I'm trying to write some code that downloads content from Moodle website. the first thing was trying and logging in, but from what I've tried so far, i...
votes
I am trying to use the external database log plugin in Moodle to copy over the standard log table into an external database for easier access to do some analyti...
votes
I am using <a href='https://moodle.org/'>Moodle</a> version 3.8.4+ and PHP version 7.2.33 . Today I noticed a strange issue when I was tryin...
votes
We are still absolute beginner in moodle. I will try to phrase our query as clearly as possible. So, the basic requirement for our project is that, we be abl...
votes
I imported the `tstat` exercise given in Zeileis _et al._ (2014) to Moodle using `exams2moodle` from R/exams with default settings. But Moodle does not fully re...