Moodle plugins directory: Sharing Cart | Moodle.org
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 ❤️ from
Contributors
Don Hinkelman (Lead maintainer)
Tue Korsgaard: Maintainer
VERSION2 INC: Original Programming Team
Please login to view contributors details and/or to contact them
What do you think?
Nathan
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.
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.
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.
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.
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()
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.
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
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?
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
Thanks
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.
Thanks!
Nathan