- Posts: 2
[Solved] Wrapper height, IFrame...........MyCourses
- Gaukhar
- Topic Author
- Offline
- New Member
-
Less
More
14 years 7 months ago - 14 years 7 months ago #1
by Gaukhar
[Solved] Wrapper height, IFrame...........MyCourses was created by Gaukhar
Hello,
Please, help me... I spent 2 days trying to solve these 2 problems.
ok,so I used Joomla 1.5 + Joomdle 0.61 + Moodle.
If the user is registered and has payed for the specific course, then he should be able to see the list of courses he has and it's content (description, quizzes, material, etc.)
I have no errors while listing courses of the user. But when I want to see the description, there is no output. while debugging I found out that there 2 errors:
1. Uncaught TypeError: Cannot read property 'height' of undefined
I read some posts from this forum, I have changed the adjustMyFrameHeight() to the xadjustMyFrameHeight(). No change. then I changed the default.php to the default_20.php.
No change again. I do not know why but I can't see any change in the running code... still shows the same errors...
2. Unsafe JavaScript attempt to access frame with URL moodle.domain.com/course/view.php?id=197 from frame with URL domain.com/index.php?option=com_joomdle&...ourse&id=197&Itemid= . Domains, protocols and ports must match.
I have no idea how to fix this one... I tried to google, but nothing...
I really really hope for your help!!!
Thanks in advance.
Please, help me... I spent 2 days trying to solve these 2 problems.
ok,so I used Joomla 1.5 + Joomdle 0.61 + Moodle.
If the user is registered and has payed for the specific course, then he should be able to see the list of courses he has and it's content (description, quizzes, material, etc.)
I have no errors while listing courses of the user. But when I want to see the description, there is no output. while debugging I found out that there 2 errors:
1. Uncaught TypeError: Cannot read property 'height' of undefined
I read some posts from this forum, I have changed the adjustMyFrameHeight() to the xadjustMyFrameHeight(). No change. then I changed the default.php to the default_20.php.
No change again. I do not know why but I can't see any change in the running code... still shows the same errors...
2. Unsafe JavaScript attempt to access frame with URL moodle.domain.com/course/view.php?id=197 from frame with URL domain.com/index.php?option=com_joomdle&...ourse&id=197&Itemid= . Domains, protocols and ports must match.
I have no idea how to fix this one... I tried to google, but nothing...
I really really hope for your help!!!
Thanks in advance.
Last edit: 14 years 7 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
14 years 7 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Wrapper height, IFrame...........MyCourses
Hi.
Do you have all green in system check?
Not sure what you mean with not seeing the description....
As for 2) You cannot use wrapper autoheight when Joomla and Moodle run on different domains, due to javascript security restrictions.
Do you have all green in system check?
Not sure what you mean with not seeing the description....
As for 2) You cannot use wrapper autoheight when Joomla and Moodle run on different domains, due to javascript security restrictions.
The topic has been locked.
- Gaukhar
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
14 years 7 months ago #3
by Gaukhar
Replied by Gaukhar on topic Re: Wrapper height, IFrame...........MyCourses
Thank you so much!!!
I couldnt open the page with the course quizzes, tests and so on! but I guess it was the autoheight problem. Now as u said that I cant use autoheight, I changed it, & everything works just great! that's fantastic! thank you again!
I couldnt open the page with the course quizzes, tests and so on! but I guess it was the autoheight problem. Now as u said that I cant use autoheight, I changed it, & everything works just great! that's fantastic! thank you again!
The topic has been locked.