Project

General

Profile

Feature #3882

Class import/export

Added by Bas Wijnen about 8 years ago. Updated almost 7 years ago.

Status:
Rejected - Abandoned
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
08/09/2011
Due date:
% Done:

40%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

I needed to import classes, so I wrote a patch for it. It's not beautiful, but it works.
It takes a csv file with one column of usernames (in other words, one username per line). The usernames must exist.
The patch also fixes two bugs in the usermanager: it wasn't able to search for strings, and it incorrectly used limit_from twice in a check. See patch for details.

It uses my csv.lib.php. In the meantime I found that there is also csv support in import.lib.php, but I didn't look into how that works yet. I suppose this (and my other patches) should use that instead of creating a new file.


Files

classimport.patch (5.99 KB) classimport.patch Bas Wijnen, 08/09/2011 00:38

History

#1

Updated by Jan Derriks about 8 years ago

Classes? How do you use those classes? Can I create sessions from classes or create groups from classes?
Our course teachers often create groups inside a course that represent classes. Al lot of duplicated work if classes are already available.

#2

Updated by Bas Wijnen about 8 years ago

Classes are invisible for users. The administrator can use them to mass-subscribe and mass-unsubscribe users to sessions or courses.

I will probably need the ability to create groups inside a course from classes as well. If I do, I'll write a patch if it isn't possible yet (I don't think it is).

Proper support for classes would mean that the class itself is registered instead of the users in it. That is such a big change in the code, for so little result, that I don't think it's worth doing for Chamilo 1. IMO it should be done in Chamilo 2, though, as it is the Right Way.

#3

Updated by Marko Kastelic about 8 years ago

Jan Derriks wrote:

Classes? How do you use those classes? Can I create sessions from classes or create groups from classes?

'class' is an organizational unit, a kind of close group of users, for eq. with the same syllabus. often is the basic organizational unit on the primary/secondary educational level.
So if you have the same group of people all the time, you can do enrolment to the selected course/s/ with one click, and with no everhead, and no missing members.
And : the same could be done with importing the list of users from csv,xls(x), ... but this feature does not exist any more (?or does not ever?).

Our course teachers often create groups inside a course that represent classes. Al lot of duplicated work if classes are already available.

agree, if you already have groups defined inside the course. On that level, there is no help. but the members of all the groups==classes must be enroled to the same course somehow. Is it enrolment to the course voluntarily /student does enrolment her/himself / or forced /teacher does it ? In the first case, classes are irrelevant.

#4

Updated by Yannick Warnier over 7 years ago

  • Target version set to 1.9.2
#5

Updated by Yannick Warnier about 7 years ago

  • Target version changed from 1.9.2 to 1.9.4
#6

Updated by Julio Montoya about 7 years ago

  • Status changed from New to Needs more info
#7

Updated by Yannick Warnier almost 7 years ago

  • Status changed from Needs more info to Rejected - Abandoned

Abandoning unless/until new information is provided. There's been some duplicate work on this. Sorry.

Also available in: Atom PDF