Weather by You!
Templates and Projects support => Templates and Projects discussion => Topic started by: joew 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
-
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
-
Hi Jacques,
I hope you had a nice vacation 8) !
Thanks for the update to wt_data_inc.php :) .
Regards,
Joe
-
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