wiki:contacts

Contacts

Files required:

Elements:
centauro/views/elements/

Views:
centauro/views/

Controllers:
centauro/controllers/
centauro/controllers/

Models:
centauro/models/
centauro/models/

Description

Stores contacts, using "contacts" SQL table. Only id, firstname and user_id fields are required. The user can export his contacts to HTML format.

Notes

Table

CREATE TABLE contacts (

id serial PRIMARY KEY,
firstname varchar(40) NOT NULL, lastname varchar(40),
title varchar(6),
nickname varchar(30),
email1 varchar(100),
email2 varchar(100),
homephone varchar(150),
workphone varchar(150),
cellphone varchar(150),
website varchar(250),
skype varchar(150),
msn varchar(150),
address varchar(250),
organization varchar(100),
birthday date,
user_id int REFERENCES users(id) ON DELETE CASCADE );