collective.contact.core and collective.contact.widget : contact management for plone
TRANSCRIPT
![Page 1: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/1.jpg)
collective.contact.core and collective.contact.widget :
Contact Management for Plone
Cédric Messiant (Ecréall),PLOG [email protected]
https://github.com/cedricmessiant
![Page 2: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/2.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 2/15
self.context
➢ Common need for 2 Belgian institutions : mail handling system➢ 3 days sprint in Brussels in december 2012➢ People involved :
➢ Gauthier Bastien (IMIO)➢ Stephan Geulette (IMIO)➢ Vincent Fretin (Ecréall)➢ Cédric Messiant (Ecréall)➢ Frédéric Peters (Entrouvert)
![Page 3: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/3.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 3/15
Why a new product ?
➢ Dexterity➢ Create independent modules usable with other contact products : separate content types, vcard export and user interface➢ Our « vision » of the notion of contact
![Page 4: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/4.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 4/15
The general idea
➢ The organization chart of a company or institution changes little➢ The people in this organization change often➢ In a professional context, we want to send a mail to the company CEO, not to John Doe➢ We want to define the organization chart and attach people to it
![Page 5: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/5.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 5/15
Content types
➢ Directory➢ Organization➢ Position➢ Person➢ Held position
The organization chart
links between persons and organization chart
![Page 6: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/6.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 6/15
Content types : directory➢ Defines the available organization types, organizations levels and position types, contains persons and « root » organizations➢ Example : the military
➢ organization types : navy, army, air force➢ organizations levels : corps, division, company,
regiment, squad, …➢ position types : general, sergeant, colonel, captain,
admiral, ...
![Page 7: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/7.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 7/15
Content types : organization
Foobar's army
Corps B
Alpha company
Corps A
Beta company
LH squad G squad
TR division
corps corps
companydivision
squad squad
company
![Page 8: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/8.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 8/15
Content types : position
Foobar's army
Corps B
Alpha company
Corps A
Beta company
LH squad G squad
TR division
Army general
Alpha division's captain
LH squad's sergeant
G squad's sergeant
G squad's scout
![Page 9: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/9.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 9/15
Content types : person
![Page 10: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/10.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 10/15
Content types : held positionFoobar's army
Alpha company
Corps A
LH squadG squad
Army general
Alpha division's captain
LH squad's sergeant
G squad's sergeant
G squad's scout
From 5/25/1940 to 11/9/1945
From 6/1/1962 to 1/6/1967
![Page 11: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/11.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 11/15
Content types : held positionFoobar's army
Alpha company
Corps A
LH squadG squad
Army general
Alpha division's captain
LH squad's sergeant
G squad's sergeant
G squad's scout
From 6/1/2011to ?
From 8/3/2011to ?
From 11/11/2009To 11/12/2013
![Page 12: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/12.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 12/15
collective.contact.widget
➢ Anyone should be able to add a contact when he needs it➢ We don't want doubles in the directory➢ Encourage the user to search in the directory before to add a new contact➢ A widget to ease the use of contacts➢ Demo
![Page 13: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/13.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 13/15
More
➢ Contact information dexterity behavior : phone numbers, address, email, … (used for person, organization and position content types)➢ VCard export
BEGIN:VCARDVERSION:3.0ADR:6bis;bâtiment D;rue Jean Moulin;Colombey les deux églises;;52330;Fra nceBDAY:19011122EMAIL;TYPE=INTERNET:[email protected]:Charles De GaulleN:De Gaulle;Charles;;Général;ORG:Armée de terreROLE:Général de l'armée de terreTITLE:Général de l'armée de terreEND:VCARD
![Page 14: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/14.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 14/15
from __future__ import collective.contact.*
➢ Enhance views for most content types :➢ eea.facetednavigation for directory➢ Show full tree on organization➢ Show held position links on organization and position
➢ Use contacts from LDAP and PostgreSQL➢ VCard mass export
![Page 15: collective.contact.core and collective.contact.widget : Contact management for Plone](https://reader034.vdocuments.us/reader034/viewer/2022052700/55a0ff5f1a28ab1e2e8b46de/html5/thumbnails/15.jpg)
PLOG 2013 – collective.contact.* – Cédric Messiant 15/15
Thank you
Vincent Fretin : [email protected] Cédric Messiant : [email protected]
https://www.github.com/collective/collective.contact.core
https://www.github.com/collective/collective.contact.widget