Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed Jun 19, 2013 12:25 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Sun Jan 01, 2012 4:49 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Because you have applied a fix to the PHP script to account for displaying the previous years data on the 1st January but not the javascript.
Code:
if (urlParams['year']) {
  drawYear=urlParams['year'];
} else {
  var d = new Date();
  var curr_date = d.getDate();
  drawYear=d.getFullYear();
}

becomes
Code:
if (urlParams['year']) {
  drawYear=urlParams['year'];
} else {
  var d = new Date();
  var curr_date = d.getDate();
  d.setDate(d.getDate() - 1);
  drawYear=d.getFullYear();
}

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Tue Jan 03, 2012 9:05 pm 
Offline

Joined: Mon Mar 23, 2009 2:50 pm
Posts: 72
Location: Skegness
Weather Station: WH3080
Operating System: Win XP SP3
Might be having a blonde moment but where can i get this script from ? cheers

_________________
Image
Image
Skegness PWS Data
Skegness Wunderground


Top
 Profile  
 
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Tue Jan 03, 2012 9:58 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
In the wiki

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Wed Jan 04, 2012 3:02 am 
Offline
User avatar

Joined: Mon Apr 05, 2010 10:40 pm
Posts: 218
Location: Cabimas, Zulia, Venezuela
Weather Station: WX-200 / WS-2310
Operating System: Win XP Professional
mcrossley wrote:
In the wiki


http://wiki.sandaysoft.com/a/AnnualDataSummary

I hope the wiki have the last and stable version. :shock:

_________________
Marco-Luis
YV1HX
Cabimas, Zulia, Venezuela
http://www.twitter.com/meteoven


Top
 Profile  
 
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Wed Jan 04, 2012 9:50 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
yv1hx wrote:
I hope the wiki have the last and stable version. :shock:

I doubt it, it says it is version 1.1 from March 2011. As David is taking a bit of a break from the forum any volunteers for updating it with some of the 'patches' - but please do not add loads of value colouring, leave that as an exercise for the user. ;)

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Yearly Data Summary--Adding new fields
PostPosted: Sun Jan 22, 2012 12:18 pm 
Offline

Joined: Mon Mar 23, 2009 2:50 pm
Posts: 72
Location: Skegness
Weather Station: WH3080
Operating System: Win XP SP3
Cheers mcrossley and yv1hx i did look but looked under 3rd Party Apps lol silly me :)

Anyway its working ok just one thing how do you get the buttons to show on two lines using the javascript version ?, i had a look but most are doing it on the php one.

_________________
Image
Image
Skegness PWS Data
Skegness Wunderground


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 66 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: jojo82 and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group