LTI showing full site in fram

LTI showing full site in fram

by Hans B0s -
Number of replies: 4

Hi,

I'm using Moodle 3.9 als LTI client and 3.11 as provider.

Now i've selecte a single activity (it's a questionnaire) on te provider site but on the client site I get the enrire website with access to the activity but also the rest? What can go wrong? I just want the questionnaire activity to become available on the client site and not the rest of the providers site.


Anny suggestions?


Hans

Average of ratings: -
In reply to Hans B0s

Re: LTI showing full site in fram

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Hans,

That's dictated by something called pagelayout. For admin/teacher launches, you'll see the full view with blocks and nav. As a student, however, we override that pagelayout to the embedded layout (no nav or blocks). This sounds like what you want. Try switching role to student and you should see what I mean.

Hope that helps
Jake
In reply to Jake Dallimore

Re: LTI showing full site in fram

by Hans B0s -
Hi Jake,

Thanks, this solved the problem.

Hans
In reply to Jake Dallimore

Re: LTI showing full site in fram

by Hans B0s -
Update:
Just noticed that two moodle site running in separate browser tabs with different domains causes problems.
Solved this by changing the cookie path.
In reply to Hans B0s

Re: LTI showing full site in fram

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Hans,

Good to hear that resolved the layout issue for you.

Regarding the cross-site issue, there was an issue relating to cross-site cookies that was patched in MDL-71887. You'll need to be running 3.9.9+ to get access to that patch, however (see fix versions listed on the issue).

If that's not the problem, can I ask that you please create a new thread in this forum, describing clearly the versions you're running, what steps you're taking to launch and the problem you're experiencing (exact error message, etc).

Cheers,
Jake