Directory listings are a great way to create a searchable list of people, places and/or things which allow your site's users to locate relevant information about individuals or items.
Directory listing entries can be created and edited by users with the Editor, Moderator, or Administrator role; however, only users with the Moderator or Administrator role can delete entries and publish entries to your Stacks site.
Considerations
Before creating new directory listings consider how your users/patrons will be interacting with this information. Site labels can be updated to ensure field names and other terminology matches what your users/patrons expect to see. Directory listings can also be filtered/grouped using the Type and Department filter vocabulary fields, consider creating or editing these list values before creating new listings.
Filter vocabularies and site labels are discussed in more detail in the Considerations for Creating Content article, but it should be noted that administrators can quickly access the filter vocabularies and site labels specific to just the directory listing, from the tabs at the top of the directory listing dashboard.
Creating a Directory Listing
- From the Dashboard, click Directory Listings
- Click +Add Directory Listing, complete the fields in the next window
- Click Upload/Select File, to upload or select a previously uploaded image for the listing
- For optimal user experience see the Recommended Image Sizes article for guidance when uploading/selecting images
- Name
- Last name/Secondary name
- Job Title
- Company
- Type - select the most appropriate filter vocabulary value
- Department - select the most appropriate filter vocabulary value
- Location
- Phone number
- Fax
- URL - if applicable, enter the internal Stacks page or external URL to a webpage associated with the entry
-
Social Media - include links to various social media accounts associated with the entry
- Social Network - select the social media platform
- Profile Link - enter the link to the associated social media platform
- Click Add another item, to add additional social media links as needed
- Click Remove to remove any social media links
- Description
- Hours of Operation - this can be used to indicate working hours for the entry
- Review and configure the Publishing workflow as needed
- Click Save
- Click Upload/Select File, to upload or select a previously uploaded image for the listing
Settings for Directory Listings
Additional settings can also be configured here to control the how your users/patrons will see directory listing information when viewing the Listing View or Detail View for your entries.
- Listing View - this is the initial list of directory listing entries users/patrons will see when they navigate to the /directory-listing page
- Details View - this is the view users/patrons will see when they click on any one listing entry
- From the Dashboard, click the Directory Listings tile
- Click the Settings tab at the top of the screen
- Click the Listing View sub-tab
-
Enable Listing View, when checked this enables access to the listing view for the content type
- If disabled, when a user attempts to load the URL for this content, they will be redirected to the homepage
- Title, edit the title for the page if desired, the default value is Directory Listing
- Description, enter a description for the page if desired, this will be visible to users/patrons
-
Display section
- Expand First Group by Default, check this box to expand the items, when they are grouped
- Display search form, check this box to display a search bar for entries
- Display A-Z Link Index, check this box to display a link on the list view when "Group by None" is selected
- Enable Add to saved list button, check this box to enable a save to list button
-
Defaults section
- Default Page Limit, select the number of entries to be displayed before pagination is enforced
-
Default Grouping, select the default value entries should be grouped by
- Note: users/patrons can change this when viewing the list of entries
- Default Sort Field, select the default value entries should be sorted by
-
Default Sort Order, select the default order in which entries should be sorted
- Note: users/patrons can change this when viewing the list of entries
-
Field Visibility section
- Check the box beside each field that should be made visible to users/patrons when viewing the list of directory entries
- Click Save configuration when finished
-
Enable Listing View, when checked this enables access to the listing view for the content type
- Click the Details View sub-tab
-
Field Visibility section
- Check the box beside each field that should be made visible to users/patrons when viewing the list of directory entries
- Enable Add to saved list button, check this box to enable a save to list button
- Click Save configuration when finished
-
Field Visibility section