Skip to main content

Directory of people

Project description


A simple dexterity-based directory with faceted search. Developed initially as a directory of academic staff. This is designed to be used along with a Diazo theme to present the results.


Install as any other Plone add-on, i.e. add to your buildout.cfg and then enable your add-on in your site. See official install documentation for more advice.


Before you start creating a directory, consider what fields you want your directory entries to have. For example, “department”, “favourite animal”, etc. Initially, directory entries have 2 fields, title and image. These can be edited or new fields added. To do this:

  • Go to the Plone control panel
  • Select “Dexterity content types”
  • Select “Directory Entry”
  • Click the “Fields” tab.

Add as many fields as you require, and/or alter the title/description of the existing fields.

If you would like “department” to be sortable with facets (i.e you can filter the entries with links down the right hand side), then you need to create a TextLine field that uses the SuggestionFieldWidget. To do this you need to alter the schema XML (click “Edit XML Field Model”) and change it to:

<field name="research_group" type="zope.schema.TextLine">
  <title>Research Group</title>
  <form:widget type="ibme.persondirectory.widget.SuggestionFieldWidget"/>

Once set up, you can add a Person directory anywhere to your site using “Add new”

Entry images

By default, there is an image field that can be used to, e.g. add portraits. The image will be scaled by You can alter the dimensions in the “Image Handling” section of the Plone control panel. Edit the “pdir-image” size.


By default, entries are sorted alphabetically. However you can change this by editing the directory object.



  • Jamie Lentin [lentinj]

Developed as part of the Oxford IBME website.

Further work

The resulting display is rather uninspiring admittedly, this is most useful in combination with your own Diazo theme. However, the initial view could be tarted up a bit.


1.0 (2013-08-01)

  • Ensure filters are sorted by title [lentinj]

0.1 (2013-07-03)

  • Initial release [lentinj]

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ibme.persondirectory, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size (33.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page