Forum LAMS for Tech-Heads - General Forum: Re: Re: LAMS 2.0 and Moodle Integration Beta Release


 
Search: 

4: Re: Re: LAMS 2.0 and Moodle Integration Beta Release
In response to 3 12/30/06 05:39 AM
[ Reply | Forward ]
Solved problem no (2) - Using Firefox 2.01

edited the link in view.php :

from

onClick="javascript:window.open(\''.$url.'\',\'learner\',\'location=0,toolbar=0,menubar=0,statusbar=0,width=796,height=570,resizable\',0)">'.get_string("openlearner", "lamstwo").'';

to

target="LAMS Learner" title="LAMS Learner" href="'.$url.'\',\'learner\',\'location=0,toolbar=0,menubar=0,statusbar=0,width=796,height=570,resizable\',0)">'.get_string("openlearner", "lamstwo").'';

Not sure what is the problem, must be due to pop up blocker or something. Problem was not replicated at the Moodle + LAMS2.0 demo site though using my same Firefox browser.

Posted by Badrul Hisham

5: Re: Re: Re: LAMS 2.0 and Moodle Integration Beta Release
In response to 4 01/03/07 01:27 AM
[ Reply | Forward ]
Problem (1) The schedule checkbox being disabled. This looks like a bug - it should be enabled when you are creating the activity. I've raised a bug report for this and it will be fixed in the next release of the module.

When we have this fixed, you won't be able to scheduled a previously activity or change the start date/time within Moodle. ie the schedule checkbox will be disabled in the Edit Activity window. If the activity was created "normally" then the activity is started straight away and if you create it as scheduled then you can only reschedule it from within the LAMS monitoring interface.

Problem (2) The reason why we do it with a javascript:window.open is so that that learner and monitoring window will always appear big enough for the minimum size required for the Flash parts of the window.

If we switch to use the target open, then the window comes out as whatever size you happen to be using.

I'm trying to work out what could be stopping the window popping up.

Is your Moodle server running on the same PC as your LAMS server?

Which browser were you using when you encountered the problem - Firefox, IE? What popup blockers do you have running?

Thanks!

Fiona Malikoff
LAMS Technical Lead.

Posted by Fiona Malikoff

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum