Showing blocks in published LTI activities

Showing blocks in published LTI activities

by George Schaathun -
Number of replies: 3

(I posted this question in the wrong forum first.  This is a better fit.)

I would like to export an activity using blocks as an LTI activity.  I was quite surprised that the blocks do not show. Now I understand that I am not the first one to find this to be a problem, and my technical aid has inspected the code to conclude that there is no config setting that we have missed.

Is there anyone here who is familiar with the implementation of the LTI module?  I wonder both why it has been designed not to show blocks, and whether one would consider changing it to do so, optionally or otherwise?

We do consider implementing a fix of our own. Would such a change be welcomed?   Since LTI is a core feature, I am a reluctant to implement any modifications just on my own ...

Thanks a lot in advance.

Average of ratings: -
In reply to George Schaathun

Re: Showing blocks in published LTI activities

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I think the issue you are describing is MDL-68792, and the attempt to fix that has not yet succeeded.
In reply to Tim Hunt

Re: Showing blocks in published LTI activities

by George Schaathun -
Absolutely. Thanks a lot for the pointer. We'll study the discussion before we move on.
In reply to Tim Hunt

Re: Showing blocks in published LTI activities

by George Schaathun -
Actually, I want to embed true blocks, not just fake blocks. Arguably, that makes my request an enhancement, while yours is a bug. I was not aware of the distinction when I posted, so thanks a lot for the knowledge boost.

The case is this. We want to add a comment feature to questions, for the students to ask questions, with a direct easy to follow link to the question and instance, be that bug reports, requests for help, general evaluation, or whatever. As far as our own activity, CAPQuiz, is concerned, we could just as well use fake blocks, I think. However, we may want to use it also with the core Quiz, and then an independent block module is a more practical approach.

I can imagine there being other applications, but the imagination is not concrete.

Is this just me, or would there be in general interest optionally to be able to embed arbitrary blocks in LTI consumed activities?

For my immediate needs, I can probably patch core with one of the ideas considered for MDL-68792, but such rogue approach is not entirely satisfactory ...

:-- George