[Solved] joomdle and iframe wrapper: wan't work

  • Giorgio Parri
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 11 months ago - 13 years 11 months ago #1 by Giorgio Parri
This is the situation: joomla 2.5.4, moodle 2.2.2 installed in a subdirectory and reachble by a subdomain. Every thing goes well, user login, sync,..... but I got a blank page creating a joomla menu voice selecting "moodle wrapper" then "moodle home". This is the last test I do:
1. change the menu voice to simple joomla iframe wrapper pointing to my moodle subdomain. what I got is an error message:

Unable to display this content in a frame
To facilitate the security of information entered into this Web site, the author does not allow content to display in a frame.
You can try:
Open this content in a new window

new window work
2. point the joomla iframe wrapper to another moodle site: work correctly
3. set again joomdle - Moodle Wrapper voice menu with Course type: not work -> blank page
4. Embedding with iframe my moodle subdomain into an external site: same result as point 1.

this is the generated code of the moodle wrapper - type moodle home:
Code:
<div class="contentpane"> <iframe id="blockrandom" class="autoHeight" src="http://elearning.xxxxxxxxxxxxx.xx/?a=1" width="100%" scrolling="auto" align="top" frameborder="0" onload='itspower(this, false, true, 20)'></iframe> </div>

nothing was insert into iframe.

Joomdle configuration:

Open Moodle links in : Wrapper
Wrapper Scroll Bars: Auto
Wrapper Width: 100%
Wrapper Height: 1000
Autoheight in wrapper: Yes
Last edit: 13 years 11 months ago by Giorgio Parri.

Please Log in or Create an account to join the conversation.

  • Giorgio Parri
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 11 months ago #2 by Giorgio Parri
Replied by Giorgio Parri on topic Re: joomdle and iframe wrapper: wan't work
I found it!!!! It's a Moodle setting:

Site Administration -> Security -> Security HTTP -> Allow Frame embedding -> Yes [Defalut No]

Hope could help someone else.

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #3 by Chris
Replied by Chris on topic Re: joomdle and iframe wrapper: wan't work
Thanks for your solution. I am sure this will help many people

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #4 by H. Le Spencer
Replied by H. Le Spencer on topic Re: joomdle and iframe wrapper: wan't work
Hi,
I can't follow the path. site > administrator > security > etc.
Could you help me?
I'm using Joomla 2.5.4.
Thanks,
H. Le

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #5 by H. Le Spencer
Replied by H. Le Spencer on topic Re: joomdle and iframe wrapper: wan't work
OKAY I think I get it.
I don't have moodle plug in installed.
Thanks

Please Log in or Create an account to join the conversation.