You can connect Internal collection, Google Sheets collection, Airtable collection, or External collection rows to regular pages. This allows the collection to function like the Content Library, except the collection provides a more flexible data structure by allowing you to create any field and use more data types than the Content Library.
A row can be configured for availability on a single page by using its URL, or set to be accessible on all pages by using _all_.
To connect a collection to a regular row, two steps are required, which can be completed in any order (refer to their corresponding sections in this article for detailed information):
- Configure collection rows for regular pages.
- Enable collection for regular pages.
Note:
- A collection enabled for regular pages can also be used for a dynamic page. However, rows configured for regular pages will remain accessible as a dynamic page record. Any rows configured for regular pages will continue to use the set URL. For example, if a record is using _all_, its URL will be www.yoursite.com/dynamicpage/_all_.
- While _all_ applies to every page on the site, if a row specifies a specific page, it will take precedence.
Configure collection rows for regular pages
If you have not already created a collection, see the following documentation for instructions on how to create each type:
To configure collection rows for regular pages
Internal Collections
Modify the data in the Item column to either _all_ or the URL of the regular page.
Note:
Each row will remain unique (only one record can be set to _all_, and a specific page's URL may only be assigned to one record). Attempting to input _all_ or the same specific page's URL into multiple rows will result in only the first row changed being saved.
External, Google Sheets, and Airtable collections
- Select the correlating field from the Page item URL dropdown (if the collection had previously been set up, this step can be skipped).
- If necessary, navigate to the external collection and update the page item URL in relevant rows to _all_ or the desired exiting page’s URL (see the section, Configure Collection Rows for Regular Pages in this article for more information).
Note:
When adding an existing page, only the subdirectory portion of the URL is required. For example, if the page URL is www.yoursite.com/about, simply use 'about'.
If more than one row has an existing page’s URL or _all_, only the first record’s data will be available.
Enable collections for regular pages
After the collection is created, you can enable it to connect to regular pages.
To enable a collection to connect to regular pages:
- In the side panel, click Content.
- Click Collections.
- Next to the desired external collection, click the three horizontal dot icon and select Enable on Regular Pages.
Connect page elements to collection rows
Connecting to regular page elements is the same process as connecting to elements on dynamic pages.
To connect page elements:
- Navigate to the desired page and right click the desired widget.
- Select Connect to Data.
- Use the drop down menu to select the desired row in the collection.
- Click Done.
Disable Collection on Regular Pages
To disable the collection from connecting to regular pages:
- In the side panel, click Content.
- Click Collections.
- Next to the desired collection, click the three horizontal dot icon and select Disable on Regular Pages.
Limitations
- Rows must have unique page item URLs. For example, you cannot have two rows with a page item URL of “home”.
- Multiple rows cannot have a page item URL of “_all_”. Currently, “_all_” applies to all pages on the site, but if you have a specific page being referred to it will take precedence.