Hi Steve, I noticed, whilst playing with the 'Weather Blue' template last week before basically giving up with it, that your alarm states had lights in place of the default 0/1. Wonder if you know how they do that?.
Only other way, I suppose, is to find a user and look at the source code I guess. Any ideas, and maybe you could make it a future enhancement anyway.
Regards, Brian
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Alarms on web page
Moderator: daj
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Alarms on web page
I'm not completely sure what you mean, or what the future enhancement might be, but the idea of the web tags which give a 0 or 1 is that you use them in a something like javascript or PHP. You can then display a different image, or different text, depending on the state. You can even do it simply with HTML, if you have suitably named images, e.g.
<img src="images/record<#newrecord>.png">
You then put two images into your images folder, one called record0.png which is an unlit light, and the other called record1.png, which is a lit light.
<img src="images/record<#newrecord>.png">
You then put two images into your images folder, one called record0.png which is an unlit light, and the other called record1.png, which is a lit light.
Steve
-
g0hdi
- Posts: 46
- Joined: Mon 30 Aug 2010 8:29 am
- Weather Station: 'Maplin' USB WH1081
- Operating System: XP SP2
- Location: New Forest, Hampshire England
- Contact:
Re: Alarms on web page
Ok Steve, thanks for that. I'll have a play in a minute. Been working on my home page, getting PWS and APRS up and running etc. Going to include alarms when I have it sussed out
Cheers! Brian. http://freespace.virgin.net/brian.walker3/wx/system.htm
Cheers! Brian. http://freespace.virgin.net/brian.walker3/wx/system.htm