Copy a Claroline course

From ClarolineDoc

Note : the procedure described here is a 'technical' procedure only possible for an admin user of the Claroline platform, 
capable of copying database tables. 

The process is slightly different if you've chosen 'multi' or 'single' DB mode at Claroline install.

To copy a course :

  • Search the concerned course row in the cl_cours table of the main Claroline database. In that row, you'll find the database name and the directory name used for this course.
Note : in single database mode, the content of the 'database' field is actually the prefix of its table names.
  • Copy the course directory and rename the copy with another name
  • Copy the course database and rename the copy with another name.
Note : in single database mode : apply the same process but either change the database name or change the prefix common  
to all your course tables.
  • Insert a new rank in the cl_cours table based on the rank of the original course. Change the code field content with a new code for the course, and adapt dbName and directory fields to fit the new names of these items.