Sharing Cart

Revision as of 23:22, 16 March 2009 by Don Hinkelman (talk | contribs)

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Sharing Cart.

  • Block: Sharing Cart 1.9 release 1 - 2008.10.15
  • Block: Sharing Cart 1.9 release 2 - 2009.02.19
  • Block: Sharing Cart 1.9 release 3 - 2009.03.16


The Sharing Cart is a block that enables sharing of Moodle content (resources, activities) between multiple courses on your site. You can share among teachers or among your own courses. It copies and moves a single course items without user data—similar to the “Import” function in Administration. Items can be collected and saved on the Sharing Cart indefinitely, serving as a library of frequently used course items available for duplication. It is viewable only by teachers, course creators and administrators.


  1. Moodle version 1.9
  2. Topic, Weekly or Project Course Format: The Sharing Cart now works with three formats. Topics and Weekly format are now supported as well as Project course format.
  3. Javascript: The Sharing Cart needs a browser with JavaScript enabled even if you are not using AJAX. AJAX turned on is recommended but not required.


  1. download latest release from CVS Contrib, release 2 available from:
  2. unzip the package
  3. using FTP, open your blocks folder in your moodle program folder on your site
  4. place the folder "sharing_cart" into the blocks folder
  5. go to "Notifications" in your site admin area, database tables will be automatically generated
  6. inside any course, "Turn editing on", go to Blocks "Add...", and you should see "sharing cart" in the list of blocks in the menu.


  1. Copying to the Sharing Cart: With editing on, add the Sharing Cart block from the block menu. Then you will notice a small "Copy to Sharing Cart" icon which appears after each resource or activity in the center column of a Moodle course. Click on that icon to send a copy of that resource/activity into the Sharing Cart.
  2. Copying from the Sharing Cart: Click "Copy to course" icon in Sharing Cart, then the resource/activity is copied into the first section of current course. And the page transits to module placing mode directly. So, if you want to cancel copying completely, the module copied into the first section needs to be removed manually.
  3. Making folders inside the Sharing Cart: Click the "move" icon on course content item and an input box will appear. Input the name of the target folder there. To move an item into a folder, click the "Move to folder" icon in the Sharing Cart, then a drop-down list appears, and select the target folder. If you click the “Edit” button, you will replace the drop-down list with an input box.

Known problems

  • Works well with Moodle standard modules (activities and resources) including Hotpot. Please tell us if your third party module does not work.
  • When AJAX course editing is enabled on your site, dragging the Sharing Cart block to a new location in the blocks area may cause trouble temporarily—all blocks may freeze or all the folders freeze (this is a bug in Moodle core). To unfreeze the folders, reload the page.
  • Several minor bugs [CONTRIB-1086], [CONTRIB-1089], [CONTRIB-1090]) resolved on 2009.3.16. Please update your version from CVS contrib.


This block was programmed by Akio Ohnishi and Tomonori Maruyama at Version2 Educational Web Development and released under GPL. The designers and maintainers of this block are Don Hinkelman and Andy Johnson. Funding was and is provided by Sapporo Gakuin University. For issues and suggestions, please contact Don on the Sharing Cart forums or directly (hinkel at

See also

    1. Download here