AnnualDataSummary: Difference between revisions

158 bytes added ,  20:23, 13 April 2018
no edit summary
No edit summary
No edit summary
Line 65: Line 65:
*Download the following file...[http://wiki.sandaysoft.com/files/AnnualDataSummary_12.zip AnnualDataSummary_12.zip], the zip contains 3 files:
*Download the following file...[http://wiki.sandaysoft.com/files/AnnualDataSummary_12.zip AnnualDataSummary_12.zip], the zip contains 3 files:
*#'''readDayfile.php''' - script for reading the dayfile.txt and for creating the table structure that displays selected statistics in a calendar style
*#'''readDayfile.php''' - script for reading the dayfile.txt and for creating the table structure that displays selected statistics in a calendar style
*#'''datasummary.php''' - example 'carrier' web page, this one uses the Saratoga template system, so also requires 2 more scripts (not provided) ''Settings.php'' and ''common.php''. You can use your own page instead of this file - see [[#Understanding_the_Basics|carrier page customisation]] below.
*#'''datasummary.php''' - example 'carrier' web page, this one uses the Saratoga template system, so also requires 2 more scripts (not provided) ''Settings.php'' and ''common.php''. You can use your own page instead of this file - you need two specific lines:
*## within <head> ... </head> you need "<link rel='stylesheet' href='datasummary.css'>"
*## within <body> ... </body> you need "&lt;div id='tableData'><?php include('readDayfile.php');?></div&gt;"
*#'''datasummary.css''' - styling sheet for the table structure that displays selected statistics in a calendar style
*#'''datasummary.css''' - styling sheet for the table structure that displays selected statistics in a calendar style
*Follow the instructions above for the PHP version.
*Follow the instructions above for the PHP version.
5,838

edits