× How To / General

can not load content of moodle course into joomla

1 week 5 days ago
Stephan Hedeman
Posts: 3
More
Topic Author
can not load content of moodle course into joomla #1
Hello,

We are trying to get the course into joomla, we made a content module my course, then it loads neatly the overview of the course with chapter links but when entering the link to a chapter , we get no results showing up in the wrapper position. After inspecting, and adding the hide and removing the the subframe in the elementinspector. the announcement is: site is blocked refused connection. ERR_BLOCKED_BY_RESPONSE
what are we doing wrong??
attached two screenshot one before inspecting and one after inspecting where we found the message..
Please help..
Thanks.
Attachments:

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

1 week 5 days ago
Antonio Durán
Posts: 7279
More
can not load content of moodle course into joomla #2

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

1 week 4 days ago
Stephan Hedeman
Posts: 3
More
Topic Author
can not load content of moodle course into joomla #3
Hi,

I allowed the embedding, but however i now see shortly a little peace of my course then it dissapears again..
This is what the iframe says:
<iframe id="blockrandom" class="autoHeight" src=" sbithost.nl/mod/book/view.php?id=254&lang=nl-NL k" width="100%" scrolling="no" align="top" frameborder="0" onload="itspower(this, false, true, 20)" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" height="1">
If i turn the height in the inspector to 200 it will show more of the moodle environment.. but don't know where the 1 is comming from? When i configure the joomdle like this with a heigth of 100% and auto height off see screenshot i get only to see second screenshot.
Attachments:

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

1 week 4 days ago
Antonio Durán
Posts: 7279
More
can not load content of moodle course into joomla #4
I guess you have Joomla and Moodle on differnet domains. In the page you show in the pic, you should enable cross-domain autotheight.

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

1 week 4 days ago
Stephan Hedeman
Posts: 3
More
Topic Author
can not load content of moodle course into joomla #5
Hi i turned the enable cross-domain autoheight on. But that did not work. when i turn off the autoheight in wrapper and the cross-domain height, give the heigth a 750px; i see more of the moodle.. but why is that not working and do i get the right view?? Does it suppose to look like this??
Attachments:

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

1 week 2 days ago
Antonio Durán
Posts: 7279
More
can not load content of moodle course into joomla #6
It seems cross-domain auto-height is not working fine for you. We use a 3rd-party library for this, so unfortunately there's not much we can do to help.
Your best option if you want to use the wrapper is to have Joomla and Moodle on the same domain, where auto-height works better.

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