customisation of timetable printing

Started by Thomas Mani, July 06, 2015, 02:22:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Mani

Is is possible to customize the item for printing the timetable. Presently we have very many options. How can I suggest the item to be printed on the time table.
Example
I only need the class and subject in the table for teacher table
I only need the subject and teacher in the table for class table
Can I restrict the name with the first 4 letters of the name of the teacher

Thank you in anticipation.

Regards
Thomas Mani

Liviu Lalescu

Quote from: Thomas Mani on July 06, 2015, 02:22:32 AM
Is is possible to customize the item for printing the timetable. Presently we have very many options. How can I suggest the item to be printed on the time table.
Example
I only need the class and subject in the table for teacher table
I only need the subject and teacher in the table for class table

I think you can do that if you edit the CSS file in the results. Volker can answer better, but he will be back in about a week.

Quote
Can I restrict the name with the first 4 letters of the name of the teacher

No, this is not possible with official FET. Maybe with a custom version.

Quote

Thank you in anticipation.

Regards
Thomas Mani

Volker Dirr

We always use only 3 letters for teacher names. So I never added the whole teachers' name, just 3 letters.

Marta

Last year when I printed the timetables, never appeared the names of the techers in the teachers_days_horitzontal. This year I'm having problems because they appear when there are more than one techer in an activity, but not when it's only one. It makes the timetables very large because of the meetings, for example. How can I hide the name of the teachers, there?
Thanks

Volker Dirr

You need at least
FET -> Settings -> Timetable html level 3 (or higher)

Then search in the css file:
tr.line0 {
 
}


and modify it to:
tr.line0, div.line0 {
  display:none;
 
}


Marta

I've changed the settings to html level 3. I'm not sure if the css file is .xml or how to get it. In the .xml I can't find tr.line0

Volker Dirr

Not in the xml file.
You need to generate a timetable.
Then check the fet result folder.
So the folder with the html files.
There is the css file.

Marta

What I've found is : 

tr.line0 {
 
}tr.line0 {
 
}@charset "UTF-8";

Do I've to change both? Or just the first one?

Volker Dirr

i wonder a bit about that.

The "charset" stuff should be the first line.

And there should be only one "tr.line0" line.

hmm...

As far as there is nothing between the brackets { }, you can simply delete it.
Just add (or modify)

tr.line0, div.line0 {
  display:none;
}

Marta


Volker Dirr

You found that lines? Saved the css file? Opened the html file with a webbroswer? (You can't print that directly from FET, that will fail)
If it still doesn't work: send me your file and i will check it.

Marta

Yes! I've got it!   Thank you very much!!!