Directory

Part of the IP4CMS portal. ← All module guides

What it's for β€” The Directory is a member-facing list of important numbers, services, and organisations (emergency contacts, municipal departments, security, clinics, utilities, and so on). You build and maintain the list of entries here in the portal; published entries are then served to your member portal/app as a grouped contact directory. Each entry can carry a title, a heading, a description, an email, a primary number, and an additional number, and can be grouped under a category.

Where to find it β€” Main navigation: Directory (route /app/directory). The landing screen is the Directory items grid. Categories are managed separately under Settings β†’ Directory β†’ Directory categories (route /app/settings/directory-categories).

Before you start

Key tasks

Add a directory entry

  1. Go to Directory.
  2. Click Add item (top right). A dialog opens with the entry form.
  3. Complete the fields:
  1. Click Create. The entry is saved and the grid refreshes.
Note: entries created through this form are saved as PUBLISHED by default (the form defaults the status to Published). See Draft vs publish for how status controls member visibility.

Edit a directory entry

  1. On the Directory items grid, find the entry (use the search box β€” it searches title, heading, description, email and both numbers β€” or the Category filter).
  2. Click Edit on that row. The same form opens pre-filled.
  3. Change any fields and click Update.

Delete a directory entry

  1. Find the entry on the grid and click Delete.
  2. Confirm in the prompt. The entry is removed from the grid and from the member view. (Deletion is a soft delete β€” the record is retired but kept for audit history, so it stops appearing everywhere but isn't physically destroyed.)

Add and manage categories

Categories group entries in the member-facing directory.

  1. Go to Settings β†’ Directory β†’ Directory categories (/app/settings/directory-categories).
  2. Click Add category, enter a Name, and save. New categories are appended to the end of the order.
  3. To rename a category, click Edit, change the name, and save.
  4. To reorder categories, use the Up / Down controls. Category order determines the order groups appear in the member view.
  5. To remove a category, click Delete and confirm.
Managing categories requires the directory:manage:categories permission. The Categories path under the Directory module redirects to this Settings screen.

Order entries within the list

Entries have a manual order that drives both the admin grid (default sort) and the member view (order within each category).

  1. On the Directory items grid, use the Up / Down buttons on each row to move an entry one position.
  2. The grid re-sorts to order and reloads after each move.

How ordering works: the system keeps entries in a single ordered sequence and swaps an entry's position with its nearest neighbour when you move it. Gaps or duplicate order values are automatically re-sequenced before a move, so ordering stays consistent even after deletions.

Draft vs publish (the status workflow)

Every entry has a status: DRAFT, READY, or PUBLISHED. Only PUBLISHED entries are visible to members.

Search and filter the grid

See the member/public view

Members see the published directory through the member portal/app, not through this admin screen. The member view is grouped by category: categories appear in category order (then alphabetically), with each category's entries shown in their manual order. Entries with no category are grouped together as uncategorised. Only published entries appear, and member-facing readers never see staff-only metadata (status, publish details). To preview what members will see, publish your entries and check the member portal/app directory.

How the data connects

What you enter β†’ where it's stored

What it feeds

Status gate: the single lever between "what you maintain" and "what members see" is the entry's status. Draft/Ready entries live only in the admin grid; Published entries flow through to the member directory.

Permissions & access

Access is governed by the Directory licence module plus role permissions:

PermissionLets the operator…
directory:read:publishedOpen the module and see/list published entries only (no drafts).
directory:read:allSee and open all entries including drafts (full staff read).
directory:createAdd new entries.
directory:updateEdit entries, reorder (Up/Down), and publish.
directory:deleteDelete entries.
directory:publishPublish entries to members.
directory:manage:categoriesAdd, rename, reorder, and delete categories.

Notes:

Tips & gotchas