Category Duplicate

Local plugins ::: local_catdup
Maintained by Yedidia Klein
Local Plugin for duplicating a category and all it sub categories and courses to a new empty category. Usefull for new year creation.
Latest release:
442 sites
83 downloads
14 fans
Current versions available: 2

Local Plugin for duplicating a category and all it sub categories and courses to a new empty category. 

Usefull for new year auto creation of all courses including all content.

Screenshots

Screenshot #0

Contributors

Yedidia Klein (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Erakutsi iruzkinak
  • Blair F.
    og., 2021(e)ko urr.ren 21(e)an, 01:41(e)tan
    I made a little hack to the local_catdup_main_form.php file, after line 41 (added: $catpath[$category->id] = $category->id . ' - '; ) and now the ID number appears in front of the category name for me. Much easier to work with. I hope that you can make this change a little slicker in your next update. irribarrea
  • Jacques Barzic
    al., 2021(e)ko aza.ren 8(e)an, 19:04(e)tan
    Hello,
    it seems that this plugin is accessible only to "Site Administrator" role (I've make a test on Moodle 3.9).
    Is it possible to make it accessible to "Manager" role?
  • Blair F.
    og., 2021(e)ko abe.ren 2(e)an, 00:49(e)tan
    Hey, Jacques, I suggest you add it to the Bug Tracker (link above) as a suggestion. I think it's a good idea.
  • Blair F.
    az., 2022(e)ko urt.ren 12(e)an, 05:51(e)tan
    I'm really hoping to see some activity on this plugin, because it could be so useful with some of the kinks worked out.
  • Farhan Yugarpaksi
    az., 2022(e)ko api.ren 6(e)an, 15:50(e)tan
    Hi, I tried to duplicate a category, then I got a notification via email that the category is not empty. Even though I have created an empty category before. Is there any solution? Thank you in advance
  • Steve Taylor
    ar., 2022(e)ko api.ren 19(e)an, 00:29(e)tan
    Thanks for making this, but I don't understand how the shortname extension is supposed to work. I supplied an extension, but it just added _1 instead. And can there be a way to *not* add "copy 1" to the new course name?
  • Steve Taylor
    ar., 2022(e)ko api.ren 19(e)an, 00:31(e)tan
    This would be super useful for me if it could also copy over the Category ID, with a supplied name extension. Thanks.
  • Blair F.
    og., 2022(e)ko eka.ren 2(e)an, 00:05(e)tan
    Steve Taylor, I am having the same issue. I'm really hoping that Yedidia can find some time to work on this, or pass it on to someone else so that it can be further developed. It has GREAT potential.
  • Nora Colazzo
    ar., 2022(e)ko uzt.ren 5(e)an, 07:19(e)tan
    I was wondering if there is any documentation about using this plugin. I just wish to understand the extension of new courses and old courses as this feature doesn't seem to do anything. Cloned courses are not carrying over the information that I input. It would be great to have some understanding of how this plugin should work. I would appreciate anything at this stage. Thanks.
  • Markus G
    az., 2022(e)ko urr.ren 5(e)an, 08:47(e)tan
    you did a great job here. I also think the plugin is very important. hopefully it will become a mainstay of moodle in the future. if i understand correctly, moodle (not the plugin) adds copy1 to the course name itself, because the course name cannot be the same twice. The plugin could fix the name before the course is recreated, e.g. replace 2021 => 2022 and then no copy1 would be added by Moodle.
  • Arnaud Fily
    ar., 2023(e)ko mai.ren 9(e)an, 21:00(e)tan
    Hello, it doesn't work for me. Ihave a message "your request was inserted into queue, you will get an email while done.". Does anayone have the same message?
  • Muhammad Mosa
    ar., 2023(e)ko mai.ren 23(e)an, 01:26(e)tan
    Thanks, it works for me. I installed on Moodle 4.2.
  • Via Serenella
    or., 2023(e)ko abu.ren 4(e)an, 21:06(e)tan
    It works well but I spot an issue : cohort as enrolment method is not considered. After the duplication that method disappeared from the course. Any suggestion?
  • Hervé MUNOZ
    lr., 2025(e)ko abu.ren 30(e)an, 14:30(e)tan
    bonjour, j'ai un souci avec duplicate category, je complete tous les champs et quand je valide j'ai le message : mise en file d'attente, vous recevrez un email quand cela sera fait, mais rien ne se passe
  • Yedidia Klein
    ig., 2025(e)ko abu.ren 31(e)an, 01:31(e)tan
    Hervé, vérifier que cron marche sur votre serveur.
1 2
Please login to post comments