Sharing Cart

Blocks ::: block_sharing_cart
Maintained by Don Hinkelman, Tue Korsgaard
**Sharing Cart 4.4, release 3 is from 5 February 2024. Requires Moodle 4.2 and PHP 8.0** Download here or go to github: https://github.com/donhinkelman/moodle-block_sharing_cart/. Sorry for any confusion: Sharing 4.2 and Sharing Cart 4.3 were skipped here on the Plugins Database. And Sharing 4.4 was an overly ambitious name--it is actually for Moodle 4.3, and requires PHP 8.0. The Sharing Cart is a block that enables sharing of Moodle content (resources, activities) between multiple courses on your site.
Latest release:
5125 sites
1k downloads
190 fans
Current versions available: 6
New version 4.5 is due soon (end of May 2024) which is a complete rework of the plugin. Sorry, but any bugs associated with current release will not be processed. We encourage you the retest the issue after the release of the new version and resubmit the issue. 
Sharing cart allows the teacher to copy sections and individual activities into a clipboard (the 'sharing cart'), so the teacher can easily move activities from one course to another without having to go into the "Reuse course" function. 

Another common use case for the sharing is to created shared teachers course which a teacher can easily copy her best activities into and and other teaches can reuse those in his own courses. 
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 currently maintained by the premium Moodle partner moxis. If you have any specific feature request. feel free to reach out on support@moxis.dk. Don Hinkelman from the Moodle Association of Japan is handling bug discussion, testing and user assistance in either in this forum or the github bug tracker. Please bear in mind this a community-driven plugin with limited resources. 

