Configuring bento searches is a multi-step approach that requires the setting up of your search and the page display of the search results, as well as the enabling of the Bento search option for your primary search bar.
Configuring Bento Searches
If your bento search will include the ability to search from an external source or provider via an integration, ensure the integration is configured as required in the Integrations tile of the Dashboard.
- From the Dashboard, click Search Configuration
- Click Bento, then click Custom Bentos
- Click the Custom EDS Bentos tile
- Click + Add Custom EDS Bento
- Label, enter a name for the search
-
Facet Filters, allows you to identify how your search results can be "pre-filtered", either by source, content provider, or by subject.
-
Source Type
- Search Facets, enter a name for the search, example: magazines or books
- Click Search
- From the returned results, select the value(s) to search
-
Content Provider
- Search Facets, enter a name for the search, example: magazines or books
- Click Search
- From the returned results, select the value(s) to search
-
Subjects
- Search Facets, enter a name for the search, example: magazines or books
- Click Search
- From the returned results, select the value(s) to search
-
Source Type
- Click Save
Enabling a Bento Search
Once the bento search has been configured, you can enable the bento search option in your primary search bar at the top of your Stacks page.
- From the Dashboard, click Search Configuration, then Settings
- Scroll to the Bento Search option, click Edit on the right
- In the window that opens
- Display Label, if needed, change the name of the search as it will be displayed
- Bento drop-down, if more than one bento has been created, select the page to use
- Show Search Page drop-down, if multiple bentos are available a drop-down will be displayed allowing the user to select the bento search to use
- Enable Bento, this must be selected prior to beginning creating bento pages
- Tooltip Text, add optional helper text to display as a tooltip to your users
- Click Save
Create Bento Pages
The final step in configuring bento searches is to create the page(s) that users will see their search results on. Bento pages are typically configured to display multiple boxes of these "pre-filtered" results in way that is easy for users to narrow into specific content they may be looking for.
- From the Dashboard, click Search Configuration, then Bento
- Click Bento Pages
- Click Add New
- Complete the fields in the window that opens
- Title - enter a title for the bento page
- Language - select the language
- Body - enter a small narrative explaining the bento page
- Update the Publishing workflow if needed
- Click Save
- You will be returned to the list of Bento pages
- Under the Operations column, click Edit beside the Bento page you just created
- Click the Layout tab near the top of the screen
- You will be taken to a page similar to the Layout Builder for your Stacks site, here you can configure the sections and blocks that will display the bento search results
- Click +Add section
- A window will appear on the right
- Select from the One column, Two column, or Three column layout options
- Administrative label - add an optional label that will only appear in the top left corner of the section when viewing the page in this layout viewer
- Click Add section
- Select from the One column, Two column, or Three column layout options
- A window will appear on the right
- Click + Add Block within any of the section(s) you may have added to begin adding the block content
- In the window that opens, under the Bento Block section, click Add a Bento Block
-
Heading, add a heading or title for the block
- Example: Magazines or Books
- Subheading, optional
- Bento Subtitle URL, optional
- Bento Type, select the search type from the drop-down
-
Additional options
- Depending on the search type, additional configuration options may be displayed below, these could include:
- Limit results
- Enable pagination (recommended when searches could return a large number of results)
- Results per page
- Filters
- Depending on the search type, additional configuration options may be displayed below, these could include: