Accept Alert
Created by Orckestra
How to show an accept alert on a website
To show visitors on the website an alert that stores a cookie when accepted:
- Edit a page.
- Insert the Composite.Web.Html.AcceptAlert function ( Insert | Function) or add the following code:
Expand code - Set these parameters:
- Content: The content to show in the alert.
- ButtonText: [optional] The text to show on the accept button. "OK" by default.
Note. The steps above are meant for the alert to appear on a single page. To use the alert across the website, add the function to page templates.
Have a question?
Post it to the C1 CMS Foundation forum.