Hiding Warnings Block
- stewart45
- Observer

- Posts: 42
- Joined: Sun Aug 20, 2017 1:29 pm
- Location: Skelton-in-Cleveland,UK
- Station model: Ecowitt
- Software: pws-dashboard
- Contact:
Hiding Warnings Block
Not sure if I dreamt this (or maybe it was on another template possibly Leuven)but here goes, I have the warning UK block on my main page which for 99% of the time has nothing to report is it possible to hide the block so that it is only visible when there is a warning in force
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: Hiding Warnings Block
Hi,
must have been a dream
Now, seriously, no, the block will show "No warnings", when no warnings are detected.
must have been a dream
Now, seriously, no, the block will show "No warnings", when no warnings are detected.
- BobW55
- Forecaster

- Posts: 115
- Joined: Thu Sep 28, 2017 11:43 pm
- Location: Michigan USA
- Station model: Davis Pro2
- Software: Cumulus
- Contact:
Re: Hiding Warnings Block
Stewart.
I wanted to do the same thing. What I ended up doing is the following:
On the set up for the warnings block, it allows for text when there is NO warning. I left this blank.
When the block is displayed, it is slightly less tall, and just looks like a blank rectangle. When there is a warning in gets slightly taller in height and displays what ever text you placed in RED.
I wanted to do the same thing. What I ended up doing is the following:
On the set up for the warnings block, it allows for text when there is NO warning. I left this blank.
When the block is displayed, it is slightly less tall, and just looks like a blank rectangle. When there is a warning in gets slightly taller in height and displays what ever text you placed in RED.
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: Hiding Warnings Block
Hi guys,
here is my opinion - it is IMHO not a good idea to do this and I will therefore not implement this myself (feel free to do it yourself).
Here is why:
You know the website, you know that there is a warnings block and that if it was missing, there is no warning.
However consider this difference:
1. warnings block shows "No warnings" and is still visible (current state) - visitor knows there is no warning issued
2. warnings block hides when there is no warning (proposed state) - visitor has no idea if there is a warning or not because they have no idea such block would show if there was. They would simply think warnings is something you did not implement to your website.
here is my opinion - it is IMHO not a good idea to do this and I will therefore not implement this myself (feel free to do it yourself).
Here is why:
You know the website, you know that there is a warnings block and that if it was missing, there is no warning.
However consider this difference:
1. warnings block shows "No warnings" and is still visible (current state) - visitor knows there is no warning issued
2. warnings block hides when there is no warning (proposed state) - visitor has no idea if there is a warning or not because they have no idea such block would show if there was. They would simply think warnings is something you did not implement to your website.
- Fraggboy
- Forecaster

- Posts: 193
- Joined: Wed Sep 27, 2017 2:45 pm
- Location: Sunny California
- Station model: Bloomsky II + Storm
- Software: Bloomsky
- Contact:
Re: Hiding Warnings Block
I wish my warning block was green...
Don't select "More" on mine. Way too many warnings.
- dmgould
- Forecaster

- Posts: 173
- Joined: Sat Aug 26, 2017 2:43 am
- Location: Divide, Colorado, USA
- Station model: Davis Pro 2 Plus Wireless
- Software: Meteobridge
- Contact:
Re: Hiding Warnings Block
I think my users definitely want to know 'No Warnings', especially during thunderstorm and tornado seasons. If there is a change made to this block I propose that the setup gives a choice to set either 'No Warnings' or disappear. I agree with Jachym that knowing there is not a warning active is important.
Dave G
