As mentioned in the overview, index pages allow organizations to organize and present content with customizable categories that your users/patrons can quickly and easily filter and group to find the content they are looking for.
Creating this content this is a multi-step approach where you must first create the index page, then create the individual entries that will appear on the page, we'll look at both of these steps in this article
Users with the Contributor, Editor, Moderator, and Administrator role have the permission to create and edit both index pages and index entries; however, only users with the Moderator and Administrator have the permissions to delete these items and publish them to your Stacks site.
Considerations
Before creating an index page, 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.
As we have discussed, index entries can also be filtered/grouped using the Category filter vocabulary field. It can save you time later on to create or edit the list of values that populate this field before you begin creating your index page(s).
For more information on editing site labels and creating filter vocabulary values, please see the Considerations for Creating Content article.
Creating Index Pages
- From the Dashboard, click the Index Pages tile
- Click +Add Index Page
- Complete the form in the window that opens
- Title, this is the title of the index page and will appear at the top of the page
- Language, if applicable, select the language for the index page
- Body, this will appear at the top of the iIndex page directly under the title, and is typically used to provide a description or explanation of the information found in the index.
- Review and adjust the Publishing workflow
- Click Save
Creating Index Entries
Once one or more index pages have been created you can begin adding the entries that will appear on these pages.
Like creating the index page itself, only users with the Contributor, Editor, Moderator, or Administrator role can create and edit index entries, and only Moderators and Administrators can publish them to your Stacks site.
- From the Dashboard, click the Index Pages tile
- Click the Index Entries tab near the top of the screen
-
Click Add New
- Title, enter a title for the entry
-
Featured, check this box to feature the entry on the page
- NOTE: a URL (in the next field) is required to feature an entry on the page
-
URL
-
URL, if applicable, enter the path or URL to the page you wish to direct users/patrons to when the entry title is clicked
- NOTE: for internal Stacks pages only use the path (example: /databases). For external websites, use the full URL (example: https://www.samplesite.com)
- Link Text, enter the name/link text to display to the user/patron
-
URL, if applicable, enter the path or URL to the page you wish to direct users/patrons to when the entry title is clicked
-
Index Page, select the index page this entry will appear on
- NOTE: index page(s) must first be created to populate this list
-
Category, select the appropriate category from the filter vocabulary list
- NOTE: filter vocabulary values must be added to populate this list, see the Considerations section above
- Body, enter any text, description, links, images, or embedded media that is applicable for the entry
-
Image
-
If the entry is Featured (as described above), the image will appear at the top of the index page in a slider, otherwise it will appear below the entry title and to the left of the body in the list and detail views
- Click Upload/Select file, follow to prompts to upload a new image or select from previously uploaded images
-
If the entry is Featured (as described above), the image will appear at the top of the index page in a slider, otherwise it will appear below the entry title and to the left of the body in the list and detail views
-
File
-
If applicable files can be added to the entry for users/patrons to view and possibly download
- Click Upload/Select File, follow the prompts to upload a new file or select from previously uploaded files
-
If applicable files can be added to the entry for users/patrons to view and possibly download
-
Changed To
-
Depending on the role of the user creating the entry, select the appropriate option to set the state of the index entry.
- This is typically used to indicate if the entry is in a draft or review state, prior to publishing
-
Depending on the role of the user creating the entry, select the appropriate option to set the state of the index entry.
- Publishing workflow, review the settings and update as needed
- Click Save when finished, repeat the steps above for creating additional entries as needed
List and Detail View Settings for Index Pages
Additional settings can also be configured here to control the how your users/patrons will see index page 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 /index_pages page
- Details View - this is the view users/patrons will see when they click on any one entry on an index page
- From the Dashboard, click the Index Pages 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 Index Pages
- 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 index pages
- 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 index pages
- Enable Add to saved list button, check this box to enable a save to list button
- Click Save configuration when finished
-
Field Visibility section