Main Menu

Hide element in css

Started by llantones, April 21, 2011, 06:37:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

llantones

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

Volker Dirr

what do you mean with hard work? just edit one line.
but i think your request in already in my todo.

llantones

#2
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

Volker Dirr

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";

llantones

OK, this is that I need. Thank you very much.

llantones

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.

Volker Dirr

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.

llantones

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.