Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Yearly Data Summary--Adding new fields
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
Ok tried that but it did not change anything
Any other ideas please.
Any other ideas please.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Yearly Data Summary--Adding new fields
Jenny, have a look at this page ... and check your private mail.Any other ideas please.
Last edited by gemini06720 on Tue 23 Aug 2011 12:54 pm, edited 1 time in total.
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
Look there it is beteljuice, 2 data label linesgemini06720 wrote:Jenny, have a look at this page ... and check your private mail.Any other ideas please.
Now just how did Ray do that
Last edited by JennyLeez on Wed 20 Jul 2011 1:28 pm, edited 1 time in total.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yearly Data Summary--Adding new fields
I've just built a page from your posted file modified, and once I fixed what seems to be a php 4 => 5 glitch (and pasted in CSS, and linked to ridulously big jquery) - er ..JennyLeez wrote:Ok tried that but it did not change anything ...
It works ! - beteljuice o/p
Edit: your response above - to me or gemini ?
......................Imagine, what you will KNOW tomorrow !
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
Thanks you Beteljuice. Thats it.beteljuice wrote:I've just built a page from your posted file modified, and once I fixed what seems to be a php 4 => 5 glitch (and pasted in CSS, and linked to ridulously big jquery) - er ..JennyLeez wrote:Ok tried that but it did not change anything ...
It works ! - beteljuice o/p
Edit: your response above - to me or gemini ?
May I please have the readDayfile.php that you modified.
Much appreciated.
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Yearly Data Summary--Adding new fields
Ah, but that is my secret...JennyLeez wrote:...Look there it is beteljuice, 2 data label lines
Now just how did Ray do that
As suggested by the beteljuice, I inserted a '<br />' somewhere in the code... ...plus some other stuff...
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yearly Data Summary--Adding new fields
Do the code as outlined above ..
I forgot and put a remark ( // NEW Line ... ) in the middle of an array !!!!!
So if you cut 'n 'pasted it - that's why it didn't work
Code corrected now.
If you still have problems I'll zip it
I forgot and put a remark ( // NEW Line ... ) in the middle of an array !!!!!
So if you cut 'n 'pasted it - that's why it didn't work
Code corrected now.
If you still have problems I'll zip it
Last edited by beteljuice on Thu 21 Jul 2011 11:07 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
Yay got it, thank you very muchbeteljuice wrote:Do the code as outlined above ..
I forgot and put a remark ( // NEW Line ... ) in the middle of an array !!!!!
So if you cut 'n 'pasted it - that's why it didn't work
If you still have problems I'll zip it
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
Ok here is what I ended up with:
http://wairoa.net/weather/datasummary_test.php
I sorta see what you are doing but I dont understand enough to fix it.
I copied it as you posted and then added the fields.
It has dropped it down great but from there seems to have a mind of its own.
I will attach the readDayfile also.
When you have time would you please see where I have gone wrong.
Many thanks
Jenny
http://wairoa.net/weather/datasummary_test.php
I sorta see what you are doing but I dont understand enough to fix it.
I copied it as you posted and then added the fields.
It has dropped it down great but from there seems to have a mind of its own.
I will attach the readDayfile also.
When you have time would you please see where I have gone wrong.
Many thanks
Jenny
You do not have the required permissions to view the files attached to this post.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yearly Data Summary--Adding new fields
It's doing what you've asked it to
You haven't asked for a new line until after 'hourly rainfall' - but that's too many buttons to fit your container width so it wrapped.
Then you asked for another new line after the next button (rain rate) - probably a cut 'n' paste thing.
$label_items = array(
array('maxtemp','Max Temp','Maximum Temperature',true, false),
array('mintemp','Min Temp','Minimum Temperature',true, false),
array('avgtemp','Avg Temp','Average Temperature',true, false),
array('minmaxt','Min/Max Temp','Min / Max Temperature',true, false),
array('heatdex','Heat Index','High Heat Index',true, false),
array('highapp','High App Temp','High Apparent Temperature',true, false),
array('lowapp','Low App Temp','Low Apparent Temperature',true, false),
array('highdew','High Dew Point','High Dew Point',true, false),
array('lowdew','Low Dew Point ','Low Dew Point',true, false),
array('rainfall','Daily Rainfall','Daily Rainfall',true, false),
array('rainhour','Hourly Rainfall','Highest Hourly Rainfall (mm/hr)',true, true),
array('rainrate','Rain Rate','Daily Rain Rate (mm/hr)',true, true),
array('maxpres','Max Pressure','Maximum Sea Level Pressure',true, false),
array('minpres','Min Pressure','Minimum Sea Level Pressure',true, false),
array('windchill','Wind Chill','Lowest Wind Chill',true, false),
array('windgust','Wind Gust','Highest Wind Gust',true, false),
array('windspeed','Wind Speed','Highest Average Wind Speed',true, false),
array('windrun','Wind Run','Daily Wind Run',true, false),
array('maxhum','Max Humidity','Maximum Humodity',true, false),
array('minhum','Min Humidity','Minimum Humidity',true, false) );
You may wish to rearrange the order of the array (buttons) to try and keep groups together:
Using the same order Try:
$label_items = array(
array('maxtemp','Max Temp','Maximum Temperature',true, false),
array('mintemp','Min Temp','Minimum Temperature',true, false),
array('avgtemp','Avg Temp','Average Temperature',true, false),
array('minmaxt','Min/Max Temp','Min / Max Temperature',true, false),
array('heatdex','Heat Index','High Heat Index',true, false),
array('highapp','High App Temp','High Apparent Temperature',true, false),
array('lowapp','Low App Temp','Low Apparent Temperature',true, false),
array('highdew','High Dew Point','High Dew Point',true, false),
array('lowdew','Low Dew Point ','Low Dew Point',true, true),
array('rainfall','Daily Rainfall','Daily Rainfall',true, false),
array('rainhour','Hourly Rainfall','Highest Hourly Rainfall (mm/hr)',true, false),
array('rainrate','Rain Rate','Daily Rain Rate (mm/hr)',true, false),
array('maxpres','Max Pressure','Maximum Sea Level Pressure',true, false),
array('minpres','Min Pressure','Minimum Sea Level Pressure',true, true),
array('windchill','Wind Chill','Lowest Wind Chill',true, false),
array('windgust','Wind Gust','Highest Wind Gust',true, false),
array('windspeed','Wind Speed','Highest Average Wind Speed',true, false),
array('windrun','Wind Run','Daily Wind Run',true, false),
array('maxhum','Max Humidity','Maximum Humidity',true, false),
array('minhum','Min Humidity','Minimum Humidity',true, false) );
Humidity may look a bit out of place, but you'll get the idea
You haven't asked for a new line until after 'hourly rainfall' - but that's too many buttons to fit your container width so it wrapped.
Then you asked for another new line after the next button (rain rate) - probably a cut 'n' paste thing.
$label_items = array(
array('maxtemp','Max Temp','Maximum Temperature',true, false),
array('mintemp','Min Temp','Minimum Temperature',true, false),
array('avgtemp','Avg Temp','Average Temperature',true, false),
array('minmaxt','Min/Max Temp','Min / Max Temperature',true, false),
array('heatdex','Heat Index','High Heat Index',true, false),
array('highapp','High App Temp','High Apparent Temperature',true, false),
array('lowapp','Low App Temp','Low Apparent Temperature',true, false),
array('highdew','High Dew Point','High Dew Point',true, false),
array('lowdew','Low Dew Point ','Low Dew Point',true, false),
array('rainfall','Daily Rainfall','Daily Rainfall',true, false),
array('rainhour','Hourly Rainfall','Highest Hourly Rainfall (mm/hr)',true, true),
array('rainrate','Rain Rate','Daily Rain Rate (mm/hr)',true, true),
array('maxpres','Max Pressure','Maximum Sea Level Pressure',true, false),
array('minpres','Min Pressure','Minimum Sea Level Pressure',true, false),
array('windchill','Wind Chill','Lowest Wind Chill',true, false),
array('windgust','Wind Gust','Highest Wind Gust',true, false),
array('windspeed','Wind Speed','Highest Average Wind Speed',true, false),
array('windrun','Wind Run','Daily Wind Run',true, false),
array('maxhum','Max Humidity','Maximum Humodity',true, false),
array('minhum','Min Humidity','Minimum Humidity',true, false) );
You may wish to rearrange the order of the array (buttons) to try and keep groups together:
Using the same order Try:
$label_items = array(
array('maxtemp','Max Temp','Maximum Temperature',true, false),
array('mintemp','Min Temp','Minimum Temperature',true, false),
array('avgtemp','Avg Temp','Average Temperature',true, false),
array('minmaxt','Min/Max Temp','Min / Max Temperature',true, false),
array('heatdex','Heat Index','High Heat Index',true, false),
array('highapp','High App Temp','High Apparent Temperature',true, false),
array('lowapp','Low App Temp','Low Apparent Temperature',true, false),
array('highdew','High Dew Point','High Dew Point',true, false),
array('lowdew','Low Dew Point ','Low Dew Point',true, true),
array('rainfall','Daily Rainfall','Daily Rainfall',true, false),
array('rainhour','Hourly Rainfall','Highest Hourly Rainfall (mm/hr)',true, false),
array('rainrate','Rain Rate','Daily Rain Rate (mm/hr)',true, false),
array('maxpres','Max Pressure','Maximum Sea Level Pressure',true, false),
array('minpres','Min Pressure','Minimum Sea Level Pressure',true, true),
array('windchill','Wind Chill','Lowest Wind Chill',true, false),
array('windgust','Wind Gust','Highest Wind Gust',true, false),
array('windspeed','Wind Speed','Highest Average Wind Speed',true, false),
array('windrun','Wind Run','Daily Wind Run',true, false),
array('maxhum','Max Humidity','Maximum Humidity',true, false),
array('minhum','Min Humidity','Minimum Humidity',true, false) );
Humidity may look a bit out of place, but you'll get the idea
Last edited by beteljuice on Mon 01 Aug 2011 11:25 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
- JennyLeez
- Posts: 314
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Yearly Data Summary--Adding new fields
ahhh I get it
Its the true true bit huh
Brilliant it looks great and with new entries to the day file I shall be able to juggle that second row.
Thank you so very much it looks great now
http://wairoa.net/weather/datasummary.php
My master piece written by David, Beteljuice and Gemini
Its the true true bit huh
Brilliant it looks great and with new entries to the day file I shall be able to juggle that second row.
Thank you so very much it looks great now
http://wairoa.net/weather/datasummary.php
My master piece written by David, Beteljuice and Gemini
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yearly Data Summary--Adding new fields
No problem at all, at all, to be sure, to be sureahhh I get it
Its the true true bit huh
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 38
- Joined: Fri 15 Jul 2011 5:15 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows Vista
- Location: Ohio
Re: Yearly Data Summary--Adding new fields
I see some great summery pages and was wondering if I could use the templates from gemini06720, beteljuice, JennyLeez weather web sites for my personal web site ( sixmileturn-weather.com )
I am by no means an expert, not even average when it comes to building /modifying my site, but am trying to learn. With that said, if by chance any or all of you allow me to use this information, I will most certainly have questions.
Thanks
Mike
I am by no means an expert, not even average when it comes to building /modifying my site, but am trying to learn. With that said, if by chance any or all of you allow me to use this information, I will most certainly have questions.
Thanks
Mike
-
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Yearly Data Summary--Adding new fields
Mike, my version of the 'Annual Weather Data Summary' page, although based on David's PHP code, is now a 'highly modified' version of the original PHP script - I did not and will not adapted (update) David's JavaScript, not only because I am not as familiar with JavaScript as I am with PHP, but because I do not believe that JavaScript (code running on a user's computer) should be used for a script that should be run directly from the host server through the use of a PHP scripts...
With that said/written, I would be interested in helping you getting the data summary page installed and running ... as long as your host server makes PHP available - I could not check as you do not provide a link to your web pages in your profile...
With that said/written, I would be interested in helping you getting the data summary page installed and running ... as long as your host server makes PHP available - I could not check as you do not provide a link to your web pages in your profile...
Last edited by gemini06720 on Sat 08 Oct 2011 1:09 pm, edited 1 time in total.
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: Yearly Data Summary--Adding new fields
Bear in mind that the JS version was written as not everyone has access to PHP. Just saying. LOLgemini06720 wrote:.... because I do not believe that JavaScript (code running on a user's computer) should be used for a script that should be run directly from the host server through the use of a PHP scripts...
As Ray has said, the PHP version is the best route if you have access to it via your webhost.