Regenerate html with different level without regenerating timetable

Started by desk7, June 25, 2019, 02:43:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

desk7

Hi,
I'd like to generate the SAME timetable with different css level but, after changing css level in settings, how to update the html exported file without generate a new timetable?
Thanks
---
Another question: given that I considered each student as a subgroup of his\her class, now I want to hide subgroups from timetable. In css level 7 I used the option display:none but in level 1 (useful for printing) I can't do that. How could I solve?

Liviu Lalescu

Quote from: desk7 on June 25, 2019, 02:43:32 PM
I'd like to generate the SAME timetable with different css level but, after changing css level in settings, how to update the html exported file without generate a new timetable?

1) Either get the random seed at start (X and Y) from the results and generate starting with the same random seed and an identical file (but this will repeat the generation, so it might take a while)

or

2) Open the file filename_data_and_timetable.fet from the results and generate on it. It should solve instantly. Only a minor thing: if you have activities without rooms in the initial timetable results, in the second timetable results FET might allocate these activities to rooms if it finds a suitable room (this might be in fact better).

Quote
Another question: given that I considered each student as a subgroup of his\her class, now I want to hide subgroups from timetable. In css level 7 I used the option display:none but in level 1 (useful for printing) I can't do that. How could I solve?

Volker or other users can help here. Unfortunately, I do not know.

desk7

Thanks a lot for the fast reply!
About CSS, I'm reading the guide and from level 2 it works fine!

Nagendra

Quote from: desk7 on June 25, 2019, 02:43:32 PM
In css level 7 I used the option display:none but in level 1 (useful for printing) I can't do that. How could I solve?

I doubt if I understand it correctly.
You can simply disable printing subgroup timetables. Or delete the rows corresponding to subgroups in index.html

desk7


Nagendra

Quote from: desk7 on June 25, 2019, 03:53:47 PM
Thanks. I mean that in every timetable subgroups appear.

I too added each student as subgroup. But, I didn't face the problem of subgroups getting appeared in every timetable. Check the example India-> Kurukshetra -> Institute of Technology.

By any chance are you adding activities to subgroups also?


Liviu Lalescu

I think Nagendra wants to suggest that an alternative to adding all the necessary subgroups in an activity is to add only the group which contains (all and only) these subgroups.

Nagendra

Yes Liviu, you got me correctly. If the student roll numbers (sub groups) are grouped together as per subjects aswellas classes, all activities can be added directly to the groups. This way, subgroups will not be printed in each timetable.