FET Forum

FET Support (English) => Get Help => Topic started by: Amelk on January 13, 2010, 02:32:44 PM

Title: Print of schedules
Post by: Amelk on January 13, 2010, 02:32:44 PM
Hello. I have a problem with a view appeared ready schedules. I use to print the file GroupsTimetableTimeVerticalHtml.
Is it possible to output expansion in the HTML do the same union activities instead of printing an identical course in each cell (using the tag COLSPAN). For example: example.jpg
Title: Re: Print of schedules
Post by: Volker Dirr on January 13, 2010, 05:41:21 PM
hmmm....
i don't use colspan in the GroupsTimetableTimeVerticalHtml. I use only rowspan in the GroupsTimetableTimeVerticalHtml.

i currently guess:
a) you don't use the GroupsTimetableTimeVerticalHtml
or
b) you have courses in your dataset. so each course get an own entry. so the "problem" is not colspan, the "problem" is that there are (small) tables in a cell. i can't do it without. so you "want" to have also small tables in the other cells, but i can't do that, because the number of column of that tables is always very different and it will also grow the table very much.
please use the subgroups timetitable if you want something like that.

i can check only if i can see also the heading of the table.
(or if i have the whole dataset.)
Title: Re: Print of schedules
Post by: Amelk on January 21, 2010, 10:06:44 AM
Hello! For print timetables I am using GroupsTimetableTimeVerticalHtml.
Is it possible to do so, to choose which groups to print?
For example: I am generate the schedule for the whole department, but I need to print only some groups of this department, but now in GroupsTimetableTimeVerticalHtml I will print all the teams.
Title: Re: Print of schedules
Post by: Volker Dirr on January 22, 2010, 07:03:44 PM
there are 2 possibilities:

1) possibility:
open your dataset.
set html level 6 in the fet html settings.
generate the timetable.
open the css file in the timetable result directory.
search at the near end of the file lines like this:

td.ss_50 { /* students set 8a */

}


that is for example my students set "8a".
if i want to hide it, i just need to add this line:

td.ss_50 { /* students set 8a */
  display:none;
}

save the css file and reload the html file. group is hidden now.

or:

2) possibility:
generate your timetable.
the timetable is saved in results directory. (or save yourself data+timetable!)
open that file (so if you regenerate it is very quick, because all activities have preferd/locked times)
delete the groups you don't want.
generate timetable (maybe you need to delete a few constraints like "max gaps", "min hours per day", because you deleted some activities by deleteing unneeded "groups".)
now you can print that table.