Wrapper don't works in different domains

  • Fernando Acedo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 8 months ago #1 by Fernando Acedo
Wrapper don't works in different domains was created by Fernando Acedo
I have installed joomla in a domain and moodle in another. The system health is all green. I can see courses in Joomla and Hikashop works fine with the courses.

But if I try to open moodle in Joomla with the wrapper I get a blank space. Checking the page source code I found:
Code:
<div class="contentpane"> <iframe id="blockrandom" class="autoHeight" src="http://www.xxx.com/?a=1" width="100%" scrolling="no" height="500" align="top" frameborder="0"> </iframe> </div>

So the code is there but simply can't open the frame source.

Autoheight is OFF, height and width are both blank to avoid js restrictions.

I tried also to open moodle in a new window and in the same. All 3 options failed. If I try to open the link www.xxx.com/?a=1 in Firebug it works fine, so the link is right.

Any idea?

Thanks in advance

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

More
13 years 8 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Wrapper don't works in different domains
Did you allow frame embedding in Moodle?

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

  • Fernando Acedo
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 8 months ago #3 by Fernando Acedo
Replied by Fernando Acedo on topic Wrapper don't works in different domains
Well done for figuring it out. I didn't check it before. Now it works fine.

Thanks Antonio.

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