2020-11-22 14:51:27 +01:00
|
|
|
# mod_timetable #
|
2020-09-03 21:25:42 +02:00
|
|
|
|
2020-11-22 15:17:02 +01:00
|
|
|
mod_timetable is a moodle plugin that provides timetables based on Untis export data.
|
|
|
|
|
2020-11-22 14:51:27 +01:00
|
|
|
The provides timetable views are:
|
|
|
|
- teacher
|
|
|
|
- student
|
|
|
|
- room
|
2020-09-03 21:25:42 +02:00
|
|
|
|
2020-11-22 14:51:27 +01:00
|
|
|
You can search for the timetables:
|
2020-11-22 15:11:40 +01:00
|
|
|
|
|
|
|

|
2020-11-22 14:51:27 +01:00
|
|
|
|
|
|
|
Multiple results can be displayed at same time
|
|
|
|
|
2020-11-22 15:12:57 +01:00
|
|
|

|
2020-11-22 14:51:27 +01:00
|
|
|
|
|
|
|
Substitutions and events are displayed too.
|
|
|
|
|
|
|
|
On clicking on lessons you will get detailed information about it.
|
|
|
|
|
|
|
|
Required Untis-exportfiles:
|
|
|
|
- class.txt
|
|
|
|
- lesson.txt
|
|
|
|
- teacher.txt
|
|
|
|
- time.txt
|
|
|
|
- room.txt
|
|
|
|
- GPU012.TXT
|
|
|
|
- GPU013.TXT
|
|
|
|
- GPU014.TXT
|
|
|
|
|
|
|
|
If file content is changing, the moodle-database will be automatically updated.
|
|
|
|
|
2020-11-22 15:13:15 +01:00
|
|
|
You can also specify whether there are no classes on saturday.
|
2020-11-22 14:51:27 +01:00
|
|
|
The minimum number of teaching hours displayed is also configurable.
|
2020-09-03 21:25:42 +02:00
|
|
|
|
2020-12-05 14:34:50 +01:00
|
|
|
## Update data via WebService ##
|
|
|
|
|
|
|
|
- create user
|
|
|
|
- Website-Administration - Users - Rechte ändern - Rollen verwalten
|
|
|
|
Add new role
|
|
|
|
Basisrolle: keine
|
|
|
|
Kurzbezeichnung: webservice-timetable
|
|
|
|
Kontexttype: User
|
|
|
|
add: update timetable data
|
|
|
|
webservice rest:use
|
|
|
|
webservice reatetoken
|
|
|
|
- Website-Administration - Users - timetable-user from step 1 - Einstellungen - rollen - Rollen relativ zu diesem Nutzerkonto zuweisen
|
|
|
|
- Website-Administration - Plugins - Webservice - Externe Webservices - Hinzufügen
|
|
|
|
Name: timetableupdate
|
|
|
|
Shortname: timetableupdate
|
|
|
|
x Aktiviert
|
|
|
|
x nur berechtigte Personen
|
|
|
|
Erweitert:
|
|
|
|
Notwendige Rechte: keine
|
|
|
|
Funktion hinzufügen: mod/timetable:update: update timetable data
|
|
|
|
|
|
|
|
Berechtigte Personen: add user from step 1
|
|
|
|
- Website-Administration - Plugins - Webservices - Token verwalten
|
|
|
|
username: user from step 1
|
|
|
|
service: timetableupdate
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-03 21:25:42 +02:00
|
|
|
## License ##
|
|
|
|
|
|
|
|
2020 Raphael Dannecker <raphael.dannecker@steinbeisschule-reutlingen.de>
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU General Public License as published by the Free Software
|
|
|
|
Foundation, either version 3 of the License, or (at your option) any later
|
|
|
|
version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along with
|
|
|
|
this program. If not, see <http://www.gnu.org/licenses/>.
|