< FothoFax V0.3 >

?10 week calendar
 MTWTFSS
Mar181920Images/candlebulb.gif21222324
Mar25262728293031
Apr01020304050607
Apr08091011121314
Apr15161718192021
Apr22232425262728
Apr29300102030405
May06070809101112
May13141516171819
May20212223242526

V0.3 Documentation
Note: This is an old version of the software.

V0.3 Features

  • Displays bulb icons to show whether an event has been planned on a day.
  • All features of the previous version:
    • A calendar with a small footprint displayed week by week.
    • Displays birthday reminder symbols with popup birthday information. (for an example, hover your mouse over a candle icon)
    • Displays remembrance symbols for people who have passed away.

Instructions on storing data

Two data files are needed. One is used to store people's birthdays and the other is used to store dates of events. These two files are simple text files:

This is an example of the structure of the file used to store birthdays:

 * Name: Edd
  * Birthday: 09/Jul/1983
 * Name: James
  * Birthday: 20/Jun/1992
 * Name: Test
  * Birthday: 25/Aug/1992
 * Name: Dad
  * Birthday: 17/Sep/1953
  * Deathday: 27/Jul/2001
 * Name: Mum
  * Birthday: 28/Apr/1954

This is an example of the structure of the file used to store events:

 * Date: 01/Dec
  * Event: Go for a walk on the riverbank.
 * Date: 03/Dec
  * Event: kill an hour with a wiskey sour.
 * Date: 08/Dec
  * Event: Feed the ducks with stale bread.
  * Event: Try to not think about polar bears
 * Date: 15/Dec
  * Event: Have a staring contest with ourselfs in the mirror.
  * Event: Snap our fingers as if suddenly we have a bright idea and see if we get any.

This data is static right? Yes but although these text files can be kept anywhere, I choose to keep them as a wiki page so I can edit them online and immediately see the updates in FothoFax.

Installation notes:

  1. Download and unzip fothoFax_0_3.zip into a directory accessible to your webserver via a URL. The following files will be extracted:
    1. fothoFax_0_2.css
    2. fothoFaxCode_0_3.php
    3. overlib.js
    4. EventsBook.txt
    5. AddressBook.txt
    6. A directory called "Images" which has several icons inside.
  2. Put the following code in a php file in the same directory where you want to show the calendar. It'll show 1 week back and 9 weeks forward.
    <?php
    include('fothoFaxCode_0_3.php');
    drawCalendar(1,9);
    ?>
    
  3. Put the following between the <head> and </head> tags of the php file where you want to show the calendar:
    <link rel="STYLESHEET" type="text/css" href="fothoFax_0_2.css">
    

  4. Open AddressBook.txt in a text editor and replace the dummy names with real ones keeping the same format. You may want to move or rename AddressBook.txt, in either case, change the variable called "$bdayFile" in FotherFaxCode.php to the new location.
  5. Optional: Change the variable called "$bdayFileEditURL" in FotherFaxCode.php to the location where the AddressBook.txt can be edited (e.g. a wikiwiki page) or set it as blank.
  6. Repeat what you did for AddressBook for EventsBook.