Opening external tool in new window
The most recent version of tiles for Moodle 3.10 seems to not allow external tools to open in a new window launch container. This causes our LTI tool to fail.
Comments (7)
-
repo owner -
reporter Hi David, thanks for your response. I have solved the issue by setting cookies with
SameSite=None
in my tool. It seems tiles launches new windows via an iframe first, which can cause issues for tools that have a more strict handling of cookies? -
reporter - edited description
-
reporter The updated solution seems to still cause an error for certain browsers (which open the new window with
about:blank#blocked
in the address bar). My guess is this is a security issue related to iframes opening new windows? -
reporter Hi @David Watson , I just wanted to check back to see if there is any update on this. Opening up the tool in a new window works as expected in a normal Moodle layout, but not in the tiles layout. Is there any way to revert to default behavior for this? Thanks for your help!
-
Hi, any updates?
I noticed same phenomenon when tried to use activity with external repository. It does not matter if I choose ‘new window’ or ‘popup' from activity setting, it still opens it on top of the current window instead of new one. Seems it is this same problem.
If I change the course format to some other than Tiles (topics, grid, one topic etc.), then it opens to new window like it should.
This with Tiles 3.9.0.13 (2020080613) and Moodle 3.9.7 (Build: 20210510)
-
repo owner - changed status to resolved
Fixes issue
#67LTI to open in new window→ <<cset d17382a6ee9c>>
- Log in to comment
Hi Alec did you experiment with the different options for “Launch container” available when you edit the LTI tool instance in the course, and/or try changing the default launch container under Site administration > Plugins > Activity modules > External tool > Manage preconfigured tools?