Change the text on a drop down menu.
See also this post: viewtopic.php?f=52&t=94
Is it possible to change the text that is displayed on the drop down?
For me, Air Quality US needs to read "Air Quality Detroit"
and Air Quality World needs to read "Air Quality Port Huron"
I am not opposed to editing the Block.php, but I know Jachym has some names due to language translations, and I don't want to screw things up.
The more you play with this, the more you have to really read things, but I am getting there. I think I have done my home page layout 20 times already.
Change menu Drop down Wording
- BobW55
- Forecaster

- Posts: 115
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
Change menu Drop down Wording
http://melvinweather.com/template/indexDesktop.php
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
Davis Vantage Pro2 wired
Solar/UV sensors
Sky Cam
Ham radio K8pos
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Change menu Drop down Wording
The problem in this case is that I had two options:
1) let you specify the name - without the possibility to have it translated
2) set standardized names, which are in the lang files
I went for the latter
1) let you specify the name - without the possibility to have it translated
2) set standardized names, which are in the lang files
I went for the latter