Quantcast
Channel: LTI and Moodle
Viewing all articles
Browse latest Browse all 2864

Re: Is it possible to make the content selection dialog bigger?

$
0
0
by Penghai Zhang.  

Hi Jake,

We have successfully made the dialog bigger via some Javascript and CSS on Moodle v3.11.14, Moodle v4.1.x and v4.2.x.

What we do is:
1. checking if div `page-mod-lti-mod` has iframe `contentitem-page-iframe` and if the iframe has form `ltiInitialLoginForm`; and
2. if yes and the form targets to our tool's URL, we add some CSS to document; and
3. Add above script into the page via `Additional HTML`.



However we have another Moodle instance running on v3.11.6, and our approach failed.
After a lot debugging we found that the iframe never has the LTI initial login form.

We also checked the release notes from v3.11.7 - v3.11.14 and we did not find out any fix or change related to this.


Do you have any idea ?

THANK YOU!!!!





On 3.11.6: 
On 3.11.6 we cannot see the form inside the iframe.


On 4.1.x
4.11.x we can see the form inside iframe.



Viewing all articles
Browse latest Browse all 2864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>