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 listing entries, it's important to note that both site labels and filter vocabulary values associated with directory listings may need to be reviewed and/or updated. Doing so before you create your entries can save you time from having to jump back and forth to make updates later on.
Labels
Almost all field names and labels can be changed in Stacks, this allows you to customize label sets to ensure the terminology used matches what your users or patrons would expect to see when viewing directory listings. Before creating new entries, it's worth reviewing the labels associated with the directory listings and updating any if needed.
To change labels:
- From the Dashboard, click the Directory Listings tile
- Click the Labels tab at the top of the screen
- Review the labels in the Fields and Listing View sections on the left and change any values as needed
- Scroll to the bottom of the page and click Submit when finished
Filter Vocabularies
Filter Vocabularies are lists of values that can be used by your users/patrons to filter and group information in Stacks; review the filter vocabularies associated with directory listings to make sure the appropriate values exist for your users/patrons to use.
To add to or update filter vocabularies:
- From the Dashboard, click the Directory Listings tile
- Click the Filter Vocabularies tab at the top of the screen
- Click the List Terms link to the right of the Type
- To Add new values:
- Click +Add Term
- Enter the name for the new term
- Click one of the two save options
- Save, to save the value and stay in this screen to add another; OR
- Save and go to list, to save this value and return to the list term view
- To Edit a value:
- Click the Edit button to the right of the value
- Update the name
- Click Save
- To Add new values:
- Repeat the steps above for the Department filter vocabulary as well
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