Getting the learner name from the LMS is a nice wee trick to personalise a course (used sparingly!) Using whatever API (in this instance I was using Pipwerks SCORM 1.2 demo shell), var learnerName = get('cmi.core.student_name'); The SCORM standard stores the name as LastName, FirstName MiddleInitial, so the name comes out as 'Blair, Lawrence' for... Continue Reading →
Link to a particular page of a PDF
You can link to a particular page of a PDF by passing a simple parameter in the URL. Quite handy in eLearning when linking reference material! whatever.pdf#page=42
Encoding video adds brightness
Every time I encoded a video I've been working on from the enormous .avi format to .mp4, it was washing out all my colours. My very light background texture was all but disappearing, and everything looked like rubbish. After lots of investigation, it was the settings in VLC which were doing it. I turned my... Continue Reading →
Learning from mistakes
We all learn from our mistakes, it's one of the strongest methods of learning we have. Stick your hand in boiling water and that outcome - the searing pain from your boiled hand - really gets the lesson across: don't do that again. But we barely ever do this in eLearning. It's a massive waste of opportunity. To write... Continue Reading →
Dialog pages not working on more than one page in jQuery mobile
I'm a novice in jQuery mobile, this had me stumped. Everything would work fine on one page, but once I navigated between pages, my dialog pages would fail to open. Turns out, if you're doing internal linking on one page, you need to turn off ajax for navigating to the new page. Ajax loads with... Continue Reading →
Track Adobe Captivate courses without an LMS
I give Adobe a hard time on Craptivate (it is terrible) but I've just found something that doesn't quite suck – a way to report on courses without an LMS. And this comes packaged with Captivate - the 'Adobe Quiz Results Analyser'! It's very easy to set up: put 'internalServerReporting.php' and 'internalserverread.php' from your 'C:\Program Files\Adobe\Adobe... Continue Reading →
print out xml data that is loaded in javascript / AJAX
Paranoid the reason nothing is coming out is that nothing is coming in? This is a nice and easy alert option to print out your XML doc as an alert, so you know the data's there. If nothing's working - it's some other reason! $.ajax({ type: "GET", url: "courses.xml", dataType: "xml", success: function (data) {... Continue Reading →
Checking whether jQuery and jQuery ui have loaded
Basic stuff for those who know what they're doing with js - useful to me, when intranets keep stripping URLs and things! <script type="text/javascript"><!-- window.onload = function() { if (window.jQuery) { // jQuery is loaded alert("jQuery loaded -Yeah!"); } else { // jQuery is not loaded alert("jQuery Doesn't Work"); } if (jQuery.ui) { // UI... Continue Reading →
Get country from IP address with JavaScript
This uses the telize site to get a geolocation of an IP address. It's not 100% accurate but fine for country-level location, which is all I wanted. <script type="application/javascript"> function getgeoip(json){ //document.write("Geolocation information for IP address : ", json.ip); //document.write("Country : ", json.country); //document.write("Latitude : ", json.latitude); //document.write("Longitude : ", json.longitude); //document.write("Country: " + json.country);... Continue Reading →
Locked self out of course in Totara
I was setting up a course page, and wanted to see how it looked for learners. I went 'Switch my role to...' and selected Learner - then couldn't view the course since I'd made it invisible to learners. The problem here is that I was no longer able to get in to the course editing... Continue Reading →
eLearning feedback/evaluation questions for the LMS
Learner feedback is great to get, but all-too-often we don't seem to ever seek it. But how can we improve without it? In LMS's it's usually pretty easy to gather learner feedback by creating a wee non-scored assessment, or in Moodle a feedback activity. I've been drafting a generic one up which may provide a... Continue Reading →
Totara – ILX module not tracking from IE11 on Totara 2.6 / Moodle 2.6
Had some problems with a module provided by ILX (v1.0.1r26) not tracking from IE in Totara 2.6.14 (Moodle 2.6.6). After some clowning around: suspend_data worked fine in Firefox 34.05 and Chrome 39.02 suspend_data worked fine in IE11 provided: the learning opened in a new(simple) window Compatibility view was turned on. Not a seamless fix but it'll... Continue Reading →