- Posts: 2
Course contents appears for seconds and then dissappear
- islam
- Topic Author
- Offline
- New Member
-
Less
More
13 years 3 months ago #1
by islam
Course contents appears for seconds and then dissappear was created by islam
Hi All,
I'd like first to thank you for the great documentation and for all your hard work.
I have little knowledge of Joomla but I've been using moodle for a while.
I managed to install the joomdle in both sides and the health check was OK but when I tried to access the course contents or click go to course, It loads the course contents for seconds and disappears!!!!
One more question. Is there a guide or a template for creating the joomla site similar to your demo? I like having these two level of top menus the main one and the students one.
Thanks again
I'd like first to thank you for the great documentation and for all your hard work.
I have little knowledge of Joomla but I've been using moodle for a while.
I managed to install the joomdle in both sides and the health check was OK but when I tried to access the course contents or click go to course, It loads the course contents for seconds and disappears!!!!
One more question. Is there a guide or a template for creating the joomla site similar to your demo? I like having these two level of top menus the main one and the students one.
Thanks again
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Course contents appears for seconds and then dissappear
It looks like a wrapper problem:did you enable frame embedding on moodle? Try disabling auto-height in wrapper config.
As for a guide to create a site: no, we don't have anything like that.
As for a guide to create a site: no, we don't have anything like that.
Please Log in or Create an account to join the conversation.
- islam
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
13 years 3 months ago #3
by islam
Replied by islam on topic Course contents appears for seconds and then dissappear
Thanks Antonio.
I checked the wrapper and it is enabled. I disabled the auto hight and it works now but the SROM activities keeps loading and never starts. Any advice.
Cheers
I checked the wrapper and it is enabled. I disabled the auto hight and it works now but the SROM activities keeps loading and never starts. Any advice.
Cheers
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 3 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Course contents appears for seconds and then dissappear
I have not worked much with SCORM. I don't know why it won't work.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 3 months ago #5
by Chris
Replied by Chris on topic Course contents appears for seconds and then dissappear
What is your SCORM built in? Flash or something else? Does it work normally in Moodle? What do you mean it doesn't start?
Please Log in or Create an account to join the conversation.
- Fernando Acedo
- Offline
- Elite Member
-
13 years 3 months ago #6
by Fernando Acedo
Replied by Fernando Acedo on topic Course contents appears for seconds and then dissappear
Modify the moodle SCORM settings to open the SCORM in the same window.
For a unknown reason moodle can't open the SCORM when running inside Joomla in another window.
For a unknown reason moodle can't open the SCORM when running inside Joomla in another window.
Please Log in or Create an account to join the conversation.
- Fernando Acedo
- Offline
- Elite Member
-
13 years 3 months ago - 13 years 3 months ago #7
by Fernando Acedo
Replied by Fernando Acedo on topic Course contents appears for seconds and then dissappear
I have still problems showing SCORM files in Joomdle.
The settings are:
In moodle
In Joomdle:
The problem is solved for Chrome and Firefox but IE8 fails. It shows only a 290px height Iframe with the scrollbars. This height is not enough to show a SCORM course.
Any idea why IE8 shows this behaviour ?
Thanks in advance
The settings are:
In moodle
- Open the file in the same window
In Joomdle:
- Wrapper scroll bars: Auto
- Wrapper width: 100%
- Wrapper height: blank
- AutoHeight in Wrapper: Yes
The problem is solved for Chrome and Firefox but IE8 fails. It shows only a 290px height Iframe with the scrollbars. This height is not enough to show a SCORM course.
Any idea why IE8 shows this behaviour ?
Thanks in advance
Last edit: 13 years 3 months ago by Fernando Acedo.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 3 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Course contents appears for seconds and then dissappear
I only use Linux, so can't test with IE, sorry.
Please Log in or Create an account to join the conversation.
- Fernando Acedo
- Offline
- Elite Member
-
13 years 3 months ago #9
by Fernando Acedo
Replied by Fernando Acedo on topic Course contents appears for seconds and then dissappear
Antonio,
the iframe code is:
<iframe width="100%" height="167" align="top" class="autoHeight" id="blockrandom" src=" www.domain.com/moodle/course/view.php?id=10 " frameBorder="0" scrolling="auto" onload="itspower(this, false, true, 20)">
So the height it's wrong calculated when passed. My question is: where is it calculated? The autoheight.js or in the wrapper code?
the iframe code is:
<iframe width="100%" height="167" align="top" class="autoHeight" id="blockrandom" src=" www.domain.com/moodle/course/view.php?id=10 " frameBorder="0" scrolling="auto" onload="itspower(this, false, true, 20)">
So the height it's wrong calculated when passed. My question is: where is it calculated? The autoheight.js or in the wrapper code?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 3 months ago #10
by Antonio Durán
Replied by Antonio Durán on topic Course contents appears for seconds and then dissappear
For Moodle 2.0 the code is here:
/components/com_joomdle/js/autoheight.js
I did not write that code, it was contributed by a user. I am really bad at Javascript, so I don't know how you could fix it.
/components/com_joomdle/js/autoheight.js
I did not write that code, it was contributed by a user. I am really bad at Javascript, so I don't know how you could fix it.
Please Log in or Create an account to join the conversation.