Get alerts for your area without using an ATOM or RSS feed.
This program will display each individual NWS Weather Forecast Office map of severe weather and details.
When I include it in my template pg I have a blank map; no default wfo. Settings are set.
Exactly what is the code to have the pg load (not from a link) with the map set to my default wfo of hsv?
Thanks.
When I include it in my template pg I have a blank map; no default wfo.
A “no map” condition would either be the map is not on the NWS page or an incorrect WFO ID is entered at $myWFOnws.
What location is displayed in the drop down menu? What do you have listed at $myWFOnws? hsv?
The script works for the WFO’s listed in the drop down menu or in the SWS-core.php file in the $locList array and ‘hsv’ is not listed.
Exactly what is the code to have the pg load (not from a link) with the map set to my default wfo of hsv?
To get the map marked with the default location with the current alert details, just use the web page file name. example SWSalerts.php
When you add ?WFO=abc to the end of the file name, it shows the map with instructions. example SWSalerts.php?WFO=lot
Hi Curly. I’m setting this up on my parents site, But i cant get the map to show. i did everything the way i did mine, and mine works good. i set the permission temporarily at 777, but the map still doesn’t show. Any Ideas? Thanks.