9:
Re: Re: Re: Re: Re: Integrating LAMS into home-brewed application?
By: Fiona Malikoff
|
In response to 8 | 03/31/08 08:30 PM | ||
Keith,
If I understand correctly, you are creating a LAMS sequence just a single activity and then running it as a lesson, and you want the learner to see just that one activity. So you don't want the Learner Progress bar on the left hand side, you don't want to see the LAMS logo, you don't want the learners to be able to do export portfolio. Off the top of my head, the easiest way to do this is find lams_learning.war and unzip it, then find the file main.jsp. Change <frameset rows="*" cols="160,*"> to <frameset rows="*" cols="0,*"> This will hide the sidebar. I would prefer it if you don't remove the sidebar as it is needed if you ever create a LAMS sequence with more than one activity. But it won't get rid of the "Congratulations, you have finished." message. Then re-zip up the lams-learning.war. You should rezip it or the next time you upgrade LAMS, the upgrade will probably fail. This will change when LAMS 2.1 comes out, as we are introducing a new "Non-Flash" version of learner, but the change will be similar. In 2.1 you can either do the same change to mainflash.jsp (same file, different name) or use the Non-flash mode and modify mainnoflash.jsp to only show the main iframe. I can't think of any way to avoid the "Congratulations, you have finished." message. Even if I give you the URL to call the Multiple Choice tool directly (which is what I assume you are using for the assessment) then you will still get the "Congratulations" messages. The best I can offer is that you also modify the lessonComplete.jsp and take out the old message and put in your own message. If you want to I18N it, then the message files are in the lams_dictionary.jar (org/lamsfoundation/lams/tools/mc). Of course, if you make these changes then they will be overwritten in the next upgrade. Does that work? Fiona Posted by Fiona Malikoff |
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum