Blocks: Sharing Cart

Maintained by Picture of Don HinkelmanDon Hinkelman, Picture of Tue KorsgaardTue Korsgaard
**New: Sharing Cart 3.8, release 2 fixes a bug in the drop down menu--"Copy to Sharing Cart" in Firefox.** The Sharing Cart is a block that enables sharing of Moodle content (resources, activities) between multiple courses on your site. Sharing Cart 3.0 was submitted to Remote Learner for independent vetting and passed May 2016. Updated and tested OK for Moodle 3.8 on 10 March 2020. Includes new interface programmed by Praxis of Denmark, in addition to 'Section Copy' feature and Postgres compatibility (co-funded by Ulm University, Germany and Sapporo Gakuin University, Japan).
2105 sites
125 fans
Current versions available: 4

News from Global MoodleMoot Barcelona: Praxis of Copenhagen is now a co-maintainer of the Sharing Cart. Thank you Tue Korsgaard for your collaboration.  Also, thanks to Alex Bias and Kathrin Oswald for advice and support. *Tested OK for Moodle 3.8*  The Sharing Cart is a block for duplicating course items into a personal library and an easy way to move those Moodle resources and activities between multiple courses on your site. With just three clicks, the Sharing Cart copies and moves a single course item from one course to another. It copies without user data--similar to the "Import” function in Course Administration. From version 2.3, user content in Forums, Wikis, Glossaries and Databases can optionally be included. In addition, items can be collected and saved on the Sharing Cart indefinitely, serving as a library of frequently used course items available for duplication. The Sharing Cart is viewable only by teachers, course creators and administrators. Tested on Moodle 3.3-3.7, and 3.8. If you have an earlier version of Moodle, please download an earlier version of Sharing Cart that matches your site from this plugins database. Note, the github host has been moved to donhinkelman. We appreciate if you can report your requests and issues there.


Screenshot #0
Screenshot #1


Picture of Don Hinkelman
Don Hinkelman (Lead maintainer)
Picture of Tue Korsgaard
Tue Korsgaard: Maintainer
Picture of VERSION2 INC
VERSION2 INC: Original Programming Team
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Don Hinkelman
    Thu, Jan 18, 2018, 1:48 PM
    Thank you for your error reports, Johnny and Meir, and apologies for your trouble--we thought we had all problems solved. This is urgent, and we are working on it right now.
  • Picture of Don Hinkelman
    Thu, Jan 18, 2018, 5:20 PM
    Kathrin, our colleague at Ulm University, reports that Moodle 3.3 has some significant changes, so that the new Sharing Cart release should only apply to sites with Moodle 3.3 or above. For now, I will remove the notes that say this version has 3.1/3.2 compatibility, and later reupload the Sharing Cart 3.3, new release, with the version.php file adjusted to say only for Moodle 3.3+. Initial test show that this Sharing Cart is good for Moodle 3.4 as well.
  • Picture of Emil Due-Christensen
    Wed, Jan 31, 2018, 6:32 PM
    First of all: Thanks for a great and highly useful plugin we surely appreciate it.
    We have some problems when we try to copy H5P-activities to the sharing cart that it takes several minutes, often more than 5 minutes, for it to complete the copying. This is also an issue after the upgrade per January 10th. We use Moodle 3.3 with the Boost theme.
    Do you have suggestions to why that is?
  • Picture of Don Hinkelman
    Thu, Feb 1, 2018, 8:05 AM
    Yes, Emil. This is most likely related to a long-standing issue with the Moodle core Question Bank. The whole question bank is copied whenever you include a quiz in a Moodle backup or in the Sharing Cart, which uses the core Moodle copy/import/backup system. Your workaround is to either tolerate the 5 minute wait, or make your Question Bank smaller by: a) not keeping the questions in System or high level categories, and b) only keeping the questions you need at the Course Level category. If this problem is new to you, it may be too difficult to manage, because you will have to read a lot about the Question Bank in the Moodle Docs. I also recommend you vote for these three issues: (if you vote, Moodle HQ might be encouraged to fix this problem).
    - MDL-12403: Minimize questions in Question Bank-original “Backup/Import of single quiz includes all questions in database” Bug—critical
    - MDL-41924: Minimize questions in Question Bank-new
    - MDL-19721: Put Sharing Cart into core.
  • Picture of Michael Gerszewski
    Thu, Feb 15, 2018, 11:36 PM
    I'm wondering what the timeline is on updating the Github source to the latest version? It looks like it is still at version 3.2 release 1, and we use Git as a source for all of our plugins when upgrading our multi-node cluster. Thanks for all of your work on this plugin!
  • Picture of Michelle Melton
    Mon, Mar 12, 2018, 10:08 PM
    Same comment as Michael Gerszewski about GitHub. Thanks!
  • Picture of Jay Nayagan
    Sat, Apr 14, 2018, 11:51 PM
    Which version can I use with Moodle 3.1?
  • Picture of Roman Galperin
    Sat, Apr 28, 2018, 11:19 PM
    Hi Don, if I understand correctly the latest version has the capability of copying a whole section into the cart at once , correct ?
    If so, I'm super excited about this development - been waiting for it!
    But, I'm using Moodle 3.1 and made quite a lot of customization to it, so it's not possible for me upgrade. Is there a way to upgrade sharing cart still? Or at least get the 'copy section' functionality into Moodle 3.1 ? It would be amazing!
  • Picture of Xavi Montana
    Thu, May 31, 2018, 7:41 PM
    Some plan to update this add-on to Moodle 3.5?, it's very useful!
  • Picture of Don Hinkelman
    Thu, May 31, 2018, 10:29 PM
    My apologies for no github update--only updated here on the plugins database. I need to learn github and take over that responsibility. Also, sorry that only with Moodle 3.3+ can you do section copy. Moodle has changed significantly and we don't have capacity to make older versions of Sharing Cart compatible. As for Moodle 3.5, our next upgrade time is September. Thank you for your enthusiastic support and we welcome code fixes that you send.
  • Picture of Barry Matthias
    Thu, Jul 19, 2018, 6:43 PM
    Morning All

    Can anyone explain why the sharing cart continually executes its rest.php code when using the snap theme as this is causing the end user experience too cause the course page load times to be excessive.

    Only happens when viewing a course with the sharing cart block present in snap i would like to know what the rest.php is actually doing?

  • Picture of Don Hinkelman
    Fri, Jul 20, 2018, 11:59 AM
    Hi Barry, I just a reply about how to investigate this problem. Could you send a message to me offline:
  • Picture of Michael Zwahlen
    Tue, Sep 11, 2018, 11:26 PM
    Thanks a lot for the important ShartingCart-Plugin.
    Untill now I used this function just by myself. What if I like to share some of my activities to my TeacherTeamMembers? How can I do this as easy as just for myself?
  • Picture of Don Hinkelman
    Tue, Sep 11, 2018, 11:39 PM
    Hi Michael. Yes, it's easy to share your activities with your fellow teachers. That is the purpose of the Sharing Cart. Just enroll your colleagues as Managers or Teachers in your course. As long as they can enter your course, they can turn on the Sharing Cart and put activities or resources into their Sharing Cart.
  • Picture of Michael Zwahlen
    Tue, Sep 11, 2018, 11:51 PM
    Don Hinkelman
    Thanks for your fast answer!
    Right now i only added one Teacher to each course. If I like to keep it like this, would it work if we set up a master-course (with no students) where we add all relevant activities. To this Master-Course we enrole all the teachers. They can surf to this extra course and copy the activites to their Sharingcart.
    Can you offer a more effiecient ways to go?
Please login to post comments