I am trying to use video.js to prevent fast-forward, but allow rewind, for mp4 videos on a Moodle site. The following script works in Chrome and Opera, but not in Microsoft Edge:  window.onload = function() {   if ($('iframe').length > 0)...
In Moodle, while we use $PAGE->requires->js_init_call() to include a JS function defined in our plugin's module.js file, how can I include external Javascript resources, which we normally include in the <head> tags like:  <head>...
Some universities have a Blue Card scheme enabling students with specific learning difficulties (SpLDs) to flag their work with a blue card, so the tutor will mark it with due consideration.  We needed a way of making it easier for students to flag t...
I am building an application to authenticate with Moodle and get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Ang...
I am trying to trigger an ajax call on change of a dropdown menu(at client_script.php). The ajax call will send some values to server_script.php and it will change a div section of the client_script.php. The problem is the server script is kept in a...
My config:   Ubuntu 14.04 Nginx 1.4.6 PHP 5.5.9 Moodle 3.0   I've completed the Moodle 3.0 installation through the browser and there is no css or javascript loaded. This is NGINX error log:  2017/04/24 20:48:23 [error] 3277#0: *601 open() "/...
So, I have the next problem: I try to create the new div @[email protected] in      /message/templates/message_area_contact.mustache    So the code looks like this:   ... <div class="name">         {{fullname}}           <div style="font-sty...
I'm creating an e-learning module which uses SCORM 2004 4th Edition to communicate with the host learning management system.  At the moment I've setup my imsmanifest.xml simply so I have one primary objective which is satisfied by a score of...
I am coding a block type plugin for Moodle and have this JS code that gives me problems. Since I'm not very familiar with JS and JSON I can't deduce what is the problem. My code uses this function to add custom action to action link which iss...
I'm new in moodle and I always programmed at client-side. I think maybe I'm missing something because of that reason. I need to provide the user with diverse UI elements, according to what he selects in a combo. So I was thinking in writing t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.