FET Forum

FET Support (English) => Get Help => Topic started by: desk7 on June 25, 2019, 02:43:32 PM

Title: Regenerate html with different level without regenerating timetable
Post by: desk7 on June 25, 2019, 02:43:32 PM
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?
Title: Re: Regenerate html with different level without regenerating timetable
Post by: Liviu Lalescu on June 25, 2019, 03:00:06 PM
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.
Title: Re: Regenerate html with different level without regenerating timetable
Post by: desk7 on June 25, 2019, 03:23:44 PM
Thanks a lot for the fast reply!
About CSS, I'm reading the guide and from level 2 it works fine!
Title: Re: Regenerate html with different level without regenerating timetable
Post by: Nagendra on June 25, 2019, 03:26:16 PM
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
Title: Re: Regenerate html with different level without regenerating timetable
Post by: desk7 on June 25, 2019, 03:53:47 PM
Thanks. I mean that in every timetable subgroups appear.
Title: Re: Regenerate html with different level without regenerating timetable
Post by: Nagendra on June 25, 2019, 04:24:47 PM
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?
Title: Re: Regenerate html with different level without regenerating timetable
Post by: desk7 on June 25, 2019, 05:59:51 PM
Yes. Only to subgroups. I explained my needs here https://lalescu.ro/liviu/fet/forum/index.php?topic=4120.0
Title: Re: Regenerate html with different level without regenerating timetable
Post by: Liviu Lalescu on June 25, 2019, 06:19:10 PM
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.
Title: Re: Regenerate html with different level without regenerating timetable
Post by: Nagendra on June 25, 2019, 06:28:35 PM
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.