FET Forum

FET Support (English) => Get Help => Topic started by: llantones on April 21, 2011, 06:37:06 PM

Title: Hide element in css
Post by: llantones on April 21, 2011, 06:37:06 PM
Hello:
I like html with hide all activity tags. The manual says that I need modify css file: span.activitytag {
  display:none;
}

but it is a hard work. Is it posibly configured once in the program?
Thanks
Title: Re: Hide element in css
Post by: Volker Dirr on April 21, 2011, 10:55:10 PM
what do you mean with hard work? just edit one line.
but i think your request in already in my todo.
Title: Re: Hide element in css
Post by: llantones on April 22, 2011, 10:02:13 AM
Hard work because each time I generate a timetable I must change one line...

Quotebut i think your request in already in my todo.
I don't understand
Title: Re: Hide element in css
Post by: Volker Dirr on April 22, 2011, 10:23:34 AM
i mean i already started coding an option to turn it on/off in the fet-gui one year ago. (while i was coding on the print directly from fet feature, but because of some bugs i didn't finish that work.)
you can edit it yourself if you want it permanently:
/src/engine/timetableexport.cpp
line 1924
just modify
tos<<"span.activitytag {\n\n}\n\n";
to
tos<<"span.activitytag {\ndisplay:none;\n}\n\n";
Title: Re: Hide element in css
Post by: llantones on April 23, 2011, 07:51:17 PM
OK, this is that I need. Thank you very much.
Title: Re: Hide element in css
Post by: llantones on April 25, 2011, 08:00:34 PM
In FET 5.11.0 I can hide activity tag modifying css file, using nivel 2 of html. However, using FET 5.14.4, I can't.

I made that you said me, and it work perfect, using nivel 3.
Title: Re: Hide element in css
Post by: Volker Dirr on April 25, 2011, 08:31:49 PM
i am not 100% sure what you mean. (nivel=level?)

we didn't change settings of html level.
i took fet 5.14.4, fet 5.11.0 and also fet 5.9.4 (because it is still on my hard disk at the moment).
html levels are the same.
in all 3 variants the html levels are the same. activity tags are always only styleable by css at level 3 and higher.

so i guess you done a misstake. maybe you didn't saw that fet save html level in windows regestry. so if you switch to an other fet variant, then the level is still the same.
Title: Re: Hide element in css
Post by: llantones on April 26, 2011, 11:50:05 AM
Sorry!!!! I said nivel in spanish, but it is level. It's strange but in 5.11.0, generating html at nivel 2, I can hide activitytag modifying css file. However in 5.14.4 I can it. However it isn't important. I will use nivel 3 and problem solved.
Thanks.