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.

Category Duplicate 1.1

Moodle 3.10, 3.11
Released: Tuesday, August 17, 2021, 9:16 PM

moodle-local_catdup

Moodle plugin for duplicating category and all its sub categories and courses to a new empty category.

Introduction

This plugin can be usefull in cases that a category of courses has to be duplicated each year or in any other frequency. You simply cretae a new category for the new year, choose the source and target categories - and the mechanism simply copy all courses and categories from the source to the destination. The whole work is done asynchronously, So you are not waitng in front of the system - it happens in the background.

Install

  • cd to your [moodle]/local/ directory
  • git clone https://github.com/yedidiaklein/moodle-local_catdup.git catdup
  • Or Download from moodle plugin and unzip in your moodle local directory.
  • Go to your Moodle notification page and install it.
  • You can access the plugin at https://[moodle]/local/catdup/ and choose source and destination categories.

How to use

  • In "Site Administration" click on Courses tab.
  • Click on "Category Duplicate" in courses section.
  • Then in the screen that appear, choose source and destination categories
  • You can also choose the string in shortnames of old courses that will be changed in new course, i.e. all old courses that ends with _2019 will end with _2020 in new courses.

Enjoy and create issues in github for any bug or request...

--Yedidia

Version information

Version build number
2021042900
Version release name
1.1
Maturity
Release candidate
MD5 Sum
180628540ec13b4840a1a288ac935f5e
Supported software
Moodle 3.10, Moodle 3.11
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.