Responsive layout for a generic search page. Includes common filter options in the side menu. The sidebar menu is hidden by default on mobile but users can click on the filter icon in the upper left to open the sidebar.
- When this page is added to your app, it will come with two main groups:
- Blocks container 860 (do not rename)This group contains the responsive settings for all blocks on the page. Any new blocks should be added to this group.
- Floatinggroup Side bar_website - This group contains all the different filter options for the search page.
- This page comes with one popup:
- Popup Hidden Variables contains four groups:
- var - Website object This group stores the website object (e.g., app name, primary color, and etc.)
- var - dummy data A placeholder group in case you want to use any hidden variable groups later.
- var - RepeatingGroup Categories This repeating group will store the user's checked categories in RepeatingGroup Dummy
- var - page less than 1111 This checks the page's current width. The side bar will hide when the current page width is less than 1111px.
- Entering values into the inputs in the sidebar will run a custom workflow called Perform search
- The main purpose of the “perform search” workflow is to adjust the parameters in the URL so that it contains the filters that the user has selected or entered. With that setup, a list of filtered results can be shared through these links that contain the filters in the URL (similar to sharing a specific list of results on Airbnb).
- This workflow is optional and it is not required to filter the repeating group.
- Update the data source or add/remove any input elements in the sidebar to fit your use case
- [Optional] Update the Perform search custom workflow accordingly.
- [Optional] If you add a new input, update the Perform search custom workflow to include the new parameter.
Add another parameter and pass it the new input's value. The parameter name (key) can be anything you choose.
- Update RepeatingGroup Dummy's data source and var - RepeatingGroup Categories' type of content and data source
- Resize Blocks container 860 (do not rename) and add other blocks inside of it
- Link the filters to a block you've added by setting search constraints on the block's repeating group's data source
- It is also important to make sure that “ignore empty constraints” is checked underneath the constraints, so that all results will display when no filters are selected.