- Posts: 7
How To / General
Moodle content is not being displayed on Joomla
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
10 years 2 months ago #1
by Sean
Moodle content is not being displayed on Joomla was created by Sean
When Joomla tries to open course content from Moodle, I get blank result and error message saying "Refused to display '
moodle.xxxxxxxxx.com/mod/quiz/view.php?id=x
' in a frame because it set 'X-Frame-Options' to 'sameorigin'" in chrome and different message in different browsers.
This happens when I click on the moodle content like quiz or assignment from Course contents view.
In the configuration the option for Open Moodle links in is set to "Wrapper"
Joomla is located in dev.MYDOMAIN.com (eventully will be moved to just MYDOMAIN.com) and Moodle is located in moodle.MYDOMAIN.com
Can anyone please help me figuring this out?
Thank you!
This happens when I click on the moodle content like quiz or assignment from Course contents view.
In the configuration the option for Open Moodle links in is set to "Wrapper"
Joomla is located in dev.MYDOMAIN.com (eventully will be moved to just MYDOMAIN.com) and Moodle is located in moodle.MYDOMAIN.com
Can anyone please help me figuring this out?
Thank you!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 2 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Moodle content is not being displayed on Joomla
Did you enable "allow frame embedding" in Moodle?
Also please note that wrapper use is not very good when having different domains for Joomla and Moodle, as you won't be able to use the auto-height feature.
Also please note that wrapper use is not very good when having different domains for Joomla and Moodle, as you won't be able to use the auto-height feature.
Please Log in or Create an account to join the conversation.
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
10 years 2 months ago #3
by Sean
Replied by Sean on topic Moodle content is not being displayed on Joomla
I enabled that option and now it's displaying the course content. Thank you!
I only can see "New Window" and "Same Window" for the options to open Moodle links in but I want my visitors to view Moodle contents only through Joomla by using Joomdle.
Is there any other way to display the course content without using the wrapper?
Thank you again!
I only can see "New Window" and "Same Window" for the options to open Moodle links in but I want my visitors to view Moodle contents only through Joomla by using Joomdle.
Is there any other way to display the course content without using the wrapper?
Thank you again!
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
10 years 2 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Moodle content is not being displayed on Joomla
The only way to do that is to use the wrapper. You can use the wrapper, but you cannot use auto-height, unless you change things to have Joomla and Moodle on same domain.
Please Log in or Create an account to join the conversation.
- Sean
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
10 years 2 months ago #5
by Sean
Replied by Sean on topic Moodle content is not being displayed on Joomla
Okay, I see. Maybe I'll change it to have them on same domain. Thanks!
Please Log in or Create an account to join the conversation.