Difference between revisions of "Where to find WeBWorK problems like this"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
individually for each of the applet files.</ul>
 
individually for each of the applet files.</ul>
 
<ul>3. Right-click the download link in the next page.</ul>
 
<ul>3. Right-click the download link in the next page.</ul>
<ul>4. Select Save Link As... in the popup. The text for this choice might be diff�erent, depending on your browser.</ul>
+
<ul>4. Select Save Link As... in the popup. The text for this choice might be different, depending on your browser.</ul>
 
<ul>5. Repeat this process for all the applet files you want to download. Remember the folder
 
<ul>5. Repeat this process for all the applet files you want to download. Remember the folder
 
where you saved the applets.</ul>
 
where you saved the applets.</ul>
  +
</ol>
  +
<h2>Step 2. Upload SWF files to your course.</h2>
  +
<ol>
  +
<ul>1. Log on to your course site in WeBWorK. Click on File Manager.</ul>
  +
<ul>2. Go to your course directory in the file manager.</ul>
  +
<ul>3. Double click the html folder.</ul>
  +
<ul>4. Click the New Folder button</ul>
  +
<ul>5. Type applets for New Folder Name and then click the New Folder button.
  +
It is very important that this folder is named applets.</ul>
  +
<ul>6. Click the Choose File button.</ul>
  +
<ul>7. Navigate to the folder where the applet files are saved and click on the applet file to be
  +
uploaded. Then click Open</ul>
  +
<ul>3. </ul>
  +
<ul>4. </ul>
  +
<ul>5. </ul>
  +
</ol>
  +
<h2>Step 3. </h2>
  +
<ol>
  +
<ul>1. </ul>
  +
<ul>2. </ul>
  +
<ul>3. </ul>
  +
<ul>4. </ul>
  +
<ul>5. </ul>
  +
<ul>1. </ul>
  +
<ul>2. </ul>
  +
<ul>3. </ul>
  +
<ul>4. </ul>
  +
<ul>5. </ul>
 
</ol>
 
</ol>

Revision as of 15:19, 30 January 2013

To access the WeBWorK problems with Flash applets, you will need to run OPL-update fix for WeBWorK version ww2.5.1.1. If you are running WeBWorK using the MAA server, you don't need to worry about this. If you are using a current version of WeBWorK installed after January, 2013, you do not need to worry about this. For older versions of WeBWorK, the applet problems will still work, but the library browser does not automatically copy the applet files to a place your installation can find them. What this means is if you have an older installation and you cannot run OPL-update then you will need to manually copy the applet files to your course. This is easy but tedious.

Instructions for old WeBWorK versions

In older versions of WeBWorK, including a problem with an applet from the National Problem Library via the library browser will not work. The PG code for the problem will be correctly loaded, but WeBWorK won't be able to locate the file containing the actual applet.

Every Flash applet needs access to a file ending with the .swf extension, which contains the graphical description and code executed by the applet. Currently (for older WeBWorK versions), these files have to be manually uploaded to the correct directory in a WeBWorK installation. This problem has been resolved for WeBWorK version 2.5.1.1 and subsequent versions, but if you are running and older version, you will need to follow the steps outlined here.

Please notice that this procedure must be done only once, for a single course. Once the applet files have been uploaded to one course, they will be available to all courses.

Step 1. Download the SWF files.

      2. Click the applet file you want to download. Unfortunately, right now this has to be done individually for each of the applet files.
      3. Right-click the download link in the next page.
      4. Select Save Link As... in the popup. The text for this choice might be different, depending on your browser.
      5. Repeat this process for all the applet files you want to download. Remember the folder where you saved the applets.

Step 2. Upload SWF files to your course.

      1. Log on to your course site in WeBWorK. Click on File Manager.
      2. Go to your course directory in the file manager.
      3. Double click the html folder.
      4. Click the New Folder button
      5. Type applets for New Folder Name and then click the New Folder button. It is very important that this folder is named applets.
      6. Click the Choose File button.
      7. Navigate to the folder where the applet files are saved and click on the applet file to be uploaded. Then click Open
      3.
      4.
      5.

Step 3.

      1.
      2.
      3.
      4.
      5.
      1.
      2.
      3.
      4.
      5.