Basic LTI plug - Moodle 1.9 and Internet Explorer 8

109 views
Skip to first unread message

Michael Kavanagh

unread,
Sep 29, 2011, 3:11:42 PM9/29/11
to Moodle-BLTI
Hi all - I read the earlier post about problems with Moodle 2.0 BLTI
plug-in and IE8.

We are trying to launch a BLTI activity using the plug-in with Moodle
1.9 and IE8, but have no luck. The BLTI activity won't log-in to the
BLTI resource. It works perfectly in Chrome and Firefox.

I'd love to know if others have successfully used IE8 with Moodle1.9
and the BLTI plug-in... then at least I'd know if this was a common
problem or something peculiar to our environment.

Thanks for any thoughts.
Mike Kavanagh

csev

unread,
Sep 29, 2011, 6:39:34 PM9/29/11
to moodl...@googlegroups.com
I think this might be the issue of using the object tag instead of the iframe tag.    If you look in your code you will find it produces an obejct tag to include the tool.


Change that to an iframe tag and see what happens.

We might want to make this change in our code.

/CHuck

Tom Tuddenham

unread,
Sep 30, 2011, 3:20:01 AM9/30/11
to moodl...@googlegroups.com
Changing to an iframe is essentially what we had to do. We forked the
code and put it up on github. You can see the delta here:

https://github.com/catapult-elearning/basiclti4moodle/commit/481e795b44f3b00d06ca37eb777c7cf24f326513

If you're using Moodle 1.9 you'll need to do something similar in the
relevant version of the plugin. Funnily enough, I though the 1.9
compatible version did use IFRAME tags - maybe that's changed
recently.

Cheers
Tom

Ludo (Marc Alier)

unread,
Sep 30, 2011, 7:35:34 AM9/30/11
to moodl...@googlegroups.com
Moodle HQ did not like the iFrame thing so we change it. I beliebe that we should generate iFrame or Object tags depending on the browser perpetrating access. 
------
Marc Alier (Ludo)    -   Associate Professor. UPC - Barcelona Tech.  
http://www.essi.upc.edu/~ludo  http://twitter.com/granludo 

-- I stand by the http://emailcharter.org/ email policy. --

csev

unread,
Sep 30, 2011, 8:18:59 AM9/30/11
to moodl...@googlegroups.com
Marc,

Last I heard, Moodle HQ has forked this code already in anticipation of integration into 2.2 (hopefully) so we might as well just fix it here.

Perhaps you know otherwise.

/Chuck

Michael Kavanagh

unread,
Oct 3, 2011, 5:38:40 AM10/3/11
to Moodle-BLTI
Thanks for your responses.

I've had a bit of a look into this now, and the 1.9.6 version we've
got does in fact seem to be using the iframe.

Also the problem exists whether we launch in new window or try to view
within Moodle.

I can't see any code related to the object tag anywhere, so I think we
might be looking at a different problem.

Now that I've tested it more thoroughly, I can see we're sometimes
getting an error message inside the iframe in IE which relates to a
login problem ("Either you have failed to login, or your login has
expired.") - So I am going start working on this aspect.

It works perfectly fine in Firefox and Chrome though!

Thanks
Mike




On Sep 30, 8:20 am, Tom Tuddenham <ferrisox...@gmail.com> wrote:
> Changing to an iframe is essentially what we had to do. We forked the
> code and put it up on github. You can see the delta here:
>
> https://github.com/catapult-elearning/basiclti4moodle/commit/481e795b...

csev

unread,
Oct 3, 2011, 8:25:05 AM10/3/11
to moodl...@googlegroups.com
Then the issue may be with the tool that you are using rather than Moodle itself.

Perhaps the tool is not able o set cookies because of an IE setting (likely the default).

But usually opening in a new window solves that problem. Hmmm.

/Chuck

Ludo (Marc Alier)

unread,
Oct 3, 2011, 11:01:54 AM10/3/11
to moodl...@googlegroups.com, Jordi Piguillem Poch, Nikolas Galanis
Sure, 
if Moodle HQ has already forked we may do what we please with our codebase for versions 1.9 to 2.1. 
Niko, can you fix it?
Jordi: do you know if the MDL HQ has forked already?
Best
Marc

------
Marc Alier (Ludo)    -   Associate Professor. UPC - Barcelona Tech.  
http://www.essi.upc.edu/~ludo  http://twitter.com/granludo 

-- I stand by the http://emailcharter.org/ email policy. --


Reply all
Reply to author
Forward
0 new messages