History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LDEV-995
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrey Balan
Reporter: Fiona Malikoff
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
LAMS Development

Export portfolio doesn't include the images uploaded into the FCKEditor

Created: 06/Nov/06 07:03 PM   Updated: 08/Feb/08 12:14 PM
Component/s: Learner
Affects Version/s: 2.0RC2
Fix Version/s: 2.2

Resolution Date: 08/Feb/08 11:56 AM
Date of First Response: 16/Oct/07 06:22 AM


 Description  « Hide
* Copy all the images from the 20+ character folder in www/secure.
* Somehow fix all the links in the pages so that it points to the new folder.

What we could do in the short term would be to make the image links full paths e.g. http://blah/lams/www/secure/1312312/blah.jpg rather than /lams/www/secure/1312312/blah.jpg, then if the server is available and the user is logged in, then they will see the pictures.

Looking at this, having the /lams/ will make it hard to ever have a server that is http://lams.nowhere.edu.au/ rather than http://blah.nowhere.edu.au/lams/. But I'm not sure we can do much about that, without serving all the FCKEditor images via a servlet, and we didn't want to do that!

I purposely tried to write all our tags to avoid locking us into this, but I think we are now stuck with it via this FCKEditor stuff.

Unless we make the reference in FCKEditor <lams:uploadedFile name="blah.jpg" folder="1312312"> and have that translated to /lams/www/secure/1312312/blah.jpg or ../1312312/blah.jpg depending on the use. But I don't think it would work in the the FCKEditor editor window as that needs html, not jsp.



 All   Comments   Change History   FishEye      Sort Order:
Change by Fiona Malikoff - 14/Sep/07 04:46 PM
Field Original Value New Value
Fix Version/s 2.2 [ 10070 ]
Fix Version/s 2.1 [ 10013 ]

Ernie Ghiglione - 16/Oct/07 06:22 AM
This should also include all the smilies in the /lams_central/web/fckeditor/editor/images dir

Change by Ernie Ghiglione - 16/Oct/07 06:22 AM
Assignee Fiona Malikoff [ fionam ] Ernie Ghiglione [ ernieg ]

Change by Ernie Ghiglione - 01/Feb/08 12:50 PM
Status Open [ 1 ] In Progress [ 3 ]

Ernie Ghiglione - 06/Feb/08 10:22 AM
The code for this task is done. However, it needs to be added to lams_learning. Andrey see me about the code for this.

Thanks

Change by Ernie Ghiglione - 06/Feb/08 10:22 AM
Assignee Ernie Ghiglione [ ernieg ] Andrey Balan [ dronych ]

MAIN:andreyb:20080208004437 by  andreyb (4 files) 07/Feb/08 06:44 PM
LDEV-995 Export portfolio now includes the images uploaded into the FCKEditor
(configuration changes to support commons-io-1.4.jar)
lams_build/3rdParty.userlibraries 1.32 (+1 -0) diffs
lams_build/conf/j2ee/lams.application.xml 1.3 (+3 -0) diffs
lams_build/conf/j2ee/rams.application.xml 1.3 (+3 -0) diffs
lams_build/lib/jakarta-commons/commons-io-1.4.jar 1.1 (+0) new

Andrey Balan - 08/Feb/08 11:56 AM
done

Change by Andrey Balan - 08/Feb/08 11:56 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]

Ernie Ghiglione - 08/Feb/08 12:14 PM
tested and works!

Change by Ernie Ghiglione - 08/Feb/08 12:14 PM
Status Resolved [ 5 ] Closed [ 6 ]