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
Disable flag(s) in blocks
- Jachym
- 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
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
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

- Posts: 5
- Joined: Mon Oct 02, 2017 5:47 pm
- Station model: Davis Pro 2
- Software: WeatherCat
Re: Disable flag(s) in blocks
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
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
- Jachym
- 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
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
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
