Disable flag(s) in blocks

Post Reply
WouterK
Newbie
Newbie
Posts: 5
Joined: Mon Oct 02, 2017 5:47 pm
Station model: Davis Pro 2
Software: WeatherCat

Disable flag(s) in blocks

Post by WouterK » Fri Jan 05, 2018 7:07 am

Hi,

Is it possible to disable the showing of a flag in the main setup so it will not show in blocks?

Thanks.

Regards,

Wouter

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Disable flag(s) in blocks

Post by Jachym » Fri Jan 05, 2018 9:28 am

Hi,
no, the main setup has no influence over this, the flags are used in regional blocks to show the country because some people use other than just their country. I think it is better than using name of the country because the translations have various lengths and it then is hard to optimize

It is possible by deleting the IMG tag directly in the block HTML

WouterK
Newbie
Newbie
Posts: 5
Joined: Mon Oct 02, 2017 5:47 pm
Station model: Davis Pro 2
Software: WeatherCat

Re: Disable flag(s) in blocks

Post by WouterK » Fri Jan 05, 2018 9:40 am

Hi,

As you mentioned I deleted the image tag but it would be nice if it was an option in the settings of the main or block setup.

Thanks
Regards,

Wouter

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Disable flag(s) in blocks

Post by Jachym » Fri Jan 05, 2018 9:49 am

Hi,
it cannot be done in the main settings because this is hard-coded in all these blocks. It would have to be done before those blocks were created. There is at least 50 blocks with flags and the img is hard-coded in them so you cannot turn it on or off in the Main settings, the main settings file is loaded at the beginning of each block and what happens after that is hard-coded in the blocks

Post Reply