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
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
We always use only 3 letters for teacher names. So I never added the whole teachers' name, just 3 letters.
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
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;
}
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
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.
What I've found is :
tr.line0 {
}tr.line0 {
}@charset "UTF-8";
Do I've to change both? Or just the first one?
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;
}
It doesn't work...:(
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.
Yes! I've got it! Thank you very much!!!