提供接触内容类型
ftw.contacts的Python项目详细描述
简介
此软件包提供联系人内容类型。
目录
- 简介
- ftw.simplelayout integration
- ftw.geo integration
- 通过LDAP进行联系人同步
- 同步多个LDAP源中的联系人
- 1.9.0(2019-06-12)
- 1.8.0(2019-04-01)
- 1.7.2(2019-03-13)
- 1.7.1(2019-01-22)
- 1.7.0(2019-01-21)
- 1.6.1(2018-01-31)
- 1.6.0(2018-01-31)
- 1.5.3(2017-10-12)
- 1.5.2(2017-09-29)
- 1.5.1(2017-08-04)
- 1.5.0(2017-05-15)
- 1.4.8(2017-04-13)
- 1.4.7(2017-04-07)
- 1.4.6(2017-03-07)
- 1.4.5(2017-02-28)
- 1.4.4(2017-02-01)
- 1.4.3(2017-01-26)
- 1.4.2(2016-12-19)
- 1.4.1(2016-11-10)
- 1.4.0(2016-09-13)
- 1.3.0(2016-08-10)
- 1.2.0(2016-03-30)
- 1.1.0(2016-03-30)
- 1.0.0(2015-12-04)
安装
将包作为依赖项添加到您的设置中。py:
setup(...install_requires=['ftw.contacts',])
或者您的构建配置:
[instance]eggs +=ftw.contacts
然后重新运行构建。
对于plone 4.x,添加 eggs+=ftw.contacts['plone4'] 选项。
安装通用安装配置文件。
功能的快速概述
- 带有ajax搜索功能的contactdirectory
- 联系人
- 接触的KML表示法
- Con的vCard表示机智
- ftw.zipexport 如果安装了[zipexport]集成-额外的
- ftw.simplelayout 如果安装了[simplelayout]集成-额外的
- 联系人与LDAP的同步。
外观如何
ftw.contacts包提供了一个不错的联系人目录。
如何工作
联系人文件夹
这是一个灵巧的contenttype,用作列出联系人的容器。
安装
ftw.contacts
包后,您可以将
contactfolder
添加到您的plonesite中。
contactfolder
提供了所有可用联系人的详细概述。
默认情况下,将显示前20个联系人,您可以通过单击
加载更多信息
按钮位于列表末尾。
字母过滤器允许用户快速查找联系人。此外,还可以使用搜索字段找到联系人。
所有请求都是异步的,并且可以与大量联系人一起工作
联系方式
这是一个灵活的contenttype,可添加到
contactfolder
a
联系人
列出联系人的所有可用属性。
您还可以在地图上显示联系人的位置。
此外,您还可以下载联系人的KML表示或vCard表示。
联系人文件夹
这是一个灵巧的contenttype,用作列出联系人的容器。
安装 ftw.contacts 包后,您可以将 contactfolder 添加到您的plonesite中。
contactfolder 提供了所有可用联系人的详细概述。 默认情况下,将显示前20个联系人,您可以通过单击 加载更多信息 按钮位于列表末尾。
字母过滤器允许用户快速查找联系人。此外,还可以使用搜索字段找到联系人。
所有请求都是异步的,并且可以与大量联系人一起工作
联系方式
这是一个灵活的contenttype,可添加到 contactfolder
a 联系人 列出联系人的所有可用属性。
您还可以在地图上显示联系人的位置。
此外,您还可以下载联系人的KML表示或vCard表示。
ftw.simplelayout集成
这是ftw.simplelayout的一个插件。请确保你 在安装这个插件之前,已经在plone站点上安装了ftw.simplelayout。
在鸡蛋中加入额外的simplelayout:
[instance]eggs +=ftw.contacts [simplelayout]
运行buildout并安装ftw.contacts.simplelayout:default配置文件
您将得到一个新的contenttype memberblock ,它在contentpage中可用。
如果您不知道ftw.simplelayout,请阅读https://github.com/4teamwork/ftw.simplelayout,https://github.com/4teamwork/ftw.simplelayout
成员块
MemberBlock将A联系人连接到SimpleLayout页。 你只要定义一次联系人属性,就可以通过 成员块
ftw.geo集成
在鸡蛋中加入额外的地理元素:
[instance]eggs +=ftw.contacts [geo]
运行buildout并安装ftw.contacts.geo:default配置文件
在安装geo extra之后,您将在每个接触类型上看到一个映射层 如果您输入了有效地址。
如果您不知道llow">ftw.geo,请阅读https://github.com/4teamwork/ftw.geo" rel="nofollow">https://github.com/4teamwork/ftw.geo
通过LDAP进行联系人同步
同步通过 sync_contacts 入口点执行。配置 对于同步,如下所示:
- 要在其上执行sync的plone站点:参数 -p -仅当存在多个站点时才需要。
- contacts文件夹的路径:在注册表中 icontactssettings.contacts路径下配置
- ldap属性到联系人字段的映射,以及用作id的字段:注册一个 ildapattributemapper 实用程序。默认值: DefaultLdapAttributeMapper
- acl用户中的ldap插件id :在 icontactssettings.ldap插件id 下的注册表中配置
- 联系人的基本DN。参数 -b -默认为插件中配置的基本DN
- 筛选LDAP查询以仅获取联系人。参数 -f -默认为 (objectclass=*)
同步来自多个LDAP源的联系人
要同步多个源(acl用户中的多个插件),需要一个配置文件。 通过 -c参数传递文件路径。
每个源唯一需要的属性是ldap-plugin-id。``基本DN 将默认为插件的基本DN, 筛选器 将默认为 (objectclass=*)
为了避免id冲突,可以指定一个 用户id_前缀 。前缀将应用于此源的所有联系人。 如果现有站点希望添加第二个源,但已经有同步联系人,则仅为新源指定前缀。 这样,现有源的ID不会更改,并且仍然可以标识已同步的联系人。 这一点很重要,因为客户可能已经向联系人添加了其他信息,如图像。如果ID更改,同步将无法识别并删除它们!
[{"ldap_plugin_id":"intern","base_dn":"ou=Employees,ou=Users,dc=4teamwork,dc=ch","filter":"(objectClass=*)"},{"ldap_plugin_id":"extern","userid_prefix":"extern-","base_dn":"ou=Customers,ou=Users,dc=4teamwork,dc=ch","filter":"(objectClass=*)"}]
链接
- github:https://github.com/4teamwork/ftw.contacts" rel="nofollow">https://github.com/4teamwork/ftw.contacts
- 问题:https://github.com/4teamwork/ftw.contacts/issues" rel="nofollow">https://github.com/4teamwork/ftw.contacts/issues
- pypi: http://pypi.python.org/pypi/ftw.contacts
- 持续集成: https://jenkins.4teamwork.ch/search?q=ftw.联系人