Author Topic: Weather Blues v2 - system page  (Read 2966 times)

Offline joew

  • Jr. Member
  • **
  • Posts: 36
    • TigerDenWX
Weather Blues v2 - system page
« on: September 16, 2012, 01:03:58 AM »
Hi All,

While converting from WB v1 to v2 I noticed a few issues on the system page which I have highlighted and then tell what I did to solve these issues. I have attached a screen shot on what I was seeing on one of my web sites before changes.

1. Communication Error indicator wrong:
        In wt_data_inc.php Line 429:
            Before: $sensorcontactlost = '<#sensorcontactlost>';
               After: $SensorContactLost = '<#SensorContactLost>';

2. Battery mispelled as 'Batter':
        In text_standard_en.php on line 248:
            Before: $Tr_battery = "Batter status";
               After: $Tr_battery = "Battery status";

3. Eliminate TX Battery Status which I don't have so I don't need it's output overflowing the box:
         In system_txt.php on line 95:
             Before: <td style="padding-left: 70px"> <?php echo $battery. ' '.$txbattery; ?></td>
                After: <td style="padding-left: 70px"> <?php echo $battery;?></td>

4. In Other Records the indicators for Longest Wet Period and Longest Dry Period are showing up incorrectly:
        In wt_data_inc.php lines 498 & 499 have an extra space at the end of the web tags before the closing quotes:
             Before: $LongestDryPeriodRecordSet = '<#LongestDryPeriodRecordSet> ';
                         $LongestWetPeriodRecordSet = '<#LongestWetPeriodRecordSet> ';

                After: $LongestDryPeriodRecordSet = '<#LongestDryPeriodRecordSet>';
                         $LongestWetPeriodRecordSet = '<#LongestWetPeriodRecordSet>';

Regards,
Joe


Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues v2 - system page
« Reply #1 on: September 16, 2012, 06:03:21 PM »
Hi Joe,

Some webtags, like for batteries could be removed as not supported by all stations.

Thanks, to take some times to highlight errors/omissions in files.

Files has been sent to Template Manager Module for both Weather Sky and Weather Blues templates.
Updated files wt_data_inc.php and wt_data_intl are available in TMM

Both archives are updated in download section

Best regards,
Jacques
Please, consider supporting this site 

Offline joew

  • Jr. Member
  • **
  • Posts: 36
    • TigerDenWX
Re: Weather Blues v2 - system page
« Reply #2 on: September 17, 2012, 07:17:48 PM »
Hi Jacques,

I hope you had a nice vacation 8) !

Thanks for the update to wt_data_inc.php :) .

Regards,
Joe

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues v2 - system page
« Reply #3 on: September 17, 2012, 07:46:47 PM »
Hi Joe,

Thanks to take time to confirm that wt_data_inc.php has been correctly
updated by Template Manager Module!

I think that things are going (too) good because download counter is working great,
but no news from anyone!! ;D

Vacation were great, but like always.... too short!!  8) :D

Warn regards,
Jacques
Please, consider supporting this site