FET Forum

FET Tools => TiTiTo - Tiny Timetabling Tool => Topic started by: Benahmed Abdelkrim on July 17, 2020, 12:05:28 PM

Title: Allow more than one room for an activity?
Post by: Benahmed Abdelkrim on July 17, 2020, 12:05:28 PM
Hello!
Is it possible to add an exceptional feature in TiTiTo, that allows some special activities to have two or more rooms at the same time?
Title: Re: Allow more than one room for an activity?
Post by: Volker Dirr on July 17, 2020, 12:22:16 PM
Yes and no.

No, because so far you can only set a single room per activity. I already wrote multiple rooms support on my "to do" list. But it is a very large task, since i also need to modify the database, update several forms/dialogs and check all export/import functions. I fear i need a few weeks of coding for that. I will try next holiday, since i currently started an other big feature improvement this holiday :-) I don't want to say more about that since i still need a few weeks to finish that work, but i hope most guys will love it.

Yes, because i already done it indirectly. For example i have got several activities with 2 (or more) teachers. In FET i added only a single room to that activities, because it is not important where the second room exactly is. It is only important that there is a second room; and there is always still a second room available, since one class next door (or second next door) is always not in the class room, since they are in the gym, music room, science lab, ...

So after I scheduled activities with 2 teachers but a single room in FET, I import it into TiTiTo and check the "students collision" checkbox.
Then
TiTiTo -> Activities -> Split Activities (Teachers)
I select (nearly) all activities with 2 teachers and split them. So each teacher get the same group at the same time. Only the first get the default/FET room. The other rooms are currently empty.
But that is also very easy to fix:
TiTiTo -> Activities -> Plan Activities 2
There i can choose very easy a free room (since only available rooms are visible).

So now the students are in two rooms.

If you don't have a second teacher and also want to have two rooms, you can simulate the same (by adding a pseudo teacher and split; or by adding that activities yourself).
Title: Re: Allow more than one room for an activity?
Post by: Volker Dirr on July 17, 2020, 12:30:49 PM
hmm.... it just flashed my mind.
maybe it is easier for me to implement that feature if i split multiple FET rooms the same way already while import. In that case i don't need to change the database, the dialogs/forms and also not the export. Only the import.
I could enable "students collision" automatically and place the same students in the activities. Rooms will split. I am just not sure what to do with the teachers, since i can't do "teachers collision". As long as there are as many teachers as rooms i could split them also, but how to handle it there are more or less teachers? Just keep it empty or fill the last room/activity with all left teachers?
But maybe this workaround is also not perfect, since maybe guys want several rooms in a single activity.
hmm... I will think some more.
I hope you can use the trick i wrote in my first answer.
Let me know your opinion.
Title: Re: Allow more than one room for an activity?
Post by: Benahmed Abdelkrim on July 17, 2020, 01:00:19 PM
Thanks for your answer.  Yes split activities is a good idea for this problem.  I will try to work it out later.  Why did not think of such a trick?  thank you dear Volker.