Sharing Cart 3.0 was submitted to Remote Learner for independent vetting and passed May 2016. In versions 3.x, new interface programmed by moxis was added, in addition to 'Section Copy' feature and Postgres compatibility (co-funded by Ulm University, Germany and Sapporo Gakuin University, Japan). Thanks also to Ponlawat Weerapanpisit and other contributors for programming assistance.
Brought to you with ❤️ frommoxis logo

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Comments

  • Thomas Hoyer
    Sat, 12 Feb 2022, 6:09 PM
    Thanks, moodle/backup:anonymise was off. That solved the problem. Thanks.
  • Nathan Lind
    Tue, 22 Feb 2022, 4:03 AM
    Hi Don! Thanks for creating and maintaining the Sharing Cart! Our team of Augsburg University Moodle Admins, ICDs, Elearning Specialist, etc, has talked about an idea we think would improve the Sharing Cart. We'd love to be able to add items to a section of the Sharing Cart (maybe called "Pre-set Activities/Resources" or something similar), as Moodle Admins, that would be visible to all instructors (with Editing rights) using the Sharing Cart. We could populate this section with pre-made activities (say a forum that uses Q&A format, and group mode enabled, with directions added, OR, a forum with a common Grading Guide added), so with two clicks, an instructor could have the activity added to any of their courses/sections. The Sharing Cart would be even more powerful with this added function.
    What do you think?
    Nathan
  • Elias Sfeir
    Tue, 22 Feb 2022, 5:10 PM
    Hello,
    Thank you for the plugin.
    We have an issue, whenever you choose to copy a quiz between two courses, it will copy as well all the question bank with it.
    Is there any fix for that.

    Thank you for your support.
  • Elias Sfeir
    Tue, 1 Mar 2022, 2:22 PM
    Hello,
    A gentle reminder asking for support.
    We have an issue, whenever you choose to copy a quiz between two courses, it will copy as well all the question bank with it.
    Is there any fix for that.

    Thank you for your support.
  • Jared Wall
    Sat, 12 Mar 2022, 4:10 AM
    I like the idea of sharing cart for faculty at my university; however, after installing the latest version in Moodle 3.11.5+ with the latest Snap theme, the sharing cart block will only display when the edit blocks feature is turned on in the course dashboard. When I select "editing off" all other blocks remain, but sharing cart disappears. I have saved material into the cart, but cannot copy to another course. Was curious if it works with Snap theme.
  • Acqua Alta
    Sat, 12 Mar 2022, 9:51 PM
    Hi Jared Wall,
    To the best of my knowledge, that's not a bug, but how the plugin works.
    "Sharing Cart" deals with editing, so the block is visible only in editing mode.
  • Don Hinkelman
    Sun, 13 Mar 2022, 5:23 PM
    Hi Elias,
    thank you for pointing out a bug in Moodle core that was first reported in 2007. The Sharing Cart uses Moodle core code for backup/restore. Since Moodle started, it always copies the whole question bank--all portions of the question bank that are in the same or higher categories. There is no way around this bug, because Moodle HQ does not believe it is a bug, they classify it as a feature request. The good news is that Tim Hunt, Thomas Korner and Catalyst NZ have promised to fix this problem with a new question engine in Moodle 4.0/4.1. Let's see how that works out.
  • Tony Sales
    Tue, 29 Mar 2022, 8:31 PM
    Hi we are getting an when we copy a section that has a grid image attached. The image doesn't appear to be copied, but if we try to upload the same image with the same name we get an error (see below) but if we change the name of the image it then works ok. I suspect the image is being uploaded but not appearing in the grid view. We are using Moodle 3.11.5+ (Build: 20220226)

    Cannot create file 9666/course/section/862/goi_Stationary.jpg

    More information about this error

    ×Debug info: Duplicate entry 'ef49bd9620522a2610b18ea1628b636f8bf5c375' for key 'mdl_file_pat_uix'
    INSERT INTO mdl_files (contextid,component,filearea,itemid,filepath,filename,timecreated,timemodified,userid,source,author,license,status,sortorder,contenthash,filesize,mimetype,pathnamehash) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
    [array (
    0 => 9666,
    1 => 'course',
    2 => 'section',
    3 => 862,
    4 => '/',
    5 => 'goi_Stationary.jpg',
    6 => 1648556588,
    7 => 1648556588,
    8 => NULL,
    9 => NULL,
    10 => NULL,
    11 => NULL,
    12 => 0,
    13 => 0,
    14 => '844d5d6829d34b6b42d7a5a8506301f1122285d9',
    15 => 609321,
    16 => 'image/jpeg',
    17 => 'ef49bd9620522a2610b18ea1628b636f8bf5c375',
    )]
    Error code: storedfilenotcreated
    ×Stack trace:
    line 1489 of \lib\filestorage\file_storage.php: stored_file_creation_exception thrown
    line 695 of \course\format\grid\classes\toolbox.php: call to file_storage->create_file_from_string()
    line 117 of \course\format\grid\editimage.php: call to format_grid\toolbox::create_section_image()
  • Elias Sfeir
    Thu, 19 May 2022, 12:16 PM
    Dear Don,

    Thank you for your support and reply.
    Can you update us if the issue reported earlier is fixed with Moodle 4.0 and when can we expect an update for the plugin.

    Thank you.
  • King Crab Fishing in Norway
    Fri, 27 May 2022, 1:48 AM
    Hi Elias,

    From what I have heard from Tim Hunt, this import bug should be fixed in 4.1. It did not get fixed in 4.0.

    In the meantime, if you make sure the quiz questions are saved at the quiz category level, the sharing cart will only import the questions that belong to a quiz.

    Thanks,
    -Matt
  • Don Hinkelman
    Tue, 31 May 2022, 8:11 AM
    Today I am uploading version 3.11, release 1 of the Sharing Cart. It has been released on github since May 15. It has a minor bug fix with section copy and has been tested in Moodle 3.11 and 4.0 with no apparent issues. Matt reports above that the Moodle core issue of whole question bank copying will be addressed in Moodle 4.1. Until then please keep your questions at the "quiz category level" to avoid large lag times in quiz copying.
  • Don Hinkelman
    Tue, 7 June 2022, 9:19 AM
    Hi Nathan and team of Augsburg University Moodle Admins, ICDs, Elearning Specialists. You talked about an idea that would improve the Sharing Cart. Sorry to getting back to you late. I think it is
    a good idea to have admins able to add items to a section of the Sharing Cart (maybe called "Pre-set Activities/Resources" or something similar), that would be visible to all instructors (with Editing rights) using the Sharing Cart. If you cannot program this (and send us a pull request), then this is a job that Praxis might take on in 2022/2023 with a 4.1 version of Sharing Cart. Could you post a feature request in our Github, and describe what is needed in detail?
  • Acqua Alta
    Wed, 8 June 2022, 11:25 PM
    Hi Don Hinkelman,
    Regarding your last comment (Tue, 7 Jun 2022, 9:19 AM), it sounds like a great feature. One thing to think about, UX-wise, is that it would be great if the user (teacher/admin) could choose if he wants to see the "Pre-set Activities/Resources" or not, or at least would have the option to expand/collapse this section.

    If a teacher doesn't care about the "Pre-set Activities/Resources", it would be a burden for him/her to see it all the time, and it would also make the sharing cart items list very long.
    So such an option, as I suggested, would be a very nice touch smile

    Thanks
  • Daniel Beffa
    Thu, 7 July 2022, 10:48 PM
    Hello Don,
    Thank's for your plugin. I'am using Moodle 4.0.1+ , LearnR theme and I seems that your plugin doesn't work well with flex_sections. The basket is only to see for sections, not for activities. Is it a theme problem or flex_section problem ?
    I hope my description is clear enough.
    Best regards.
  • Nathan Lind
    Tue, 12 July 2022, 1:19 AM
    @Don Hinkelman, I am embarrassed to say I don't know how/where to "post a feature request to [your] Github" - though I am willing if you send me a link and any non-obvious instructions.
    Thanks!
    Nathan
Please login to post comments