unique (and one) activity for all school

Started by hila, August 07, 2010, 10:04:46 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

hila

I want to have a time slot with an activity for all students and teachers at school. I need this activity to appear in the timetables of all teachers and subgroups, and not to allow any other activity at this time slot.
hila

Liviu Lalescu

Either add a break on this slot (but you won't get the name of the activity in the generated timetables), or add an activity for each year and teacher (with activity tag X) and fix X to be at a certain moment.

hila

I didnt understand how to use the tag (I inserted them,but didnt know what to do next...) so what I did is to select all the teachers into that activity, then they wouldnt be able to do anything else that time (I hope it wont prevent the next timetable generate...)

Liviu Lalescu

QuoteI didnt understand how to use the tag (I inserted them,but didnt know what to do next...) so what I did is to select all the teachers into that activity, then they wouldnt be able to do anything else that time (I hope it wont prevent the next timetable generate...)

Yes, that is also a solution (and fix that activity with constraint activity preferred starting time).

Another possibility is to add an activity for each teacher and for each year, with a special activity tag, and add constraint activities preferred starting times, with that activity tag and only one allowed slot, the one you want.

I do not know which solution is best. Probably they are nearly the same in speed of generation.

Corfiot

Selecting all the teachers into that activity displays all the teachers in the timetable, still an issue. This can be fixed by CSS maybe but I had the same problem and I used a break. The problem is you get an ugly -X- in the middle of everything.

If that is your only break there is a solution.

You can search-replace in the HTML file and replace <td>X</td> (or similar) with <td>PARTY FOR EVERYONE</td> before releasing your timetable :-)

Too lazy to edit html? Edit only the .css file. Add:
td.break:before { content: "PARTY FOR EVERYONE"; }
td.break span.break { display:none; }

(this works for level 4 html generation)

Open with firefox or any CSS2-conforming browser. "-X-" is gone, replaced by your activity name in all HTML tables.
:)