Page 1 of 1

myForecast block

Posted: Fri Jul 19, 2019 7:12 am
by Charl
Can anyone help with the myForecast block, I've set it up, added my forecast but the icons don't appear on the weather page. www.dullstroomweather.co.za/template/indexDesktop.php

Thanks.

Charl.

Re: myForecast block

Posted: Sun Nov 03, 2019 8:35 am
by Charl
Finally sorted this problem out, I was filling out the forecast using Microsoft Edge and not Google and that is why the icon was not appearing on the webpage.

Re: myForecast block

Posted: Fri Nov 06, 2020 6:33 pm
by ph2
That didn't change anything for me, no matter which browser I used. In my opinion, the problem is in the file myForecastBlock.php: Here an if-query is used to search for a file settings.php. If this is not found, then "else" is run through and the script is terminated with the command "die" and there is no second query for settings2.php. For me there isno settings.php, only settings2.php. I changed the first “if” to settings2.php, now it works. Jachym, I think that should be changed in the download files!