Hide teachers name in student timetable

Started by Nagendra, February 03, 2019, 08:23:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nagendra

1) is it possible to hide teachers' names in students' html timetables?
2) I don't want to show teachers' names for only 1 or 2 activities while printing the student timetables. This is because we have a project activity where all the teachers will be engaged.

Volker Dirr

a) you can do that by css. see: https://www.timetabling.de/manual/FET-manual.en.html#id_55

b) i recommend to do it this way:
- load the generated fet file from the fet results folder
- modify that activities: just remove all teachers
- generate again. it will take just 1 second and you get the same results. if generating fails, you might need to remove a few teachers constraint (like min hours or max gaps constraints, since they might be broken because of the modification)

maerajt

#2
Volker, please guide on how to hide teachers timetable in ALL group/subgroup student timetables in html files.
I was able to hide groups/subgroupd in years timetables but for this task, am not seeing where to change on css file.

Volker Dirr

fet -> settings -> timetables -> HTML level: select at least level 3

generate the timetable again

open the css file an search:
tr.line2, div.line2 {
  font-size: smaller;
  color: gray;
}


replace it by
tr.line2, div.line2 {
  display:none;
}


save the css file and reopen it with a webbrowser.

you can do it similar with:
tr.teacher, div.teacher {
 
}


both variants (doing it with teacher or with line 0 will effect your request in the years timetable; but it will have different effects on the other timetables. if you need to modify them different: copy and past the whole results folder.

Nagendra

#4
Quote from: Volker Dirr on February 03, 2019, 08:43:52 AM

b) i recommend to do it this way:
- load the generated fet file from the fet results folder
- modify that activities: just remove all teachers
- generate again. it will take just 1 second and you get the same results. if generating fails, you might need to remove a few teachers constraint (like min hours or max gaps constraints, since they might be broken because of the modification)

When I do this way, obviously, the activities are removed from the faculty time table also. But I don't want that to happen.

Quote from: Volker Dirr on March 03, 2019, 08:26:09 AM
fet -> settings -> timetables -> HTML level: select at least level 3

generate the timetable again

open the css file an search:
tr.line2, div.line2 {
  font-size: smaller;
  color: gray;
}


replace it by
tr.line2, div.line2 {
  display:none;
}


save the css file and reopen it with a webbrowser.

If I do like above, then the faculty names in all the students' timetables are hidden. But they are still visible in faculty time table.

I am attaching the pdfs. I just don't want to display the faculty names (around 30 names for a single activity) for "project" activity in both students as well as faculty timetables.  I want to show the faculty names for all other activities. Kindly guide me.

Volker Dirr

hmm... i fear in that case you need to modify the html file.

Nagendra

Oh! Yeah! I can do that...just I need to replace a very long string (names of 30 faculty members). Thanks for the suggestion. It works...