Moodle
  1. Moodle
  2. MDL-11288

Ability to copy (or clone) an activity

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 2.0
    • Fix Version/s: 2.1
    • Component/s: Assignment (2.2)
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Rank:
      559

      Description

      A few faculty members have requested the ability to copy an activity. This would just save them from having to recreate a new activity if they only want to slightly change the wording. Or even if they have homework due every Friday that they don't want to recreate 16 times. This would be an excellent time saving feature.

      1. screenshot0.png
        17 kB
      2. screenshot1.png
        5 kB
      3. screenshot2.png
        6 kB
      4. screenshot3.png
        13 kB
      5. sharingcart.jpg
        126 kB

        Issue Links

          Activity

          Hide
          Steve Bond added a comment -

          I strongly support this request. I think it is effectively the same as MDL-4487, which has been hanging around for some time now.

          Also I notice that this facility is already there for questions, which have a "Save as new question" button at the bottom. Perhaps add the same thing for activities and resources?

          Show
          Steve Bond added a comment - I strongly support this request. I think it is effectively the same as MDL-4487 , which has been hanging around for some time now. Also I notice that this facility is already there for questions, which have a "Save as new question" button at the bottom. Perhaps add the same thing for activities and resources?
          Hide
          Annelie Rugg added a comment -

          We have instructors already asking to be able to Copy a Quiz, since they are setting up a series of quizzes that have almost all the same settings. would be a big time-saver! Has this been prioritized at all?

          Show
          Annelie Rugg added a comment - We have instructors already asking to be able to Copy a Quiz, since they are setting up a series of quizzes that have almost all the same settings. would be a big time-saver! Has this been prioritized at all?
          Hide
          Oleg Sychev added a comment -

          I suggest the typical task is to copy activity settings, but not content - i.e. you need to copy only settings for the quiz, not the quiz itself (i.e. using questions).
          I also strongly support this request, but even more useful was a linking settings from one activity to another (execept name, descriptions and time): sometimes you need to change settings in 10 alike quizzes.

          Show
          Oleg Sychev added a comment - I suggest the typical task is to copy activity settings, but not content - i.e. you need to copy only settings for the quiz, not the quiz itself (i.e. using questions). I also strongly support this request, but even more useful was a linking settings from one activity to another (execept name, descriptions and time): sometimes you need to change settings in 10 alike quizzes.
          Hide
          joe mccarthy-holand added a comment -

          Now that groupings allow us to target resources and activites to specific groups, mulitple copies (targeted to different groups) will be even more useful!
          I think the "save as a new resource" button (like in quizzes) would be good. but...

          I would prefer an icon simular to the move icon in editing mode. You would just drag and drop using the icon with the resulting resource being suffixed with copy1 etc..

          Show
          joe mccarthy-holand added a comment - Now that groupings allow us to target resources and activites to specific groups, mulitple copies (targeted to different groups) will be even more useful! I think the "save as a new resource" button (like in quizzes) would be good. but... I would prefer an icon simular to the move icon in editing mode. You would just drag and drop using the icon with the resulting resource being suffixed with copy1 etc..
          Hide
          Art Lader added a comment -

          We really do need this. Teachers ask for it in every professional development course that I teach.

          Show
          Art Lader added a comment - We really do need this. Teachers ask for it in every professional development course that I teach.
          Hide
          Mark Pearson added a comment -

          This is a consistent request every year (together with ZIP downloading of submissions). I think that it ought to receive major priority with an upwards arrow since it's a major enhancement to functionality.

          Show
          Mark Pearson added a comment - This is a consistent request every year (together with ZIP downloading of submissions). I think that it ought to receive major priority with an upwards arrow since it's a major enhancement to functionality.
          Hide
          Clark Shah-Nelson added a comment -

          This is much much needed, definitely, long overdue function for any LMS. I also like the idea of being able to apply a setting change to all activities of a certain type - so, for example, if I want to change all web page resources to open in a new window I could do that all at once instead of editing each one. Could have an interface like the "backup" interface where you can check off content and then "apply setting" or "copy/duplicate" etc. etc..

          Show
          Clark Shah-Nelson added a comment - This is much much needed, definitely, long overdue function for any LMS. I also like the idea of being able to apply a setting change to all activities of a certain type - so, for example, if I want to change all web page resources to open in a new window I could do that all at once instead of editing each one. Could have an interface like the "backup" interface where you can check off content and then "apply setting" or "copy/duplicate" etc. etc..
          Hide
          Don Hinkelman added a comment -

          This function (cloning an activity) is now implemented for 1.9 with the release of the Project Course Format and Sharing Cart. The Project format provides section level backup and import. The Sharing Cart is a block that follows a teacher wherever she/he is in a site. The Sharing Cart can pick up any individual activity or resource, place it in a personal library or "cart", and insert the activity into any other location in other courses. See discussion here: http://moodle.org/mod/forum/discuss.php?d=87044

          Actually, we are beginning to touch core and go beyond our capabilities, so I hope this can evolve into a standard feature of Moodle 2.0. Cheers, Don

          Show
          Don Hinkelman added a comment - This function (cloning an activity) is now implemented for 1.9 with the release of the Project Course Format and Sharing Cart. The Project format provides section level backup and import. The Sharing Cart is a block that follows a teacher wherever she/he is in a site. The Sharing Cart can pick up any individual activity or resource, place it in a personal library or "cart", and insert the activity into any other location in other courses. See discussion here: http://moodle.org/mod/forum/discuss.php?d=87044 Actually, we are beginning to touch core and go beyond our capabilities, so I hope this can evolve into a standard feature of Moodle 2.0. Cheers, Don
          Hide
          Mark Pearson added a comment -

          @Don
          I read through the discussion thread you refer to and it seems as though the Sharing Cart only works with the Project Course Format. As much as I think both of the projects are excellent the functionality that I'm looking for is much simpler and should be possible to implement for standard course types. Simple duplication of an Activity should not be that difficult to implement – there used to be a hack workaround whereby one could rename 'move' item to 'copy' in the address bar, but that has now been closed off.

          Show
          Mark Pearson added a comment - @Don I read through the discussion thread you refer to and it seems as though the Sharing Cart only works with the Project Course Format. As much as I think both of the projects are excellent the functionality that I'm looking for is much simpler and should be possible to implement for standard course types. Simple duplication of an Activity should not be that difficult to implement – there used to be a hack workaround whereby one could rename 'move' item to 'copy' in the address bar, but that has now been closed off.
          Hide
          Kenneth Newquist added a comment -

          +1. We've just had a request from a faculty member for exactly this sort of thing.

          Show
          Kenneth Newquist added a comment - +1. We've just had a request from a faculty member for exactly this sort of thing.
          Hide
          Mark Drechsler added a comment -

          This is something so rudimentary and yet something that as a Moodle trainer I've been gunned down in flames about in the past - is there some way of making this a bit more than a 'minor' priority?

          Show
          Mark Drechsler added a comment - This is something so rudimentary and yet something that as a Moodle trainer I've been gunned down in flames about in the past - is there some way of making this a bit more than a 'minor' priority?
          Hide
          Don Hinkelman added a comment -

          @Mark
          I agree that the Sharing Cart block needs to work for Topic and Weekly course formats as well. Then it will be extremely simple to add to a site. It is a matter of getting funds to make that happen. It would take about US$3000. It is possible that we will get that by early winter 2009, but actually I think this block has so much promise, it deserves to be included in core. You may want to promote that, or if you have resources available now, you may want to proceed with making it compatible.

          Show
          Don Hinkelman added a comment - @Mark I agree that the Sharing Cart block needs to work for Topic and Weekly course formats as well. Then it will be extremely simple to add to a site. It is a matter of getting funds to make that happen. It would take about US$3000. It is possible that we will get that by early winter 2009, but actually I think this block has so much promise, it deserves to be included in core. You may want to promote that, or if you have resources available now, you may want to proceed with making it compatible.
          Hide
          Tim Hunt added a comment -

          This feature already exists. It is the 'Import' link in the course administration block. What is being asked for that can't be done with that?

          Show
          Tim Hunt added a comment - This feature already exists. It is the 'Import' link in the course administration block. What is being asked for that can't be done with that?
          Hide
          Anthony Borrow added a comment -

          Tim - I think import is a bit cumbersome and I don't think folks think about import from the same course. I had done some work on this back in Moodle 1.6. I think what is wanted is a one-click solution. I'm not sure how many clicks import requires. But from a functionality perspective I think your question is a good one, import works just fine. So I think it would really be more of an improvement than a new feature. Peace - Anthony

          Show
          Anthony Borrow added a comment - Tim - I think import is a bit cumbersome and I don't think folks think about import from the same course. I had done some work on this back in Moodle 1.6. I think what is wanted is a one-click solution. I'm not sure how many clicks import requires. But from a functionality perspective I think your question is a good one, import works just fine. So I think it would really be more of an improvement than a new feature. Peace - Anthony
          Hide
          Don Hinkelman added a comment -

          The import feature can do many things, but we abandonned it for cloning quizzes for several reasons:

          • it forced us to copy all or none of the total course files – rather than just the associated files needed for that quiz
          • it requires a teacher to know where to find the quiz (difficult if you are not the author, and sometimes a teacher wishes to browse courses and pick up activities)
          • tedious operation
          • teachers wish to have a library of common activities to insert/clone into courses--this library should be always visible or available

          For these reasons, we are creating the sharing cart block, which will easily clone activities. I hope to pass this on to you in December so you can see if it handles these problems. At the moment we are trying to fix an issue with handling system categories of questions. Also we need to make it widely compatible with various course formats.

          Show
          Don Hinkelman added a comment - The import feature can do many things, but we abandonned it for cloning quizzes for several reasons: it forced us to copy all or none of the total course files – rather than just the associated files needed for that quiz it requires a teacher to know where to find the quiz (difficult if you are not the author, and sometimes a teacher wishes to browse courses and pick up activities) tedious operation teachers wish to have a library of common activities to insert/clone into courses--this library should be always visible or available For these reasons, we are creating the sharing cart block, which will easily clone activities. I hope to pass this on to you in December so you can see if it handles these problems. At the moment we are trying to fix an issue with handling system categories of questions. Also we need to make it widely compatible with various course formats.
          Hide
          Mark Pearson added a comment -

          @Tim – Unless I'm grossly mistaken, Import is designed to import course backups into an existing course. It's a real stretch to require teaching faculty to use this as the means of duplicating activities.
          Surely 28 votes must propel this from a minor to a major issue?
          @Don – If your 'sharing cart block' operates with the standard Weekly and Topic course outlines it will indeed be useful. But more useful still would be a core component that has similar functionality. If User Interface is a priority for version 2.0 then this issue must surely be of importance to the core developers.

          Show
          Mark Pearson added a comment - @Tim – Unless I'm grossly mistaken, Import is designed to import course backups into an existing course. It's a real stretch to require teaching faculty to use this as the means of duplicating activities. Surely 28 votes must propel this from a minor to a major issue? @Don – If your 'sharing cart block' operates with the standard Weekly and Topic course outlines it will indeed be useful. But more useful still would be a core component that has similar functionality. If User Interface is a priority for version 2.0 then this issue must surely be of importance to the core developers.
          Hide
          Sarah Meadus added a comment -

          I would envision a little icon next to the other edit icons that allows you to copy an activity. I agree that Import would work, but there are too many steps involved and it's not intuitive to use import to import into the same course. Generally that is used for importing into a different course.

          Show
          Sarah Meadus added a comment - I would envision a little icon next to the other edit icons that allows you to copy an activity. I agree that Import would work, but there are too many steps involved and it's not intuitive to use import to import into the same course. Generally that is used for importing into a different course.
          Hide
          Don Hinkelman added a comment -

          Here is a screenshot of a beta version of the sharing cart block. The sharing cart block is on the right. A section of resources and activities is on the left (using the project course format). Notice the small cube-like icon with a small red arrow. That is a one-click cloning icon that can put the activity or resource into the sharing cart. Then as the teacher navigates around the site, the sharing cart always follows the teacher. By clicking on that same icon, the teacher can insert the item anywhere in any course she/he has access to.

          Show
          Don Hinkelman added a comment - Here is a screenshot of a beta version of the sharing cart block. The sharing cart block is on the right. A section of resources and activities is on the left (using the project course format). Notice the small cube-like icon with a small red arrow. That is a one-click cloning icon that can put the activity or resource into the sharing cart. Then as the teacher navigates around the site, the sharing cart always follows the teacher. By clicking on that same icon, the teacher can insert the item anywhere in any course she/he has access to.
          Hide
          Don Hinkelman added a comment -

          @Mark – Actually you are describing the function of the Restore feature. The Import feature is different. It does not import course backups. Instead, it allows you pull individual activities or whole courses into your course, without any user data. It certainly can clone a single item, but as I explained, in a cumbersome manner with several other drawbacks. But first, try out "Import" and see if it meets your needs.

          Show
          Don Hinkelman added a comment - @Mark – Actually you are describing the function of the Restore feature. The Import feature is different. It does not import course backups. Instead, it allows you pull individual activities or whole courses into your course, without any user data. It certainly can clone a single item, but as I explained, in a cumbersome manner with several other drawbacks. But first, try out "Import" and see if it meets your needs.
          Hide
          Mark Pearson added a comment -

          @Don – Thanks for the clarification of Import vs Restore.
          I have just taken a look at your Sharing Cart screenshot and it is massively cool. I love the idea of being able to trundle the cart into any course you own and take items out of the cart. I will definitely try this out over the Christmas break.

          Show
          Mark Pearson added a comment - @Don – Thanks for the clarification of Import vs Restore. I have just taken a look at your Sharing Cart screenshot and it is massively cool. I love the idea of being able to trundle the cart into any course you own and take items out of the cart. I will definitely try this out over the Christmas break.
          Hide
          Robert Puffer added a comment -

          Through all the recent comments I ended up having to actually try out Tim's suggested alternative and found that in my version (Moodle 1.92 (build 20080711) the import function doesn't allow you to import from the existing course (not even as an Admin) – it simply doesn't list it on a search and doesn't list it under courses I've taught, if you happen to be logged in as something other than an admin.

          Show
          Robert Puffer added a comment - Through all the recent comments I ended up having to actually try out Tim's suggested alternative and found that in my version (Moodle 1.92 (build 20080711) the import function doesn't allow you to import from the existing course (not even as an Admin) – it simply doesn't list it on a search and doesn't list it under courses I've taught, if you happen to be logged in as something other than an admin.
          Hide
          Mark Pearson added a comment -

          @Bob, @Don,
          I have just tried using the Import function with the normal Teacher role (version 1.9.2+) and I can confirm Bob's observation. Yes, you can import individual activities and so forth but from a different course. The source course is not listed. So I'm flummoxed as to how Import could possibly be used to duplicate activities.
          In older Moodle versions you could rt-click on an up/down arrow, select copy link location, paste it into the address bar of a new tab and and change the word 'copy' to 'duplicate'. Opening this would create a new activity which you could change settings, rename and relocate. So I'm not sure why this would be more difficult now.
          How many votes does it take to move a widely requested feature like this one with 28 votes from a minor to a major issue?

          Show
          Mark Pearson added a comment - @Bob, @Don, I have just tried using the Import function with the normal Teacher role (version 1.9.2+) and I can confirm Bob's observation. Yes, you can import individual activities and so forth but from a different course. The source course is not listed. So I'm flummoxed as to how Import could possibly be used to duplicate activities. In older Moodle versions you could rt-click on an up/down arrow, select copy link location, paste it into the address bar of a new tab and and change the word 'copy' to 'duplicate'. Opening this would create a new activity which you could change settings, rename and relocate. So I'm not sure why this would be more difficult now. How many votes does it take to move a widely requested feature like this one with 28 votes from a minor to a major issue?
          Hide
          Petr Škoda added a comment -

          One problem is that we do not know which files belong to each activity - we can not copy into different course,
          second problem is that we are not adding new features into STABLE branches especially if there is a danger of regressions.

          I agree this would a nice to have feature

          Show
          Petr Škoda added a comment - One problem is that we do not know which files belong to each activity - we can not copy into different course, second problem is that we are not adding new features into STABLE branches especially if there is a danger of regressions. I agree this would a nice to have feature
          Hide
          Robert Puffer added a comment -

          I guess I'm suitably confused now... I'm certainly not looking for copying a resource or activity from course-to-course, just within the same course. I know I can link multiple course page links to the same file resource so not sure why that's a hindrance though I admit I may not understand your comment accurately, Petr. As far as STABLE branch, I think I'd be satisfied at this point if this feature were included in the ANY branch, being its been under constant discussion for as long as I've had Moodle installed (four years).

          Show
          Robert Puffer added a comment - I guess I'm suitably confused now... I'm certainly not looking for copying a resource or activity from course-to-course, just within the same course. I know I can link multiple course page links to the same file resource so not sure why that's a hindrance though I admit I may not understand your comment accurately, Petr. As far as STABLE branch, I think I'd be satisfied at this point if this feature were included in the ANY branch, being its been under constant discussion for as long as I've had Moodle installed (four years).
          Hide
          Mark Pearson added a comment -

          @Petr
          I'm with Robert here. I don't think this is a "nice to have" feature. I think it's a basic core feature that has been requested since I've been using Moodle (1.3). Many teachers have assignments that they give every week or every day. Currently they have to create each one from scratch. Would you use a scheduler that didn't allow you to repeat an event every week/fortnight?

          Show
          Mark Pearson added a comment - @Petr I'm with Robert here. I don't think this is a "nice to have" feature. I think it's a basic core feature that has been requested since I've been using Moodle (1.3). Many teachers have assignments that they give every week or every day. Currently they have to create each one from scratch. Would you use a scheduler that didn't allow you to repeat an event every week/fortnight?
          Hide
          Nancy Webb added a comment -

          Totally agree with Robert and Mark. I used export and import to copy one week's worth of files/activities, and then moved them down and edited them. I think it was faster than creating each one separately, but a copy feature is essential in course creation.

          Would be nice to have a shortcut to activities such as forums, rather than always having to create a new forum for it to appear in a section. But that's another subject.

          Show
          Nancy Webb added a comment - Totally agree with Robert and Mark. I used export and import to copy one week's worth of files/activities, and then moved them down and edited them. I think it was faster than creating each one separately, but a copy feature is essential in course creation. Would be nice to have a shortcut to activities such as forums, rather than always having to create a new forum for it to appear in a section. But that's another subject.
          Hide
          Anthony Borrow added a comment -

          I don't remember the source, but I thought I recently read about someone that had set up the ability to copy entire sections. Unfortunately, I'm in the middle of final exams, final papers, etc. for the semester and cannot recall who, when, where, or other useful particulars but this may be something worth searching on the forums (provided its not mentioned earlier in this tracker issue, which is possible considering my current state of mind). Peace - Anthony

          Show
          Anthony Borrow added a comment - I don't remember the source, but I thought I recently read about someone that had set up the ability to copy entire sections. Unfortunately, I'm in the middle of final exams, final papers, etc. for the semester and cannot recall who, when, where, or other useful particulars but this may be something worth searching on the forums (provided its not mentioned earlier in this tracker issue, which is possible considering my current state of mind). Peace - Anthony
          Hide
          Don Hinkelman added a comment -

          Project Course Format: to copy entire sections
          Sharing Cart: to copy individual activities/resources

          I just opened tracker requests on these two new features.
          http://tracker.moodle.org/browse/CONTRIB-906
          http://tracker.moodle.org/browse/CONTRIB-907

          Please go there to vote and watch. Anthony will set us up with CVS access within two weeks. Then you can download them and try. Sorry, both are needed together. We won't have the Sharing Cart compatible for Topic/Weekly course formats til January/February.

          Show
          Don Hinkelman added a comment - Project Course Format: to copy entire sections Sharing Cart: to copy individual activities/resources I just opened tracker requests on these two new features. http://tracker.moodle.org/browse/CONTRIB-906 http://tracker.moodle.org/browse/CONTRIB-907 Please go there to vote and watch. Anthony will set us up with CVS access within two weeks. Then you can download them and try. Sorry, both are needed together. We won't have the Sharing Cart compatible for Topic/Weekly course formats til January/February.
          Hide
          Don Hinkelman added a comment -

          Sharing Cart 1.9 version 2 just released. Now compatible with Topics and Weekly format, as well as Project format. Copy or clone individual activities easily. Teachers can move across site with their own "cart" of resources/activities.
          http://docs.moodle.org/en/Sharing_Cart

          Show
          Don Hinkelman added a comment - Sharing Cart 1.9 version 2 just released. Now compatible with Topics and Weekly format, as well as Project format. Copy or clone individual activities easily. Teachers can move across site with their own "cart" of resources/activities. http://docs.moodle.org/en/Sharing_Cart
          Hide
          Oleg Sychev added a comment -

          If by copying new activity you understand coping (with some editing) it's settings only (i.e. stuff that appears on add/update form), then consider voting for MDL-18093. It's relatively easy to write, but I need to convice moodle developers on it usefulness.

          Show
          Oleg Sychev added a comment - If by copying new activity you understand coping (with some editing) it's settings only (i.e. stuff that appears on add/update form), then consider voting for MDL-18093 . It's relatively easy to write, but I need to convice moodle developers on it usefulness.
          Hide
          Norman Hill added a comment -

          This really should be more than a minor issue. It is easy to share question banks between courses but it is nontrivial to share a test between sections of the same course and for that matter to share any module between different sections (courses). I have been playing with exporting question banks but that does not allow for all the other stuff - what questions are in a quiz/test, what the header information says, when it opens or closes, how it is graded, etc. It is quite reasonable to think that instructors may want to have the same or similar tests between courses. The backup and restore or the import from another course does not work as one might want because I have not found a way to limit it to just the contents of one topic or module or activity. Perhaps I'm just being dense but after working over 3 decades in IT, I can assure you that if it is possible it is certainly not intuitive.

          Norman

          Show
          Norman Hill added a comment - This really should be more than a minor issue. It is easy to share question banks between courses but it is nontrivial to share a test between sections of the same course and for that matter to share any module between different sections (courses). I have been playing with exporting question banks but that does not allow for all the other stuff - what questions are in a quiz/test, what the header information says, when it opens or closes, how it is graded, etc. It is quite reasonable to think that instructors may want to have the same or similar tests between courses. The backup and restore or the import from another course does not work as one might want because I have not found a way to limit it to just the contents of one topic or module or activity. Perhaps I'm just being dense but after working over 3 decades in IT, I can assure you that if it is possible it is certainly not intuitive. Norman
          Hide
          Anthony Borrow added a comment -

          Norman - It is an issue that certainly has a number of votes. In part, I believe that it was going to be addressed with the work being done on Backup 2.0 (http://docs.moodle.org/en/Development:Backup_2.0). One of the complaints that I have heard from folks is that the backup/restore process and thus the importing process requires too many clicks. I know that does not seem to address the who copying/duplicating an activity within a course. I forget what the perceived challenges of this were but I do believe that it could be useful. Peace - Anthony

          Show
          Anthony Borrow added a comment - Norman - It is an issue that certainly has a number of votes. In part, I believe that it was going to be addressed with the work being done on Backup 2.0 ( http://docs.moodle.org/en/Development:Backup_2.0 ). One of the complaints that I have heard from folks is that the backup/restore process and thus the importing process requires too many clicks. I know that does not seem to address the who copying/duplicating an activity within a course. I forget what the perceived challenges of this were but I do believe that it could be useful. Peace - Anthony
          Hide
          Mark Pearson added a comment -

          Anthony,
          How many issues have more than 44 votes and 24 watchers, and yet are still minor priority? This feature has been needed and requested (by my faculty at least) since Moodle 1.3. In the past we worked around the problem by means of a kludge (editing the 'move' URL to duplicate) but this has been closed off (probably a security hole). To start with a simple activity duplicator would probably do the trick – one that merely makes an exact replicate / clone of an activity in situ. One then drags the copies to appropriate places on the Outline and modifies internal details according to need. Backup/Restore or Import does not address this issue and it confounds the backup process with activity replication which is really a totally separate process.

          Now that Don Hinkleman's Sharing Cart works with Topics and Weekly format I shall try this out but the question for me is whether it will be supported in future Moodle versions.
          Cheers
          Mark

          Show
          Mark Pearson added a comment - Anthony, How many issues have more than 44 votes and 24 watchers, and yet are still minor priority? This feature has been needed and requested (by my faculty at least) since Moodle 1.3. In the past we worked around the problem by means of a kludge (editing the 'move' URL to duplicate) but this has been closed off (probably a security hole). To start with a simple activity duplicator would probably do the trick – one that merely makes an exact replicate / clone of an activity in situ. One then drags the copies to appropriate places on the Outline and modifies internal details according to need. Backup/Restore or Import does not address this issue and it confounds the backup process with activity replication which is really a totally separate process. Now that Don Hinkleman's Sharing Cart works with Topics and Weekly format I shall try this out but the question for me is whether it will be supported in future Moodle versions. Cheers Mark
          Hide
          Petr Škoda added a comment -

          The main problem here is that we do not know which file belongs to each activity, without this information it is not possible to implement any reliable solution for copy/pasting of activities between different courses - this is the reason why it was not implemented yet and will not be implemented in 1.9.x.

          In 2.0dev we are finally working on a proper solution, it requires very many major changes in moodle code base.

          Show
          Petr Škoda added a comment - The main problem here is that we do not know which file belongs to each activity, without this information it is not possible to implement any reliable solution for copy/pasting of activities between different courses - this is the reason why it was not implemented yet and will not be implemented in 1.9.x. In 2.0dev we are finally working on a proper solution, it requires very many major changes in moodle code base.
          Hide
          Mark Pearson added a comment -

          Thanks Petr, that's very helpful.
          Speaking for myself the main issue is replicating activities within a single course which may be somewhat easier. But I do understand that this cannot happen in 1.9.
          Mark

          Show
          Mark Pearson added a comment - Thanks Petr, that's very helpful. Speaking for myself the main issue is replicating activities within a single course which may be somewhat easier. But I do understand that this cannot happen in 1.9. Mark
          Hide
          Anthony Borrow added a comment -

          Mark - Just a quick answer to your question, the two top voted on issues (http://tracker.moodle.org/browse/MDL?report=com.atlassian.jira.plugin.system.project%3Apopularissues-panel) are both listed as having minor priority. I occasionally review http://tracker.moodle.org/secure/ShowConstantsHelp.jspa?decorator=popup#PriorityLevels to remind myself of the meaning of the priorities. Every issue is important and even one reported as having minor priority. The fact that it has so many votes will certainly keep it on the radar even if it has been a long time coming. I know that I had enabled this functionality when it was commented out in the code back in Moodle 1.6. Since then so much has changed but it is worth continuing to advocate for. Thanks for your encouragement and speaking up about this issue. It is good to hear that it is much desired. Peace - Anthony

          Show
          Anthony Borrow added a comment - Mark - Just a quick answer to your question, the two top voted on issues ( http://tracker.moodle.org/browse/MDL?report=com.atlassian.jira.plugin.system.project%3Apopularissues-panel ) are both listed as having minor priority. I occasionally review http://tracker.moodle.org/secure/ShowConstantsHelp.jspa?decorator=popup#PriorityLevels to remind myself of the meaning of the priorities. Every issue is important and even one reported as having minor priority. The fact that it has so many votes will certainly keep it on the radar even if it has been a long time coming. I know that I had enabled this functionality when it was commented out in the code back in Moodle 1.6. Since then so much has changed but it is worth continuing to advocate for. Thanks for your encouragement and speaking up about this issue. It is good to hear that it is much desired. Peace - Anthony
          Hide
          Don Hinkelman added a comment -

          Thanks, Mark, for trying the Sharing Cart for copying and cloning activities. We will update it for Moodle 2.0 and I hope you vote for it CONTRIB-907 to be included in Moodle core for 2.1. The problem with current Backup/Restore is that it takes over 15 clicks and considerable time to clone one simple activity. In addition, Backup will copy all course files (media files) along with the single activity-which can be hundreds of audio and image files in our site. The Sharing Cart is just three steps to move an activity-and it brings along only the media files for that activity.
          1. Click once to backup
          2. Navigate to the new location
          3. Click once to restore

          Show
          Don Hinkelman added a comment - Thanks, Mark, for trying the Sharing Cart for copying and cloning activities. We will update it for Moodle 2.0 and I hope you vote for it CONTRIB-907 to be included in Moodle core for 2.1. The problem with current Backup/Restore is that it takes over 15 clicks and considerable time to clone one simple activity. In addition, Backup will copy all course files (media files) along with the single activity- which can be hundreds of audio and image files in our site. The Sharing Cart is just three steps to move an activity -and it brings along only the media files for that activity. 1. Click once to backup 2. Navigate to the new location 3. Click once to restore
          Hide
          Norman Hill added a comment -

          Anthony, thanks for the pointer about the priority levels. The "minor" makes a bit more sense now although I think it could be argued about whether an "easy workaround is present" in this case. It is certainly true both that workarounds do exist and the absence of this functionality does not make the system as a whole not functional but I maintain there is no easy workaround which provides this function in most cases.

          Show
          Norman Hill added a comment - Anthony, thanks for the pointer about the priority levels. The "minor" makes a bit more sense now although I think it could be argued about whether an "easy workaround is present" in this case. It is certainly true both that workarounds do exist and the absence of this functionality does not make the system as a whole not functional but I maintain there is no easy workaround which provides this function in most cases.
          Hide
          Anthony Borrow added a comment -

          Norman - Yep, you are right there is no easy workaround. I've added my vote to the issue. Peace - Anthony

          Show
          Anthony Borrow added a comment - Norman - Yep, you are right there is no easy workaround. I've added my vote to the issue. Peace - Anthony
          Hide
          Nancy Webb added a comment -

          One limitation of import is that it always imports to the same block the original is in - wish I could choose which section to drop the activities/resoruces. I have used import from a template I have, but then I have to move each item individually to the correct week or topic. Moving takes a long time. There's also a problem of importing the test banks, where it would be nice to choose "include only settings", not the questions.

          What with all the clicks to import, and then the moving, I am not sure this is a time saver, but at least I know all the settings are the same on every quiz, every forum, etc.
          I'm glad to hear there are solutions afoot.

          Show
          Nancy Webb added a comment - One limitation of import is that it always imports to the same block the original is in - wish I could choose which section to drop the activities/resoruces. I have used import from a template I have, but then I have to move each item individually to the correct week or topic. Moving takes a long time. There's also a problem of importing the test banks, where it would be nice to choose "include only settings", not the questions. What with all the clicks to import, and then the moving, I am not sure this is a time saver, but at least I know all the settings are the same on every quiz, every forum, etc. I'm glad to hear there are solutions afoot.
          Hide
          Olli Savolainen added a comment -

          A related issue is the fact that for many use cases of Quiz, the fact that quizzes lock up when there are attempts is a serious issue. The only way to solve this seems to be making copies of the quiz without the attempts.

          I made some mockups for this in the Autumn:
          http://docs.moodle.org/en/Development:Quiz_Usability_portal/Attempted_quiz_enabling

          Show
          Olli Savolainen added a comment - A related issue is the fact that for many use cases of Quiz, the fact that quizzes lock up when there are attempts is a serious issue. The only way to solve this seems to be making copies of the quiz without the attempts. I made some mockups for this in the Autumn: http://docs.moodle.org/en/Development:Quiz_Usability_portal/Attempted_quiz_enabling
          Hide
          Ray Lawrence added a comment -

          Olli,

          Have you created a tracker issue for this?

          Show
          Ray Lawrence added a comment - Olli, Have you created a tracker issue for this?
          Hide
          Olli Savolainen added a comment -

          Ray, hm I never got an email about your message. Did it now: MDL-20054

          Show
          Olli Savolainen added a comment - Ray, hm I never got an email about your message. Did it now: MDL-20054
          Hide
          Cay Horstmann added a comment -

          The "sharing cart" isn't going to cut it. Moodle already has too many weird gizmos. What people want-and rightfully so-is a simple "duplicate" button next to a quiz.

          Show
          Cay Horstmann added a comment - The "sharing cart" isn't going to cut it. Moodle already has too many weird gizmos. What people want- and rightfully so -is a simple "duplicate" button next to a quiz.
          Hide
          Mark Pearson added a comment -

          @Cay
          I would dispute that Sharing Cart is a "weird gizmo" . I've installed it in our 1.9 production server and faculty are thrilled to be able to duplicate activities within a course and also copy resources and activities between their courses. It's a really great feature and ought to be a candidate for inclusion into the core IMHO.

          Show
          Mark Pearson added a comment - @Cay I would dispute that Sharing Cart is a "weird gizmo" . I've installed it in our 1.9 production server and faculty are thrilled to be able to duplicate activities within a course and also copy resources and activities between their courses. It's a really great feature and ought to be a candidate for inclusion into the core IMHO.
          Hide
          Robert Puffer added a comment -

          We're using the Sharing Cart and it has really provided some tremendous functionality that I don't believe would be provided by a duplicate activity function. +1 for putting it into core.

          Show
          Robert Puffer added a comment - We're using the Sharing Cart and it has really provided some tremendous functionality that I don't believe would be provided by a duplicate activity function. +1 for putting it into core.
          Hide
          Robert Puffer added a comment -

          The fact that this issue has been open for 2-1/2 years, has 62 votes and continues to be rated minor causes me deep concern that community opinion may not be as valued as it once was.

          Show
          Robert Puffer added a comment - The fact that this issue has been open for 2-1/2 years, has 62 votes and continues to be rated minor causes me deep concern that community opinion may not be as valued as it once was.
          Hide
          Don Hinkelman added a comment -

          This is a major issue for our teachers. The number 1 request is quick and easy moving and duplication of activities (all activities, not just quizzes). The Sharing Cart has been a godsend because all of our teachers teach more than one course--they use it dozens of times per day. Novice teachers get the hang of it instantly. It's the first tool I teach them to use after the forum and quiz. I strongly recommend inclusion of the Sharing Cart or something like the Sharing Cart in core Moodle 2.1. It should at the minimum:

          • clone any activity
          • move any activity to any course and any section you select
            And if you can figure out how to do it all drag-and-drop, that would be fantastic. We haven't-but are looking for ideas. BTW, release 11 of the Sharing Cart came out last week-fixes an issue with Common Module Settings and moving custom theme icons. With these frequent updates, I like to think it would be even ready for core Moodle 2.0.
          Show
          Don Hinkelman added a comment - This is a major issue for our teachers. The number 1 request is quick and easy moving and duplication of activities (all activities, not just quizzes). The Sharing Cart has been a godsend because all of our teachers teach more than one course--they use it dozens of times per day. Novice teachers get the hang of it instantly. It's the first tool I teach them to use after the forum and quiz. I strongly recommend inclusion of the Sharing Cart or something like the Sharing Cart in core Moodle 2.1. It should at the minimum: clone any activity move any activity to any course and any section you select And if you can figure out how to do it all drag-and-drop, that would be fantastic. We haven't- but are looking for ideas. BTW, release 11 of the Sharing Cart came out last week -fixes an issue with Common Module Settings and moving custom theme icons. With these frequent updates, I like to think it would be even ready for core Moodle 2.0.
          Hide
          Anthony Borrow added a comment -

          I'm not sure that it is a lack of concern for community opinion and I think community input is still very much valued. From a functional point of view, it can be done with import; however, it is not as convenient as it could be and thus on a practical level still needed as Don indicates. I remember making this type of functionality available back in 1.5. I'm not sure if it might be something that could worked into the functionality of the work being done to overhaul backup and restore in 2.0 or not. The popularity of the issue makes it certainly worth exploring. Peace - Anthony

          Show
          Anthony Borrow added a comment - I'm not sure that it is a lack of concern for community opinion and I think community input is still very much valued. From a functional point of view, it can be done with import; however, it is not as convenient as it could be and thus on a practical level still needed as Don indicates. I remember making this type of functionality available back in 1.5. I'm not sure if it might be something that could worked into the functionality of the work being done to overhaul backup and restore in 2.0 or not. The popularity of the issue makes it certainly worth exploring. Peace - Anthony
          Hide
          Robert Puffer added a comment -

          I must admit my disappointment Anthony that you still hold close to the assertion, "From a functional point of view, it can be done with import; " – in fact, it can't. As stated a number of times in this issue and in the forums, Import does not allow you to use the same course for both source and target. And while I understand you're a peacemaker and respect that greatly, I also respect the bare bone facts that this issue (along with other issues popular in the community) are ignored across many version releases. As my mom always said, "People'll tell ya all the time what they think is important but you won't really know what they think until you look where they spend their money and their time".

          Show
          Robert Puffer added a comment - I must admit my disappointment Anthony that you still hold close to the assertion, "From a functional point of view, it can be done with import; " – in fact, it can't. As stated a number of times in this issue and in the forums, Import does not allow you to use the same course for both source and target. And while I understand you're a peacemaker and respect that greatly, I also respect the bare bone facts that this issue (along with other issues popular in the community) are ignored across many version releases. As my mom always said, "People'll tell ya all the time what they think is important but you won't really know what they think until you look where they spend their money and their time".
          Hide
          Anthony Borrow added a comment -

          In fairness, I have to admit it was a bit of a stretch. What I meant by functional was how I had implemented it where there was a separate teacher repository course (I was trying to encourage all teachers to share their resources in one spot) and then they could import those into their particular courses. That was how I resolved it when the ability to have a duplicate no longer worked in 1.8 (I think it was 1.8 as I forget when import was introduced). Technically, you can create a backup of an activity and restore it to the same course which duplicates it but this is admittedly a pain but the functionality is there. We just need to make it more convenient. The existence of the functionality is good news in that from a coding standpoint cloning an activity should be able to be accomplished without too much effort. We could create a duplicate/clone function that backups up just that one activity without any user data and then restores it to the course preferably without any confirmations (except perhaps one indicating what is about to happen). Of course there is probably an easier solution too in terms of just getting the basic information and creating another activity. I do tend to be a bit more idealistic but for the most part I don't see that issues are ignored. I have experienced an issue being postponed, delayed, etc. for a long period of time. I see this in part as the result of limited resources. I nevertheless remain convinced that we are all doing our best so please keep advocating for this issue to be resolved. Peace - Anthony

          Show
          Anthony Borrow added a comment - In fairness, I have to admit it was a bit of a stretch. What I meant by functional was how I had implemented it where there was a separate teacher repository course (I was trying to encourage all teachers to share their resources in one spot) and then they could import those into their particular courses. That was how I resolved it when the ability to have a duplicate no longer worked in 1.8 (I think it was 1.8 as I forget when import was introduced). Technically, you can create a backup of an activity and restore it to the same course which duplicates it but this is admittedly a pain but the functionality is there. We just need to make it more convenient. The existence of the functionality is good news in that from a coding standpoint cloning an activity should be able to be accomplished without too much effort. We could create a duplicate/clone function that backups up just that one activity without any user data and then restores it to the course preferably without any confirmations (except perhaps one indicating what is about to happen). Of course there is probably an easier solution too in terms of just getting the basic information and creating another activity. I do tend to be a bit more idealistic but for the most part I don't see that issues are ignored. I have experienced an issue being postponed, delayed, etc. for a long period of time. I see this in part as the result of limited resources. I nevertheless remain convinced that we are all doing our best so please keep advocating for this issue to be resolved. Peace - Anthony
          Hide
          David Mudrak added a comment -

          I just added a link to MDL-18093 where another approach is outlined. There are several factors to be discussed (sorry I did not go thru all your posts above). IIRC Import does not support importing from the course itself, which may be considered a bug (excuse me if I am wrong). Since Moodle 2.0, there will be issues with file areas and context as during the clone, all embedded files must be relinked. Also, Eloy is currently working on a new backup/restore framework which should support single-activity encapsulation better. Probably, we will have to introduce a new standard module API function called modulename_clone() or something like that which will handle all tasks needed so the module can control what must be done during the cloning.

          Show
          David Mudrak added a comment - I just added a link to MDL-18093 where another approach is outlined. There are several factors to be discussed (sorry I did not go thru all your posts above). IIRC Import does not support importing from the course itself, which may be considered a bug (excuse me if I am wrong). Since Moodle 2.0, there will be issues with file areas and context as during the clone, all embedded files must be relinked. Also, Eloy is currently working on a new backup/restore framework which should support single-activity encapsulation better. Probably, we will have to introduce a new standard module API function called modulename_clone() or something like that which will handle all tasks needed so the module can control what must be done during the cloning.
          Hide
          Mark Pearson added a comment -

          "Technically, you can create a backup of an activity and restore it to the same course which duplicates it but this is admittedly a pain but the functionality is there. We just need to make it more convenient. "

          Sorry, Anthony, but 65 votes say NO, this is not good enough. Duplicating / cloning / replicating (whatever you want to call it) activities is a basic requirement for faculty to manage a course. This functionality needs a simple user interface which accomplishes it with no fuss. Users can move any object in the course outline to a different position; why is duplication so difficult to achieve?

          Show
          Mark Pearson added a comment - "Technically, you can create a backup of an activity and restore it to the same course which duplicates it but this is admittedly a pain but the functionality is there. We just need to make it more convenient. " Sorry, Anthony, but 65 votes say NO, this is not good enough. Duplicating / cloning / replicating (whatever you want to call it) activities is a basic requirement for faculty to manage a course. This functionality needs a simple user interface which accomplishes it with no fuss. Users can move any object in the course outline to a different position; why is duplication so difficult to achieve?
          Hide
          David Mudrak added a comment -

          why is duplication so difficult to achieve?

          Moving the activity to a different position is just as easy as changing one number in the database (the number of the course slot) and can be done easily by the core. Cloning is more complicated, basically because it is module specific task. Every module must carefully decide what information must be duplicated and process it. Technically, this is exactly what backup and restore code does. That is the reason why we resist to implement it now because the backup and restore subsystem is under heavy re-construction for Moodle 2.0. Usability is improtant, of course. But at first, solid backend must be prepared.

          Show
          David Mudrak added a comment - why is duplication so difficult to achieve? Moving the activity to a different position is just as easy as changing one number in the database (the number of the course slot) and can be done easily by the core. Cloning is more complicated, basically because it is module specific task. Every module must carefully decide what information must be duplicated and process it. Technically, this is exactly what backup and restore code does. That is the reason why we resist to implement it now because the backup and restore subsystem is under heavy re-construction for Moodle 2.0. Usability is improtant, of course. But at first, solid backend must be prepared.
          Hide
          Don Hinkelman added a comment -

          To David and Mark:
          Thanks David for your attention to this issue and the related "Save as" issue for all activities. I agree, both approaches are useful. These issues were so important to us in our teaching teams that we had to create a solution now for 1.9 so our teachers could duplicate activities across their average load of ten courses, and to share activities to save time in creation. We are heavy into multimedia, so handling attached videos, images, and audio files was a huge complication in developing the Sharing Cart. I understand you are focused on 2.0, and we want the Sharing Cart to be incorporated into the 2.0 core in some functionality. I hope our experience with 1.9 can somehow inform the critical work you are doing.

          • "why is duplication so difficult to achieve?"
            Well, yes, it is difficult but it has already been achieved in 1.9. When we made the Sharing Cart (not me alone, I just designed the functionality) the first question was "What aspects of the activity/resource to duplicate and what to exclude?". We chose to exclude all user data (like the import function), but to include both the database data and the associated media files, and only the directly associated media files (unlike the import function). This gets complicated because media files are not centrally located but sometimes in course files and sometimes in site files. Because of that complication and the danger of media files being deleted unknowingly by other teachers or admins doing course cleanup, we decided the Sharing Cart would completely duplicate the media files and not relink to the original ones. This means the whole site storage gradually gets larger, but this has not been a problem in over a year of production use with 170 courses (1TB hard disks are now under $100). The second issue we had to deal with was teacher usability and productivity. Teachers wanted to duplicate their activities to multiple courses, not just a single one, and they wanted to keep their key activities in a library for later insertion into other courses. Thus we created User Library folders in moodledata which would permanently keep the duplicated activities/resources for the teachers. After bloated libraries developed, we made it easy to clean out your own Sharing Cart with bulk delete. Finally, last year we integrated the Sharing Cart into an Institutional and a Cross-Institutional Repository--but that is another story.
          Show
          Don Hinkelman added a comment - To David and Mark: Thanks David for your attention to this issue and the related "Save as" issue for all activities. I agree, both approaches are useful. These issues were so important to us in our teaching teams that we had to create a solution now for 1.9 so our teachers could duplicate activities across their average load of ten courses, and to share activities to save time in creation. We are heavy into multimedia, so handling attached videos, images, and audio files was a huge complication in developing the Sharing Cart. I understand you are focused on 2.0, and we want the Sharing Cart to be incorporated into the 2.0 core in some functionality. I hope our experience with 1.9 can somehow inform the critical work you are doing. "why is duplication so difficult to achieve?" Well, yes, it is difficult but it has already been achieved in 1.9. When we made the Sharing Cart (not me alone, I just designed the functionality) the first question was "What aspects of the activity/resource to duplicate and what to exclude?". We chose to exclude all user data (like the import function), but to include both the database data and the associated media files, and only the directly associated media files (unlike the import function). This gets complicated because media files are not centrally located but sometimes in course files and sometimes in site files. Because of that complication and the danger of media files being deleted unknowingly by other teachers or admins doing course cleanup, we decided the Sharing Cart would completely duplicate the media files and not relink to the original ones. This means the whole site storage gradually gets larger, but this has not been a problem in over a year of production use with 170 courses (1TB hard disks are now under $100). The second issue we had to deal with was teacher usability and productivity. Teachers wanted to duplicate their activities to multiple courses, not just a single one, and they wanted to keep their key activities in a library for later insertion into other courses. Thus we created User Library folders in moodledata which would permanently keep the duplicated activities/resources for the teachers. After bloated libraries developed, we made it easy to clean out your own Sharing Cart with bulk delete. Finally, last year we integrated the Sharing Cart into an Institutional and a Cross-Institutional Repository--but that is another story.
          Hide
          Don Hinkelman added a comment -

          One more design complication that I forgot to mention is the Question Bank in the Quiz Module. We have thousands of quiz questions and our course-building revolves around shared banks of questions for teachers in similar courses. I am afraid my memory is a bit fuzzy on how we made the Sharing Cart handle this. The Sharing Cart does duplicate the question's category in the Question Bank, but as you know the category is not absolute but embedded in a context, with associated permissions. So sometimes teachers did not have permission to view a question and sometimes students could not see the associated media files. I think (I am not the programmer) we decided to handle these issues outside of code, with two approaches. Some of this is explained in Moodle Docs under "Sharing Cart".

          • verbally recommend/enforce all question categories be made in System categories
          • create additional roles such as Question Creator (for teachers) and Question User (for students) which removed restrictions on viewing media and viewing/editing questions. These roles were applied on mass to site users.
          Show
          Don Hinkelman added a comment - One more design complication that I forgot to mention is the Question Bank in the Quiz Module. We have thousands of quiz questions and our course-building revolves around shared banks of questions for teachers in similar courses. I am afraid my memory is a bit fuzzy on how we made the Sharing Cart handle this. The Sharing Cart does duplicate the question's category in the Question Bank, but as you know the category is not absolute but embedded in a context, with associated permissions. So sometimes teachers did not have permission to view a question and sometimes students could not see the associated media files. I think (I am not the programmer) we decided to handle these issues outside of code, with two approaches. Some of this is explained in Moodle Docs under "Sharing Cart". verbally recommend/enforce all question categories be made in System categories create additional roles such as Question Creator (for teachers) and Question User (for students) which removed restrictions on viewing media and viewing/editing questions. These roles were applied on mass to site users.
          Hide
          David Mudrak added a comment -

          This means the whole site storage gradually gets larger

          This should be solved in Moodle 2.0 in the new File subsystem. Shortly, every single file is physically stored at the disk just once and it is linked into appropriate contexts during the copying. It is the same mechanism as the hard-linking in Linux file systems. Note that the same file can appear in different places (courses) under different names, of course.

          complication that I forgot to mention is the Question Bank

          yup, this is known issue. We know the limitations of the current system, as well the fact it does not fit all course organization policies. It is planned to rewrite the sharing logic once we/somebody come with a better specification of the functionality.

          Show
          David Mudrak added a comment - This means the whole site storage gradually gets larger This should be solved in Moodle 2.0 in the new File subsystem. Shortly, every single file is physically stored at the disk just once and it is linked into appropriate contexts during the copying. It is the same mechanism as the hard-linking in Linux file systems. Note that the same file can appear in different places (courses) under different names, of course. complication that I forgot to mention is the Question Bank yup, this is known issue. We know the limitations of the current system, as well the fact it does not fit all course organization policies. It is planned to rewrite the sharing logic once we/somebody come with a better specification of the functionality.
          Hide
          Don Hinkelman added a comment -

          Thanks for the fix! How was it fixed and where can we see it?

          Show
          Don Hinkelman added a comment - Thanks for the fix! How was it fixed and where can we see it?
          Hide
          Anthony Borrow added a comment -

          Don - I think you misread the email. Martin simply did a mass update of issues marked to be fixed for 2.0 and moved them to be fixed in 2.0.1. The issue is as of yet unresolved. Peace - Anthony

          Show
          Anthony Borrow added a comment - Don - I think you misread the email. Martin simply did a mass update of issues marked to be fixed for 2.0 and moved them to be fixed in 2.0.1. The issue is as of yet unresolved. Peace - Anthony
          Hide
          Eloy Lafuente (stronk7) added a comment -

          NOTE: This issue was assigned to the STABLE backlog without complete triaging process. Marking it as triaged, but with this note for future reference.

          Show
          Eloy Lafuente (stronk7) added a comment - NOTE: This issue was assigned to the STABLE backlog without complete triaging process. Marking it as triaged, but with this note for future reference.
          Hide
          David Mudrak added a comment -

          This is going to be implemented as an application of the new backup/restore system as it now fully supports single activity processing. The issue has been moved to the DEV backlog so please do no expect it before Moodle 2.1.

          Show
          David Mudrak added a comment - This is going to be implemented as an application of the new backup/restore system as it now fully supports single activity processing. The issue has been moved to the DEV backlog so please do no expect it before Moodle 2.1.
          Hide
          Robert Puffer added a comment -

          I would find it impossible to have arrived at the conclusion to use the backup/restore to meet this VERY desperate need if I'd read the comments submitted above. Teachers do not want to have to click ten times to clone an activity – two to three would be the maximum, especially when many copies need to be made.

          Show
          Robert Puffer added a comment - I would find it impossible to have arrived at the conclusion to use the backup/restore to meet this VERY desperate need if I'd read the comments submitted above. Teachers do not want to have to click ten times to clone an activity – two to three would be the maximum, especially when many copies need to be made.
          Hide
          Mark Pearson added a comment -

          David,
          With all due respect, this issue has garnered 82 votes over nearly 4 years which tell the story that backup/restore is not what folks need. Are you really expecting a course teacher to go to the bother of performing a course backup and restore just to duplicate an activity? It will never happen. For the sake of harried moodle administrators please reconsider this decision. Is incorporating Don Hinkelman's Sharing Cart totally out of the question?

          Show
          Mark Pearson added a comment - David, With all due respect, this issue has garnered 82 votes over nearly 4 years which tell the story that backup/restore is not what folks need. Are you really expecting a course teacher to go to the bother of performing a course backup and restore just to duplicate an activity? It will never happen. For the sake of harried moodle administrators please reconsider this decision. Is incorporating Don Hinkelman's Sharing Cart totally out of the question?
          Hide
          Steve Taylor added a comment -

          I agree with the above, a solution that's too difficult or unobvious for teachers to use is no solution.

          Show
          Steve Taylor added a comment - I agree with the above, a solution that's too difficult or unobvious for teachers to use is no solution.
          Hide
          David Mudrak added a comment -

          Sorry, this is just misunderstanding. From the user/UI point of view, it WILL be single click operation (via "x2" icon at the Editing mode on) without any steps. The module will be backed-up and restored silently, using some reasonable default values for the backup (no user data etc). The module backup/restore logic knows best what is needed to do. I hope this makes it clear.

          Show
          David Mudrak added a comment - Sorry, this is just misunderstanding. From the user/UI point of view, it WILL be single click operation (via "x2" icon at the Editing mode on) without any steps. The module will be backed-up and restored silently, using some reasonable default values for the backup (no user data etc). The module backup/restore logic knows best what is needed to do. I hope this makes it clear.
          Hide
          Mark Pearson added a comment -

          Thanks David. That process was not at all obvious from your initial statement.

          Show
          Mark Pearson added a comment - Thanks David. That process was not at all obvious from your initial statement.
          Hide
          Robert Puffer added a comment -

          Thank you for the relieving clarification.

          Show
          Robert Puffer added a comment - Thank you for the relieving clarification.
          Hide
          Don Hinkelman added a comment -

          Thanks David! Your description is exactly what I hoped for: a simple icon (x2), single click operation with the cloned activity appearing directly below the original (minus user data). Thus if a teacher needs to clone the activity with user data, they should use backup/restore (tedious but that case would be rare I believe). All in all, a great addition for Moodle 2.1.

          This plan will replace one of three functions of the Sharing Cart, which I still hope you can include in standard Moodle 2.2 code or later. The other two functions are: 1) moving a cloned activity from course to course in an easy way for teachers and 2) maintaining/organizing a library of frequently used activities to add into any course. These are essentially for our teachers--most used tool in our faculty who average 5-10 similar courses and are constantly cloning/moving activities. Therefore, our university is continuing to create Sharing Cart 2.0 and Project Course Format 2.0, hoping to offer them in May. The coding of course won't be up to Moodle HQ standards, but hopefully with us doing a functional one, this will save you time incorporating into standard code. (vote for CONTRIB 907)

          Show
          Don Hinkelman added a comment - Thanks David! Your description is exactly what I hoped for: a simple icon (x2), single click operation with the cloned activity appearing directly below the original (minus user data). Thus if a teacher needs to clone the activity with user data, they should use backup/restore (tedious but that case would be rare I believe). All in all, a great addition for Moodle 2.1. This plan will replace one of three functions of the Sharing Cart, which I still hope you can include in standard Moodle 2.2 code or later. The other two functions are: 1) moving a cloned activity from course to course in an easy way for teachers and 2) maintaining/organizing a library of frequently used activities to add into any course. These are essentially for our teachers--most used tool in our faculty who average 5-10 similar courses and are constantly cloning/moving activities. Therefore, our university is continuing to create Sharing Cart 2.0 and Project Course Format 2.0, hoping to offer them in May. The coding of course won't be up to Moodle HQ standards, but hopefully with us doing a functional one, this will save you time incorporating into standard code. (vote for CONTRIB 907)
          Hide
          David Mudrak added a comment -

          I have a working patch that adds this feature for Moodle 2.0. The code can be previewed and obtained from https://github.com/mudrd8mz/moodle/compare/master...WIP-MDL-11288-course-module-cloning (please note that I may still rebase that branch).

          See the attached screenshots for the UI. As discussed earlier, this new cloning feature uses the same mechanism as importing from the course itself would do. It just does everything automatically on the background so it takes three clicks to have an activity duplicated.

          The patch may land in either Moodle 2.0.x or 2.1.

          Show
          David Mudrak added a comment - I have a working patch that adds this feature for Moodle 2.0. The code can be previewed and obtained from https://github.com/mudrd8mz/moodle/compare/master...WIP-MDL-11288-course-module-cloning (please note that I may still rebase that branch). See the attached screenshots for the UI. As discussed earlier, this new cloning feature uses the same mechanism as importing from the course itself would do. It just does everything automatically on the background so it takes three clicks to have an activity duplicated. The patch may land in either Moodle 2.0.x or 2.1.
          Hide
          David Mudrak added a comment -

          Screenshot: A new x2 icon

          Show
          David Mudrak added a comment - Screenshot: A new x2 icon
          Hide
          David Mudrak added a comment -

          Screenshot: confirmation screen

          Show
          David Mudrak added a comment - Screenshot: confirmation screen
          Hide
          David Mudrak added a comment -

          Screenshot: Finished

          Show
          David Mudrak added a comment - Screenshot: Finished
          Hide
          David Mudrak added a comment -

          Screenshot: Course page after a sucessful duplication

          Show
          David Mudrak added a comment - Screenshot: Course page after a sucessful duplication
          Hide
          David Mudrak added a comment -

          A patch submitted for the first iteration of review. See PULL-572 for details

          Show
          David Mudrak added a comment - A patch submitted for the first iteration of review. See PULL-572 for details
          Hide
          Helen Foster added a comment -

          This new feature is now in Moodle 2.1dev. Thanks David

          Show
          Helen Foster added a comment - This new feature is now in Moodle 2.1dev. Thanks David
          Hide
          Mark Pearson added a comment -

          @David,
          Thanks for sorting this one out. I particularly like the ability to edit the new instance immediately (as in the screenshot 2) – that was a thoughtful additional function which faculty will appreciate I'm sure. I'll still use the Sharing Cart to copy items between courses but this feature makes life a lot better.

          Show
          Mark Pearson added a comment - @David, Thanks for sorting this one out. I particularly like the ability to edit the new instance immediately (as in the screenshot 2) – that was a thoughtful additional function which faculty will appreciate I'm sure. I'll still use the Sharing Cart to copy items between courses but this feature makes life a lot better.
          Hide
          Don Hinkelman added a comment -

          Thanks, David, for this very valuable feature. What Helen is closing is actually the "Ability to copy (or clone) an activity within a course". In my school this is somewhat minor compared to the "Ability to copy (or clone) an activity/resource across courses). Our teachers have been using the Sharing Cart to do this but that feature should be in core. I don't think we need to open a new tracker issue though. Voting and watching this one should do: MDL-19721.

          Show
          Don Hinkelman added a comment - Thanks, David, for this very valuable feature. What Helen is closing is actually the "Ability to copy (or clone) an activity within a course". In my school this is somewhat minor compared to the "Ability to copy (or clone) an activity/resource across courses). Our teachers have been using the Sharing Cart to do this but that feature should be in core. I don't think we need to open a new tracker issue though. Voting and watching this one should do: MDL-19721 .

            Dates

            • Created:
              Updated:
              Resolved: