Page 1 of 1

CurrentCH & CurrentFR

Posted: Mon Oct 09, 2017 7:40 pm
by Lespius
Hello Jachym,

I have just installed (automaticly, works incredebly fine) the currentFR block. The icons are missing. Any idea to solve it?
Image

I also have installed the swiss curent conditions. Is there a way to modify the wording of the names of the stations, ie add altitude ? Do we have access to the list, so I could do it myself, or is it datas directly received from MeteoSuisse?
Image

Thanks for your feedback !

Alain

Re: CurrentCH & CurrentFR

Posted: Mon Oct 09, 2017 10:14 pm
by Jachym
Hi,
did you apply the bug fix package I released today?

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 3:36 pm
by iatros
Salut Alain

The list of all stations is here:
../hompage/blocks/correntCH/cache/currentCHCache.txt

There you can change the names of the stations (cf screenshot, I just added the Canton's letters for the first three).
I'm afraid you have to do the work for each of the data rows (Temp, Hum, Wind etc) - and never empty the cache!
Quite a bit of work....

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 3:38 pm
by Jachym
The cache file is created automatically and refreshed every hour, if you make any changes it will be overwritten. And if you disable this, your conditions will not be updated too. Im afraid this cannot be changed because the names are loaded together with the data.

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 6:34 pm
by Lespius
Thanks Iatros. Unfortunately I am not surprised with the answer of Jachym...

Jachym, regarding the currentFR, the update doesn't change anythin I am afraid... The icons must be missing somewhere, I guess.

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 7:02 pm
by Lespius
OK, solved. The icons folder was missing. It is strange... First I have downloaded the block via the automatic way: icons missing.
Then I have downloaded via the old way: the folder is here....

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 7:03 pm
by Jachym
Did you apply the bug fix package?

Re: CurrentCH & CurrentFR

Posted: Tue Oct 10, 2017 7:42 pm
by Lespius
Yes I did, but tonight after the first "automatic" download.