Blocks: Sharing Cart

Maintained by Picture of Don HinkelmanDon Hinkelman
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.3, 3.4, 3.5, 3.6 on 5 January 2019. Includes new 'Section Copy' feature and Postgres compatibility (co-funded by Ulm University, Germany and Sapporo Gakuin University, Japan).
1949 sites
117 fans

*Tested OK for Moodle 3.6*  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.4, 3.5, and 3.6. 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 Tomonori Maruyama
Tomonori Maruyama: Original author
Picture of VERSION2 INC
VERSION2 INC: Programming Team for Sharing Cart
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • 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?
  • Picture of Don Hinkelman
    Wed, Sep 12, 2018, 12:01 AM
    Yes, we have several Master courses which server as hubs or repositories of activities. Also, we trust our teachers a lot, and give them system-wide roles as Manager or Course Creator.
  • Wazza
    Fri, Sep 21, 2018, 5:01 PM
    I love the Sharing Cart! However, I have noticed that in some custom course formats there's no option to add entire sections to the sharing cart. Question: how is this option added to the normal 'topics' format? Perhaps I can adjust my custom course formats to work well with the sharing cart.
  • Richard Samson
    Wed, Oct 3, 2018, 8:09 PM
    Hi there!

    Great plugin. Congratulations!

    Waiting for the 3.5 update, announced for September. What is the new prevision, please?
  • math
    Tue, Oct 23, 2018, 9:58 AM
    Fantastically useful plugin. Thanks for sharing it. Really looking forward to a 3.5 version.
  • Picture of Don Hinkelman
    Sat, Jan 12, 2019, 11:57 AM
    Sharing Cart version 3.5 release 1 has been tested on Moodle 3.6 and found compatible. Please report any issues on the new github location under my name.
  • Picture of Clarence Prudhoe
    Sun, Feb 17, 2019, 9:42 PM
    Hi Don, I tried to install Sharing Cart to my Moodle 3.6.2+ (Build: 20190118) and got an error message when I tried to update the database. Debug info:
    Error code: generalexceptionmessage Exception - syntax error, unexpected 's' (T_STRING). It will not install on Moodle version 3.6.2. I need to use this terrific block so I hope you can help me get it installed. Thanks, Clarence
  • Picture of Clarence Prudhoe
    Tue, Feb 19, 2019, 2:19 AM
    Hi Don, I found and fixed the parse error in block_sharing_cart.php.
    line 145: $bulkdelete = ''
    . '' . s($alt) . ''
    . '
    $bulkdelete = ''
    . '' . s($alt) . ''
    . '

    and line 188: $link = '' . get_string('ajaxuse') . '';

    $link = '' . get_string('ajaxuse') . '';

    I works now.
  • Picture of Clarence Prudhoe
    Tue, Feb 19, 2019, 2:25 AM
    OOPS, It looks like it removed most of the code.

    I removed the junk in line 145 and 188. The href had "'%20.%20s($url)%20.%20'".
    I changed the href to "$url"
  • Picture of Christian Flury
    Mon, Apr 8, 2019, 10:08 PM
    I really like this plugin. Thank you so much!
    I mainly use it to copy entire course sections. In doing so, what I am observing is that the shopping cart is not always preserving the order of items in the source section: If I create the content in the source section not sequentially, copying the section to the sharing cart will place the items in a seemingly random order. Is there anything I can do about this (except reordering the items in the cart) or is this a bug?
    Regards, Christian
  • Picture of Sven Niland
    Wed, May 29, 2019, 5:08 AM
    I'm experiencing a problem with this plugin (which is a great tool, btw) in Moodle 3.5.2. Once installed and activated, it causes the Edit links in Editing mode to become disabled for all course objects, i.e. I can't edit a label object, SCORM object or any other (as examples). Is it a known issue with a known fix? I'm absolutely certain it's caused by Sharing Cart as I've tested installing and removing it on two separate instances several times to confirm. Any advice/help much appreciated.
  • Picture of Simon Hartmann
    Wed, Jul 17, 2019, 4:50 PM
    Fantastic plugin! Thank you for developing and maintaining it!

    We have the Sharing cart enabled in all courses, and we have created a custom role that allows all our faculty to view ALL courses.

    However, how do I enable our faculty to use the sharing cart without enrolling them as teachers in each course? I can not give them the teacher-role globally, as I don't want them to be able to edit and delete content in other peoples courses.

    Any inputs would be most appreciated!

    best regards
1 2 3 4 5 6 7
Please login to post comments