Author Topic: WXUsAlerts page  (Read 628 times)

0 Members and 1 Guest are viewing this topic.

Offline nvwx

  • Member
  • *
  • Posts: 4
    • Elko Nevada Weather
WXUsAlerts page
« on: January 21, 2019, 01:31:00 PM »
I'm trying to update to the latest wxusalerts.php format, but I am not able to render the page at all.  It stops when it's looking for the Settings.php and common.php files.  I've downloaded the latest script zip from gwwilkins.org, but I don't see these 2 files. 

Does anyone have the complete zip file or can point me in the right direction on how to implement this code onto my pages?

Thanks,

Martin

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: WXUsAlerts page
« Reply #1 on: January 21, 2019, 02:07:14 PM »
The Settings.php and common.php files are part of the Saratoga template set.  If you’re not running with that template on your site then you’ll need to adapt Gerry’s script for standalone use.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline gwwilk

  • Southeast Lincoln Weather
  • Forecaster
  • *****
  • Posts: 2578
    • SouthEast Lincoln, NE Weather
Re: WXUsAlerts page
« Reply #2 on: January 21, 2019, 04:54:02 PM »
I've set up a standalone version here.  You can download and save the script here.  (Right-click on the source and then select 'Save As...) and choose a location where you will be able to find it, probably 'Downloads'.

There is a setting, '$standAlone=true', that can be set to 'false' for use in the Saratoga Template environment.
« Last Edit: January 21, 2019, 04:56:39 PM by gwwilk »
Regards, Jerry Wilkins
gwwilk@gmail.com

 

anything