CMS: Creating an Index Page of Your Dynamic Pages
7 min read
After creating dynamic pages on your site, you can create an index page in order to give your visitors access to those dynamic pages.
An index page can display a list of items from your collection and redirect each one to the corresponding dynamic page.
An index page can display a list of items from your collection and redirect each one to the corresponding dynamic page.
Step 1 | Add a Page to Your Site
Add a blank page to your site where you can add a repeater, a table or a gallery.
Show me how
Step 2 | Add a Multi-Item Element to Your Page
To display multiple items from your database collection, you need to add a repeater, a table or a gallery to your site. This multi-item element serves as a menu for the items you are displaying from your collection.
Show me how

Step 3 | Add and Set up a Dataset
New datasets experience:
In Wix Studio, we've moved datasets to the Inspector panel on the right to make them easier for you to use. Learn more about the new datasets experience in Wix Studio.
To display content from your database collection in your multi-item element, you need to add a dataset, connect the dataset to a collection, then connect your page elements to the dataset.
Show me how
Tip:
Make sure your dataset mode is set to Read-only.
Step 4 | Connect Your Elements
Now that you have added a multi-item element on your site (a repeater, gallery or a table), you need to connect it to a dataset and connect each element (text, image, etc.) to a field in your collection.
Show me how
Step 5 | Add a Dynamic Link
Add a dynamic link from a button or image in your index menu to the corresponding dynamic page:
From a repeater to the dynamic page
From a table to the dynamic page
From a gallery to the dynamic page
Step 6 | Preview or Publish Your Site
Preview or Publish your site to see your changes.
Did this help?
|