Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Yearly Data Summary PHP Page - HTML Errors
-
Hillbilly
- Posts: 112
- Joined: Tue 26 Jan 2010 8:54 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Vista Home Premium SP2
- Location: Mayenne, Pays De La Loire, France
- Contact:
Yearly Data Summary PHP Page - HTML Errors
Hi David, thanks for this great add-on. Very neat. I'm going to use it with highlighting to show the frost days at a glance, for the gardener in the family.
I notice that when the PHP version is rendered in Firefox it shows 730 errors.
line 172 column 24 - Warning: <td> proprietary attribute "datarow"
line 172 column 24 - Warning: <td> proprietary attribute "datacol"
Tag contains an attribute that is proprietary to IE or Netscape.
Is there any way round this to get my green tick, or is JS the answer?
I notice that when the PHP version is rendered in Firefox it shows 730 errors.
line 172 column 24 - Warning: <td> proprietary attribute "datarow"
line 172 column 24 - Warning: <td> proprietary attribute "datacol"
Tag contains an attribute that is proprietary to IE or Netscape.
Is there any way round this to get my green tick, or is JS the answer?
- 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 PHP Page - HTML Errors
Hi Helen,
I take it you have some kind of validator installed on FF? It certainly renders fine in FF so no one else need panic!
The warnings are because I am using custom attributes to tag each cell in the table -- when you hover over a value in the table Javascript will use the attributes to get the location and highlight the column and row header.
Does exactly the same in the JS version but it will validate perfectly as I insert the table into the html document after the page has fully loaded, and most validator do not care about what happens at that point
I can maybe look at re-working the php version a little
I take it you have some kind of validator installed on FF? It certainly renders fine in FF so no one else need panic!
The warnings are because I am using custom attributes to tag each cell in the table -- when you hover over a value in the table Javascript will use the attributes to get the location and highlight the column and row header.
Does exactly the same in the JS version but it will validate perfectly as I insert the table into the html document after the page has fully loaded, and most validator do not care about what happens at that point
I can maybe look at re-working the php version a little
- 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 PHP Page - HTML Errors
Helen
Don't say I am not good to you
...... a new readDayfile.php which fully validates and works as per the existing version but with a bit more sophisticated coding to remove the need for custom attributes in the HTML
(remember to check the variables at the top -- $dayfile, and the delimiters)
Don't say I am not good to you
(remember to check the variables at the top -- $dayfile, and the delimiters)
You do not have the required permissions to view the files attached to this post.
-
Hillbilly
- Posts: 112
- Joined: Tue 26 Jan 2010 8:54 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Vista Home Premium SP2
- Location: Mayenne, Pays De La Loire, France
- Contact:
Re: Yearly Data Summary PHP Page - HTML Errors
Good grief. I was just replying to say the page did indeed render fine, I just use the FF HTML validator plug in to validate my HTML, I was very grateful for what you had produced and whether you did any rework was of course up to you.
But you beat me to it, you're a genius - and so fast. Thanks so much for your work.
You are indeed very good to all of us.
But you beat me to it, you're a genius - and so fast. Thanks so much for your work.
-
Synewave
- Posts: 642
- Joined: Mon 25 Jan 2010 1:55 pm
- Weather Station: Watson W-8681
- Operating System: Raspian
- Location: Brighton, UK
- Contact:
Re: Yearly Data Summary PHP Page - HTML Errors
He is, all in 58 minutes!Hillbilly wrote:You are indeed very good to all of us.
- 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 PHP Page - HTML Errors
LOL. After I replied to Helen the problem was irritating me so I thought "I better just get it fixed" !! 
-
gemini06720
- 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 PHP Page - HTML Errors
Good thing you did ... otherwise you would have heard (read) from me...daj wrote:LOL. After I replied to Helen the problem was irritating me so I thought "I better just get it fixed" !!
I have not tried the latest release yet (will do that later on), but it better validate properly with W3C...
I have modified the (old) PHP code somewhat and have included the yearly data into the 'PHP/AJAX Website Template Set' as seen on this [link removed] page. Oh, full credit is also given to the designer...
Last edited by gemini06720 on Wed 22 May 2013 10:35 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 PHP Page - HTML Errors
Indeed it doesgemini06720 wrote:daj wrote:I have not tried the latest release yet (will do that later on), but it better validate properly with W3C...![]()
http://validator.w3.org/check?uri=http% ... ummary.php
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Yearly Data Summary PHP Page - HTML Errors
Phew. Potential international incident nicely avoided.daj wrote:Indeed it does![]()
Steve
-
Hillbilly
- Posts: 112
- Joined: Tue 26 Jan 2010 8:54 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Vista Home Premium SP2
- Location: Mayenne, Pays De La Loire, France
- Contact:
Re: Yearly Data Summary PHP Page - HTML Errors
But of course we all know David has banks of support staff wearing headsets, so a couple of them were probably free and did it for him while he was watching the footie.Synewave wrote:He is, all in 58 minutes!Hillbilly wrote:You are indeed very good to all of us.
No errors in FF now, very happy thanks David.
-
gemini06720
- 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 PHP Page - HTML Errors
And who knows, it might have eventually lead to a complete international meltdown...steve wrote:Phew. Potential international incident nicely avoided.
-
gemini06720
- 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 PHP Page - HTML Errors
David, please correct me if I have missed something here...daj wrote:Indeed it doesgemini06720 wrote:daj wrote:I have not tried the latest release yet (will do that later on), but it better validate properly with W3C...![]()
![]()
I looked at the time you released the 'readDayfile.zip' file ... the message indicates it was 14:06 on March 15th, 2011, that would be your time (and not my time as I am always 7 hours too early) ... were you not suppose to be at work at that time and earning some money to feed your starving family members...
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Yearly Data Summary PHP Page - HTML Errors
David probably does the same as I do and multi-tasks during the day, which is how I manage to do Cumulus support at all hours of the day, assuming I'm awake. It does mean (in my case, anyway) that my working day is effectively extended to compensate.gemini06720 wrote:were you not suppose to be at work at that time and earning some money to feed your starving family members...
Steve
-
gemini06720
- 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 PHP Page - HTML Errors
Steve, are you not 'working' from your little corner of paradise called home?steve wrote:...multi-tasks during the day, which is how I manage to do Cumulus support at all hours of the day, assuming I'm awake. It does mean (in my case, anyway) that my working day is effectively extended to compensate.
-
gemini06720
- 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 PHP Page - HTML Errors
David, an international incident has been avoided...
I have incorporated the modifications you made Tuesday to the 'readDayfile.php' script into my own customised script, added the required translation functions and now have a fully bilingual (english and french) [link removed] page for the 'PHP/AJAX Website Template Set' ...
I have incorporated the modifications you made Tuesday to the 'readDayfile.php' script into my own customised script, added the required translation functions and now have a fully bilingual (english and french) [link removed] page for the 'PHP/AJAX Website Template Set' ...
Last edited by gemini06720 on Wed 22 May 2013 10:36 pm, edited 1 time in total.