Author Topic: Problem does not update the data and grades  (Read 723 times)

0 Members and 1 Guest are viewing this topic.

Offline djroby19

  • Senior Member
  • **
  • Posts: 88
    • Pomeziameteo
Problem does not update the data and grades
« on: August 10, 2014, 07:38:15 PM »
Hello Ken I have a problem on the header where there are written grades, received data, etc. ... do not update I have to do a refresh with F5.
Possible solutions?  :sad:

www.pomeziameteo.it

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Problem does not update the data and grades
« Reply #1 on: August 10, 2014, 08:00:50 PM »
I see you are using wview to upload conditions for your website.

Unfortunately, wview does not have a 'realtime' update capability, so AJAX updates (the green flash seen on template pages with other software) are not available.  If you want to refresh the screen regularly, just change your (wx)index.php page from
Code: [Select]
include("top.php");
############################################################################
?>
</head>
to
Code: [Select]
include("top.php");
############################################################################
?>
<meta http-equiv="Refresh" content="300" />
</head>
and the page will reload every 300 seconds (5 minutes) to match the update frequency of the wview data.

Best regards,
Ken
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 djroby19

  • Senior Member
  • **
  • Posts: 88
    • Pomeziameteo
Re: Problem does not update the data and grades
« Reply #2 on: August 11, 2014, 04:15:18 AM »
Ok this feature lies in the summary that I have on wwwpomeziameteo.altervista.org
I am attaching the file, you could place a green flash in the received data and temperature when does the refresh would be a good solution with the countdown ..
If you can make this change could be included as a solution for those who use wview ...
Regards Roberto

Offline BigOkie

  • Forecaster
  • *****
  • Posts: 1367
  • Tulsa, OK
    • KOKTULSA13
Re: Problem does not update the data and grades
« Reply #3 on: August 11, 2014, 03:25:23 PM »
Ok this feature lies in the summary that I have on wwwpomeziameteo.altervista.org
I am attaching the file, you could place a green flash in the received data and temperature when does the refresh would be a good solution with the countdown ..
If you can make this change could be included as a solution for those who use wview ...
Regards Roberto

I think you're not understanding.  Ajax updates are what cause this; since wview doesn't provide the needed file or files, then it's not up to the template to fix the problem, it's wview.
Current setup: Davis Vantage Pro 2 Plus Wireless
Weather radios:
Reecom R-1650
Sangean CL-100
Uniden Home Patrol I

 

anything