hi,
I'm using school administration to buid a online learning system.
Currently I don't know how to create a new class in school administration.
and what's the relationship between classes and lessons?
Hope you can help me about these two issues.
Thank you.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Drupal_002.jpg | 13.17 KB | ymmatt |
| #11 | Drupal_003.jpg | 48.82 KB | ymmatt |
| #11 | Drupal_004.jpg | 12.67 KB | ymmatt |
| #3 | drupal_rol.png | 444.34 KB | oscar@catser.com.ar |
| #3 | school_admin.png | 456.25 KB | oscar@catser.com.ar |
Comments
Comment #1
oscar@catser.com.ar commentedI guess you already noticed, is very simple ...
1 - you have a list of students and some teachers.
2 - create your groups and you assign teachers
... /classes_and_lessons/class/add
3 - assign students to your group
.. classes_and_lessons/student_classes/noclass
class = Student Group
lessons = theme or lesson to study (eg Mathematics, Literature, Music, Carpentry).
a "class" can have several "lessons", one or more "Teachers"
excuse my bad English, I speak Spanish.
Comment #2
moioi commentedThank you. Your explaination is great.
But in the step 2, I got the problem. in the page "/classes_and_lessons/class/add", there's a notification said:"You should set teacher roles from settings page", which I've already set the teacher roles in settings page. I set administrator and staff as the teacher role.
What's wrong with this?
Comment #3
oscar@catser.com.ar commentedmmmm ... I'm not sure but I think is missing:
- in Drupal: a role in bringing together teachers.
- in School Administration: Select the role that the system will take as a teacher.
I show my evidence as an example:
-1 - go to: /admin/people/permissions/roles
roll to create a "teachers"
-2 - go to: /admin/config/school_administration
one click to select the roll that will be the "teachers".
my test:
I attached two screen shots you see.
these tests to made on version 7.x-1.0-beta3.
excuse my bad English, I speak Spanish.
Comment #4
tutumlum commentedIf no role is set as teacher role or if there is no user associated with the teacher role(s) you set you will see "You should set teacher roles from settings page" notification.
Better notification is needed at this point.
I started documentation with your posts here: http://drupal.org/node/1053250
Comment #5
Takaratiki commentedI'm glad someone is tackling school administration in Drupal, thank you. I have created a teacher role, assigned it full permissions in relation to this module, assigned a user to the group, and can not add a class. I am also seeing an error when I attempt to edit this user to add additional roles along the lines of:
Notice: Undefined property: stdClass::$identity in school_administration_user_update() (line 2479 of /var/www/sites/all/modules/school_administration/school_administration.module).
Notice: Trying to get property of non-object in school_administration_user_update() (line 2479 of /var/www/sites/all/modules/school_administration/school_administration.module).
Notice: Undefined offset: 1 in school_administration_user_update() (line 2480 of /var/www/sites/all/modules/school_administration/school_administration.module).
Notice: Undefined offset: 2 in school_administration_user_update() (line 2480 of /var/www/sites/all/modules/school_administration/school_administration.module).
This occurs whenever I attempt to add a user to the teacher role that is linked to the module's definition of the teacher.
Comment #6
tutumlum commentedThanks for your feedback.
For version 1.1 and earlier versions, only school administrators supposed to add class. In current dev version classes and lessons are node types. With correct permissions any role can add a class. Please update to dev version and try again.
Including version 1.1, all users will use school administration are supposed to be created via school administration module. I consider users who are not created via school administration starting with current dev version. Try dev version.
Comment #7
isamu commentedI tired to use TCL , but when I click the add new button on TCL pagee.
System shows that you should have at least one teacher.
But I had created a new role called teacher. and set it as a teacher rule on /admin/config/school_administration setting page.
I dont know why the above message is shown.
Comment #8
tutumlum commentedYou should assign "teacher role" to at least one user.
Comment #9
sameh11231 commentedThe problem is still I can't user this module, I did every thing you told me but still I have this message:
You should have at least one teacher
What can I do to use this module?
I can't find any documentation for this module or any useful help.
I think I have to find another one, OR PLEASE HELP ME.
thanks!
Comment #10
tutumlum commentedPlease read http://drupal.org/node/1053250 :
for more details:
1) You should create a teacher role from .../admin/people/permissions/roles
2) Assign one role or more as teacher role from .../admin/config/school_administration
3) Add new user, who will be one of your teacher, and give the teacher role to him from .../admin/people/create
Comment #11
ymmatt commentedI'm having the same issue, created teacher(s), students, and even a lesson but still can't create a class because of this error: "You should have at least one teacher"
Not sure why we're getting this error. I've attached screen shots to hopefully show that I have it set right, or to prove me wrong :)
FYI: checked server error log, no errors reported.
Turned on Devel module and didn't notice anything fishy
Searched for the string in the module and found it twice in classes_and_lessons.inc at lines (41 and 124) they both call the function school_administration_list_of_all_teachers which is found at line 1542 in school_administration.module
The function school_administration_list_of_all_teachers depends on a db_query which calls for info from this table: school_administration_staff_main
I found that in my DB the school_administration_staff_main table is empty, I'm not sure if it is supposed to be, but I looked through functions that use it and found nothing helpfull. It seems like this table is irrelevant for teachers and it shouldn't be pulled from.
Also, I can't find anywhere to enter the data for that table, what am I missing?
Hopefully this helps point us in the right direction.
edit:
this seems to pull the right people though it doesn't work in the function (yet)
Comment #12
ymmatt commentedOn further thought, It may be that the teachers should be added into that particular database somehow but you may already have a solution in mind?
Comment #13
tutumlum commentedOkay, I got the problem. The problem is: After an admin assign one or more role as teacher role from .../admin/config/school_administration, old users with the assigned role could not be used as teacher since they do not have staff record.
Temporary solution: After a role is assigned as "teacher role" add a new staff by using "register new staff" tab and set the staff as teacher.
I am not sure how to handle old users who has teacher role. Maybe, I can add all users who has teacher role as staff with a temporary name and surname just after teacher role is configured. I will try it later.
Comment #14
Eng.HamadaEid commentedHi all;
every time i tray to create a class i have the message You should have at least one teacher
can any one tell my how to use this module
Comment #15
Eng.HamadaEid commentedI'm having the same issue, created teacher(s), students, and even a lesson but still can't create a class because of this error: "You should have at least one teacher"
Comment #16
Eng.HamadaEid commentedcan you give us any documentation please
Comment #17
tutumlum commentedIf you are just adding teacher role to users from user page, it is not enough.
You must use school_administration registration system to register teachers and students.
Comment #18
pperin commentedI noticed in the database table classes_and_lessons_tcl the entry for teacher is set to numeric integer instead of character. Could that be the reason for not updating teacher's list?
Comment #19
tutumlum commentedActually not. It is the userid of the teacher. The reason is module's design. You should register the teacher from School Administration Registration form. If you use Drupal's native user registration form, the user will not have a staffid and required staff information, and he/she will not be registered as staff. So, even you add the role of teacher to the new staff, it will give the same error.
As a result, what to do: Register teachers and students by using School Administration registration form, not by using Drupal's native registration form.
I will try to overcome this issue in the next version of School Administration module
Comment #20
anjjriit commentedhii,
I have tried to access url
domain/admin/config/school_administration/register_new,
domain/admin/config/school_administration/register_new/student
domain/admin/config/school_administration/register_new/staff
why i can not to see School registration form ?
Comment #21
tutumlum commentedI think url should be:
domain/school_administration/register_new,
domain/school_administration/register_new/student
domain/school_administration/register_new/staff
Comment #22
anjjriit commentedYes ! you are correct
Thanks for your quick response.
You save my live
Comment #23
Najat Abrar commentedU star Thank u