Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Customizing User InterFace


 
Search: 

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Customizing User InterFace
In response to 12 08/02/10 04:44 AM
[ Reply | Forward ]
Hi Gaynor,

Ah, I see... I think the loading images (for author and learner) can be change by replacing these files with your own logos:

learner.logo.swf
preloader.logo.swf

Find these files in jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/images/

As for some of the images in the buttons and bar at the top, they might be hardcoded in the lams_authoring.swf file.

Once you replace the icon images it should work. However, it might be that at times Flash caches the images. Flash has a different cache than the browser, you might need to clear the cache manually though. See here:

http://is.gd/dY3Zu

Thank you,

Ernie

Posted by Ernie Ghiglione

14: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Customizing User InterFace
In response to 13 08/02/10 10:00 PM
[ Reply | Forward ]
Hi Ernie

Thanks for this. I changed the learner.logo.swf and preloader.logo.swf images ok in jboss-4.0.2/server/default/deploy/lams.ear/lams-www.war/images/.

However after creating new swf files for the icons as per your instructions e.g. \lams_tool_gmap\web\images\icon_gmap.swf, clearing all caches (flash - on the same url you provided and in my browser, and in LAMS) and rebuilding LAMS and re-running it the icons didn't update. I even deleted the instance of the icon in the temp folder in jboss (the only place I could locate the file) e.g.\jboss-4.0.2\server\default\tmp\deploy\tmp62469lams-tool-lagmap10-exp.war\images but after I rebuilt LAMS the existing icon was reinstated.

Is it possible I've done something wrong here?

Thanks for all your assistance with this.
Gaynor

Posted by Gaynor E

15: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Customizing User InterFace
In response to 14 08/03/10 09:15 AM
[ Reply | Forward ]
Hi Gaynor,

I've just did exactly the same thing as you did and found that I was having the same problem.... the icon for the tool that I have changed was still showing as the old one.

So I opened another browser, clear the browser cache clean and attempted to open LAMS author again and it works (see that the Forum icon is now the same icon as Gmap... I copied the same to forum just to check).

It seems that the cache to clear is also the browser one.

Just so you are absolutely sure that the image is in the right place, go to your jboss-4.0.2/server/default/deploy/lams.ear/ folder and copy the lams-tool-XYZ.war tool to another directory. Open the file with unzip and look for the .swf icon image... verify it is the right one.

Clear the jboss-4.0.2/server/default/tmp and also the work directory.

Restart LAMS and this will work (make sure you clear your browser cache as well please).

Thanks,

Ernie

Posted by Ernie Ghiglione

Attachments:
16: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Customizing User InterFace
In response to 15 08/24/10 08:43 PM
[ Reply | Forward ]
Hi Ernie

Thanks for your response. I've been trying out updating the tool icons as you suggested. I did the following:

1. Created the new swf files as instructed and placed them in the folders e.g. lams_tool_gmap\web\images.

2. Cleared all temp jboss folders and browser/flash caches as stated.

3. Checked the war files in jboss-4.0.2\server\default\deploy\lams.ear - these were not updated with the new icons after rebuilding.

4. I then directly edited the war files e.g. lams-tool-lagmap10.war - I replaced the swf icon and created a new war file to replace the existing one. However this edited version of the war file made the build fail.

Do you know why the war files would fail to be updated with the new icons?

Thanks
Gaynor

Posted by Gaynor E

17: Re: Re: Re: Customizing User InterFace
In response to 16 08/29/10 06:07 AM
[ Reply | Forward ]
Hi Gaynor,

Sorry about the delay...

Let me see if I get this right, you have replaced the icon in the lams_tool_gmap code folder and then recompiled the tool to generate the .war, correct?

if so, the new .swf file must be the one on the new .war. You can explode the war to check this.

In #4 you said that you edited the war file and replace the swf icon. I assume you mean that you unzip the war and replaced the .swf with the new one, right? Alternatively, you can use the "explode war" ant task to do this and then if you do any updates to do .war you can use the sync-deploy task to update the deployment.

Hope that helps.

Thanks,

Ernie

Posted by Ernie Ghiglione

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