The final step in creating Dynamic Pages is to create a list of links to navigate to the different pages. This is done by adding a widget and connecting it to your Dynamic Page.
The widgets that can display dynamic pages are:
List
Photo Gallery
Media Slider
Tabs
Table (for more information on connecting a table, see Table Widget
Accordion (display only, linking and filtering are not available options)
Connect a List, Photo Gallery, Media Slider, Accordion, or TabsWidget to a Dynamic Page
To connect a widget to your Dynamic Page:
- Add a widget that can be connected to the page of your site on which you want it to exist. For more information, see Add Widgets.
- Right-click on the widget to open the settings menu, and click Connect to Data.
- Select the desired collection from the Connect to drop down menu.
- Map the fields in the collection to the elements in the widget you want to display.
- Under Connect Link to select the dynamic page (this will not show as an available option for the Accordion widget). This is what creates the link between the widget and your Dynamic Pages.
- Click Done.
Filter & Sort
When connecting widgets to a collection, you can filter and sort the collection to display only what you want. This feature allows you to control the number of rows the widget displays, filter according to specific text fields, and sort the list in ascending or descending order.
To add filters and sort:
- Add the widget to the page of your site on which you want it to exist. For more information, see Add Widgets.
- Right-click on the widget to open the settings menu, and click Connect to Data.
- Select the collection from the Connect to drop down menu.
- Under Filter & Sort, you have the following options:
- Items to Display. Select the number of items you want to display (for example, All, or 2).
-
Filters. Click Add Filter, and select the fields and values you want to filter by.
-
Sort. Click Add Sort, and select how you would like to sort the collection.
Dynamic Filters
You can use Dynamic filters to filter widgets that are connected to collections in dynamic pages. This allows you to display only the content that is relevant to a page item. Dynamic filters are available for every widget that connects to a collection when added to dynamic pages, including: Gallery, List, Accordion, Slider, and Custom widgets and are accessible from the Connect Data popup.
To use Dynamic filters:
- In the side panel, click Content, then click Collections.
- Click +Create Collection and create 2 collections:
- Data collection. Contains your data with a category name field. In step 9 this collection is referenced as Collection A.
- Categories collection. Contains all the categories and their details (category name, image, etc). In step 9 this collection is referenced as Collection B.
- In the side panel, click Pages, then click +New Page.
- Create a Dynamic Page from each collection you created in step 2.
- Navigate to a regular page of your choice and in the side panel, click Widgets, then drag and drop the Gallery widget onto the page.
- Right-click the Gallery widget to open the settings menu, and click Connect to Data. Connect it to the categories collection you created in step 2. Map the link field to its Dynamic Page.
- Navigate to the categories Dynamic Page and in the side panel, click Widgets, then drag and drop the Gallery widget onto the page.
- Right-click the Gallery widget to open the settings menu, and click Connect to Data. Connect it to the data collection you created in step 2. Before closing the Connected Data popup, open the Filter & Sort tab and in the Dynamic Filter section click +Add Filter.
- Map between the category name field in the data collection (Collection A) and the category name field in the categories collection (Collection B).