by Penghai Zhang.
![On 3.11.6 we cannot see the form inside the iframe.]()
![4.11.x we can see the form inside iframe.]()
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!!!!
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 4.1.x
