Hi
Have a look to my website page: www.jeanrobertmarion.com
The temperature in below 5 C and it is still indicating RAIN instead snow.
In settings.php the setting is showsnou = 5
Dont understand.
Hi
Have a look to my website page: www.jeanrobertmarion.com
The temperature in below 5 C and it is still indicating RAIN instead snow.
In settings.php the setting is showsnou = 5
Dont understand.
In order to show the snow on the dashboard, three things need to happen:
// Snow // ===== // $snowseasonin = '0'; // Snow for season you have entered under input daily weather, inches $snowmonthin = '0'; // Snow for month you have entered under input daily weather, inches $snowtodayin = '0'; // Snow for today you have entered under input daily weather, inches $snowseasoncm = '0.0'; // Snow for season you have entered under input daily weather, cm $snowmonthcm = '0'; // Snow for month you have entered under input daily weather, cm $snowtodaycm = '0.0'; // Snow for today you have entered under input daily weather, cm $snowyesterday = '0'; // Yesterdays' snow $snowheight = '126'; // Estimated height snow will fall at $snowheightnew = ' 0'; // Estimated height snow will fall at, new formula // $snownowin = '0'; // Current snow depth, inches. $snownowcm = '0'; // Current snow depth, cm. // $snowrain = '0.0'; // Rain measure by a heated rain gauge when temp below freezing times 10 to give estimated snow fall $snowdaysthismonth = '0'; // Days with snow this month $snowdaysthisyear = '0'; // Days with snow this year
Since $snowseasoncm = ‘0’, the snow panel is not displayed automatically.
This is the logic used in ajax-dashboard.php for that (in the Canada and World templates)
if ($showSnow and strip_units($temperature) <= $showSnowTemp and $snowseasoncm > 0.0) {
$displaySnow = true;
}
Make entries in your WD panel and then the snow display will work
Best regards,
Ken
OK you are abseloutly right i did what you told me to do and it works !
This time i printed your answer this way i will remember it.
Best regards and again congratulations for your great work.