Your Moodle version

Blocks: Sharing Cart

Maintained by Picture of Tomonori Maruyama Tomonori Maruyama, Picture of Don Hinkelman Don Hinkelman
The Sharing Cart is a block that enables sharing of Moodle content (resources, activities) between multiple courses on your site. Compatible with Moodle 2.9 from June 16, 2015 and tested with 3.0.2 successfully in February 2016.
Moodle 2.3, 2.4, 2.5, 2.6, 2.7, 2.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 2.9, 3.0.2 and earlier versions.

Note: To update the Sharing Cart to Moodle 2.9, we fixed the file /classes/controller.php by changing the term, textlib,  *twice* to core_text in both line 138 *and* in line 139.


Screenshot #0
Screenshot #1


Picture of Tomonori Maruyama
Tomonori Maruyama (Lead maintainer)
Picture of Don Hinkelman
Don Hinkelman: Contributor
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of John Provasnik
    Sat, Aug 22, 2015, 3:26 AM
    Looks like the manager role on my site was adjusted to not be able to import/export between courses. once that was reset, it worked well.
  • Picture of sonia sonia
    Thu, Sep 3, 2015, 5:52 PM
    Hi, I have the same problem that Balir and John, I can copy to sharing cart but I can't copy from Sharing Cart to another course anything, I tried folders, documents,...and nothing happens, I have manager role and I want to Know whats happens. I work with Moodle 2.8.1 and sharing cart Release 2.6, release 1 patch 6.
    thanks in advance
  • Picture of sonia sonia
    Tue, Sep 8, 2015, 6:12 PM
    Hi, I solve the problem with the settings in the general backup, all it's need to be checked!

  • Picture of barbara nance
    Thu, Oct 8, 2015, 2:43 AM
    I also have the error problem, can copy a resource but not them 'paste' onto in the course area. I get a 'Unexpected Error occurred' notification, Am logged on with Admin rights on Moodle 2.9 , not sure which version it is as our IT folks do the uploading but was only installed around 4 weeks ago so would expect it to the the most recent version. We are using Clean Theme. Many thanks
  • Picture of Don Hinkelman
    Thu, Oct 8, 2015, 7:17 AM
    Hi Barbara, I haven't had any problems with the Sharing Cart in Moodle 2.9, so maybe your role settings are preventing you from restoring into another course. Can you restore into the same course? Have you tried checking the settings that Sonia said fixed the problem? Sorry, Sonia, I can't find the settings you refer in my Site Administration. Could you give a more precise path to where you could fix this problem?
  • Picture of barbara nance
    Thu, Oct 8, 2015, 7:26 PM
    Hi No I can not restore into the same course. I have overall admin rights for the Moodle which does mean I can do just about everything! Have checked the tick list in Site Admin>PlugIns>ManagePlugIn>Sharing cart and have ticked all the options.
    Your help appreciated
  • Picture of Don Hinkelman
    Fri, Oct 9, 2015, 6:26 AM
    Hi Barbara, Sorry, I can't reproduce your problem. Could you email me at and we can continue working on it. Check that your version number is 2015061600. Don
  • Picture of barbara nance
    Tue, Oct 13, 2015, 1:51 AM
    tks Don dropped you an email
  • Picture of Mark McKay
    Fri, Jan 1, 2016, 2:11 AM
    Hi Don. Do you plan to "certify" this for 3.0 soon? -Mark
  • Picture of Don Hinkelman
    Sat, Jan 2, 2016, 4:25 AM
    Hi Mark, Thanks for checking. We usually do Sharing Cart upgrades and testing each year in September and March. So unless we get a report that our 2.9 version works in 3.0, you will have to wait a bit longer. Sorry about that. If someone tests it and reports the results to me, that will help. Regards, Don
  • Picture of Mark Davis
    Tue, Feb 23, 2016, 3:38 AM
    Hi Mark (McKay),

    just an FYI I'd add (based on Don's response) that I have installed and done some preliminary testing with it and it installed without error and has worked without error so far.
    - Mark
  • Picture of Mark Davis
    Tue, Feb 23, 2016, 3:40 AM
    Sorry, should have added that I did all of this testing on 3.0.2+ ...
  • Picture of Don Hinkelman
    Mon, Mar 14, 2016, 3:01 PM
    To all Sharing Cart users, thanks for your support of this block. Please give it a review and rating if you can. From today, for the next two weeks, we are doing our annual upgrade, and will fix any issues you have found. I do notice that when I put a photo into the Sharing Cart, it shows the whole photo rather than the file name. This can be a problem when moving many photos, so I will change this to show only the file name. Like Mark, I just tested it in 3.0.2+ and found no issues with the Clean and More themes. If you use a special theme, please test it and let me the results. Contact me by email: hinkel at
  • Picture of Randy Wald
    Thu, Apr 21, 2016, 5:11 AM
    Hi Don, Thanks for all the hard work on this. Our campus Moodle administrators love the Sharing Cart. Any updates to share on deploying a Moodle 3 version?
  • Picture of Randy Wald
    Fri, Apr 22, 2016, 5:17 AM
    Once released, we will pay to have the block vetted by Remote Learner as part of the Poet group.
1 2 3
Please login to post comments