Page 1 of 1
Disable flag(s) in blocks
Posted: Fri Jan 05, 2018 7:07 am
by WouterK
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
Re: Disable flag(s) in blocks
Posted: Fri Jan 05, 2018 9:28 am
by Jachym
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
Re: Disable flag(s) in blocks
Posted: Fri Jan 05, 2018 9:40 am
by WouterK
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
Re: Disable flag(s) in blocks
Posted: Fri Jan 05, 2018 9:49 am
by Jachym
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