CMS: Using a Dynamic Item Page as Your Event Details & Registration Page

18 min read
Do you need more control over the design and layout of your Event Details & Registration page? If so, you can use the Wix CMS (Content Management System) to build a dynamic item page that serves as a custom template for displaying each individual event. 

You only need to design the page once by connecting image, text, and button elements to the relevant fields in your CMS Events collection. When you publish your site, each event gets its own version of the dynamic item page with a unique URL.
With this method, we recommend also creating a dynamic list page for your events where visitors can view all of your events in one place. When they click an event on the dynamic list page, they're taken to this dynamic item page where details about the event are displayed.
Before you begin:

Step 1 | Add a dynamic item page for your event

Start in your editor by accessing the CMS Wix App Collections and finding the Events collection. Then create a dynamic item page from this collection. This dynamic page will act as a template, with each event getting its own version of the page. 
Wix Editor
Editor X
Studio Editor
  1. Go to your editor.
  2. Click CMS  on the left of the editor.
  3. Click Wix App Collections on the left.  
  4. Scroll down to the Events collections.
  5. Hover over Events, click the More Actions icon and select Add dynamic page
  1. Click Item page
  2. Click Add to Site

Step 2 | (Optional) Modify the URL slug structure

Each of your events will have a dedicated version of the dynamic item page you just created. By default, these pages have the following URL structure, with the last {Title} part changing based on the name of the event: 
  • In the Wix Editor: https://www.{}/events-1/{Title}
  • In Editor X and the Studio Editor: https://www.{}/events/{Title}

When editing the URL slug structure, the structure cannot already be used by other existing pages on your site. To be unique, the URL slug structure cannot have the same prefix (e.g. {Collection name}) and the same number of variables as another page on your site, even if the variables are different. Learn more about creating unique dynamic page URLs.

To edit the URL slug structure:

Wix Editor
Editor X
Studio Editor
If you're using the Wix Editor, the events part of your URL slug is already used by a page that displays your upcoming and past events. This is why the CMS adds -1 after events, to give this new dynamic item page a unique URL. You can change this URL slug to a new structure that is not already used by your live site.
To edit your dynamic item page's URL slug structure:
  1. Go to your editor.
  2. Click Pages & Menuon the left side of the editor.
  3. Click Dynamic Pages
  4. Hover over the Events (Item) page under EVENTS/EVENTS COLLECTION and click the More Actions icon  on the right. 
  5. Click SEO
  6. Click the URL slug structure field.
  1. Customize the URL slug structure and press Enter on your keyboard. For example, you could change events-1 to event.

Step 3 | Customize your new dynamic item page

When using the CMS, datasets are the hidden tools that connect your page elements to the items in your collection. In this case, you're connecting text, buttons, and an image to your Events collection, which allows each version of the page to display details about the relevant event. You can add and connect more text or button elements then arrange the page as you see fit. 
Wix Editor
Editor X
Studio Editor
  1. Go to your editor.
  2. Go to your Events (Item) page. 
  3. Connect the elements on the page:
    • Back button: Click the Back button, then click the Link icon and choose where the button navigates visitors to.
      Tip: Link this button to a page or section on your site that has a list of your events.
    • Text elements: Click the relevant text element, then click the Connect to CMS icon . In the Connect Text panel, click the Text connects to drop-down and choose the Events field that you want to use in the text element. Repeat this step for each text element on the page that you want to connect to text from your events. 
    • Image: Click the image, then click the Connect to CMS icon . In the Connect image panel, click the relevant drop-downs to connect the image, alt text, tooltip and link.  
A screenshot of an image's connection options on an Events dynamic item page.
  1. (Optional) Add more text elements and click their Connect to CMS icons to connect them to your Events CMS collection. For example, you can connect text to the following Events fields
    • Title (Text): The event name.
    • Description (Text): The description from the event's Short teaser (optional) field. 
    • About (Rich Text): The event's About the event (optional) rich text field. 
    • Schedule formatted (Text): The event's date and time (e.g. "April 1, 2024, 7:00 - 11:00 PM")
    • Start date formatted (Text): The event's start date (e.g. "April 1, 2024")
    • Start time formatted (Text): The event's start time, formatted to your local settings. If the event schedule is TBD, this field is blank. 
    • Location name (Text): The event's location or the TBD message from Events dashboard. 
    • Location address (Text): The full address of the event. If the location is TBD, the field is blank.
    • Status (Text): One of the following event statuses: 
      • SCHEDULED: The event date is in the future.
      • STARTED: The event start time has arrived.
      • ENDED: The event end time has passed.
      • CANCELED: The event was canceled.
    • Lowest price formatted (Text): The lowest price available, formatted with your currency. Note:
      • If the event has RSVP registration or is external, this field is blank. 
      • If tickets are sold for this event, the lowest price available is displayed. 
      • If free tickets are offered, "Free" is displayed. 
  1. Add dynamic buttons that allow guests to register for the event or add it to their calendar: 
    1. Click Add Elements on the left, click Button, then select the button you want to add. 
    2. Click the button, then click the Connect to CMS icon
    3. Click the Click action connects to drop-down and choose what happens when visitors click the button:
      • Site event page url: Visitors go to the Event Details & Registration page where they can register for the event. 
      • Google calendar url (URL): The visitor adds the event to their Google calendar. 
      • iCalendar url (URL): The visitor downloads an iCalendar link to the event. 
      • Registration url (URL): Visitors go to the Registration URL if registration for the Wix event is managed externally. 
    4. Choose how the link opens: In the current window or As a new window. 
    5. Click the Label connects to drop-down and choose a field to use as the dynamic button text. Or click Change Text & Icon on the button to enter static button text (e.g. "Register"). 
  1. Adjust the size, location, and design of the elements on your page to your liking. 
  2. Click Preview to test your dynamic Events page.
  3. Click Publish when you're ready to make the changes go live.

Did this help?