Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
[Implemented] Add the ability to remove "Current Conditions"
- The Dalek Hunter
- Posts: 258
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
[Implemented] Add the ability to remove "Current Conditions"
Is it possible to add a toggle in the Admin Interface to enable/disable "Current Conditions" on the main web page for those of us who don't want to manually add data when the conditions change - otherwise leaving a blank line.
- ConligWX
- Posts: 1657
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Add the ability to remove "Current Conditions"
The Dalek Hunter wrote: ↑Sun 28 Feb 2021 9:37 am Is it possible to add a toggle in the Admin Interface to enable/disable "Current Conditions" on the main web page for those of us who don't want to manually add data when the conditions change - otherwise leaving a blank line.
the answer is simply no not at the moment, as the current conditions name is built into the web page template code, not any config in the admin console.
index.htm rem out the line 88-90:
Code: Select all
<tr>
<td colspan="7"><strong>Current conditions</strong>: <span data-cmxdata="currcond"></span></td>
</tr>
Code: Select all
<!-- tr>
<td colspan="7"><strong>Current conditions</strong>: <span data-cmxdata="currcond"></span></td>
</tr -->
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- mcrossley
- Posts: 12886
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Add the ability to remove "Current Conditions"
Noted, I'll add to the enhancements list
- The Dalek Hunter
- Posts: 258
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
- ConligWX
- Posts: 1657
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: Add the ability to remove "Current Conditions"
Perhaps adding something like JennyLeez script to automate the Current Conditions would be a good feature to add in the future
viewtopic.php?f=14&t=12831
Still works
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- mcrossley
- Posts: 12886
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Add the ability to remove "Current Conditions"
A simple change for the next release, if the value for current conditions is blank, the element will be hidden, if not it will be shown.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Add the ability to remove "Current Conditions"
... but what if a 3rd party wants to provide the info ?
There will be no 'place holder' for it.
... although I suppose if they just have any char entered (eg. 1) the line would be displayed ?
There will be no 'place holder' for it.
... although I suppose if they just have any char entered (eg. 1) the line would be displayed ?
......................Imagine, what you will KNOW tomorrow !
- mcrossley
- Posts: 12886
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Add the ability to remove "Current Conditions"
Not sure what you mean, isn't the normal third party way of adding the text to create the currentconditions.txt file? If that file is present and has some text in it, it will be displayed on the web site.beteljuice wrote: ↑Mon 01 Mar 2021 9:58 pm ... but what if a 3rd party wants to provide the info ?
There will be no 'place holder' for it.
... although I suppose if they just have any char entered (eg. 1) the line would be displayed ?
Or are you talking about a third party app directly manipulating the index.htm HTML? In which case it can also remove the w3-hidden class itself.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Add the ability to remove "Current Conditions"
I was thinking "... directly manipulating the index.htm HTML" ie. using JS to repopulate the existing var.
Although if Neil thinks to make getPageData() a timed loop The var name would have to be changed anyway.
" In which case it can also remove the w3-hidden class itself." - come on, the beteljuice has enough problems keeping up with things
Although if Neil thinks to make getPageData() a timed loop The var name would have to be changed anyway.
" In which case it can also remove the w3-hidden class itself." - come on, the beteljuice has enough problems keeping up with things
......................Imagine, what you will KNOW tomorrow !
- mcrossley
- Posts: 12886
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Add the ability to remove "Current Conditions"
Stay tooned...beteljuice wrote: ↑Mon 01 Mar 2021 11:07 pm Although if Neil thinks to make getPageData() a timed loop