- Use Cases: Used to display a modal that opens when the user clicks a link that will open an external page. When the modal is displayed, users can read a customizable disclaimer message and choose to continue or to stay. Clicking to continue will procced with opening the external page, and clicking to stay will close the modal and the user will remain in the site.
- Dependencies
- None required. The Exit Disclaimer Modal is fully self-contained and does not rely on child items or external data sources.
- Reusable Globally: Reusable component across the whole site.
- Customizable Texts and Buttons: Title, Description, and Text and Type of both available buttons are configurable.
Creating an Exit Disclaimer Modal
- In Content Editor, go to the global market folder of your site.
- For example: /sitecore/content/AWTSites/Templates/MarketRepositoryFolder/MarketSharedContentFolder/Global)
- Create a "Exit Disclaimer Modal Folder" item from the Exit Disclaimer Modal Folder template under the global market folder of your site
- Create a new Exit Disclaimer Modal item from the Exit Disclaimer Modal template.
- Fill in the required fields
- Title
- Description
- Right Button Text
- Fill in optional fields: Left Button Kind, Right Button Kind, Left Button Text, etc
- In Experience Editor, insert the Exit Disclaimer Modal rendering into the awt-exit-disclaimer-modal placeholder of the page (or you can insert the rendering directly via Presentation Details into the awt-exit-disclaimer-modal placeholder).
- Associate the Exit Disclaimer Modal item as the data source.
- None: There are no variants for this component.
- There are currently no known issues with this component