Introduction
My wife has maintained a mail merge document for printing off address label when we send Christmas cards to friends and family. I thought a web application which can export the data directly to CSV for use in gLabels would be better. Although I could have written the above application, my wife is impatient. So I used DaDaBik to get the job done very quickly. The database schema is a little odd since it more or less a direct conversion of the address list data source my wife create ;-)Create Address Book Database
First setup a new database to store the address book in.- Schema to follow...
Install DaDaBik
cd wget http://kent.dl.sourceforge.net/sourceforge/dadabik/dadabik_4.2.zip unzip dadabik_4.2.zip cd dadabik_4.2/program_files cp -Rv * /home/virtual/abook/public_html cd /home/virtual/abook/public_html chown -Rv www-data:www-data * chmod 777 uploads
Configure DaDaBIX
nano /include/config.phpwith a text editor and edit it (specify at least $dbms_type, $host, $db_name, $user, $pass, $site_url, $site_path)
$dbms_type = 'mysql'; $host = 'localhost'; $db_name = 'xxx'; $user = 'xxx'; $pass = 'xxx'; $site_url = 'http://abook.example.org/'; $site_path = '/'; $upload_directory ='/home/virtual/abook/public_html/uploads/'; $display_is_similar = 1; $date_format = 'latin'; $end_year = 2020;Goto the following URL... ...and click on the Click on this button to install DaDaBIK button.
Modify Header and Footers
Simply edit includes/header.php and includes/footer.php in order to create a look and feel for the HTML pages. References$Id: AddressBook,v 1.4 2008/03/29 16:02:34 martin Exp $
Wiki Index All Recent Edit Top

