View Full Version : SCORM Package Save Location
RBoehm
11-01-2011, 04:39 PM
Using a local network (no Internet) with JoomlaLMS 1.2.0 Professional.
I see that on the JoomlaLMS Configuration screen, paths can be set to indicate locations for file storage.
Most are absolute paths but for SCORMs they are relative.
We are trying to run our Applications from the C drive and store all our data on the D drive.
Could you please explain if it is possible to store the SCORMs on the D drive? I already know it's unlikely - or you would have made that path absolute.
Please explain why SCORMs must be stored in a relative path, and in our case, on the C drive. I need some words to provide to our Customer.
Thanks.
Helga_13
11-04-2011, 06:54 AM
We have the following solution for you. Please note that it works only with Joomla 1.5 (JoomlaLMS version should be higher than 1.0.7) and on NTFS file system only.
Right now you can type only the relative path as a value to the "SCORMs folder" parameter, moreover you can't specify anything outside of webroot otherwise SCORMs won't be played.
Please find attached a file which allows you to specify a relative path to a folder outside of web root.
Example:
Your site is located in the folder: "C:\xampp\htdocs\".
You can place the 'jlms_scorm_play.php' script to your site root ("C:\xampp\htdocs\") and specify "../scorms_data" as a relative path to "C:\xampp\scorms\data" folder. Once JoomlaLMS detects the 'jlms_scorm_play.php' file in the site root folder - it will automatically redirect all SCORM resources requests to this script (which can handle folders outside of webroot).
You wrote that your webserver is installed on "C:", but SCORMs folder is located on "D:" drive. You can't specify relative path pointed to another drive, but you can create a NTFS junction on your drive C: pointed to any folder on drive D:.
Please check for more details here: http://en.wikipedia.org/wiki/NTFS_junction_point.
In order to create a junction folder please do the following:
1) Open your command line and go to the folder where your webserver installed, e.g. "C:\xampp\";
2) Execute the following command: "mklink /D /J scorms_junction d:\data\scorms".
That's all, now your folder "C:\xampp\scorms_junction" is linked with "D:\data\scorms"; any files stored in "C:\xampp\scorms_junction" are physically stored on drive "D:".
So after applying both our solutions (jlms_scorm_play.php and junctions) you can store your SCORM data files on drive "D:" and use your LMS on drive "C:".
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.