The modal box allows you to create a pop up box when a user clicks on a button. The following steps describe how to setup the modal box.
- Create a new content holder for the content of the modal box.
- Add the content for the popup box inside the content editor.
- Add the button’s text to the ‘Tile Link Text’ field of the content holder.
- Save the content holder.
- When saved, make note of the content holder’s ID
- Edit the page you’re looking to add the modal box to.
- Add the following module code to the content editor where you would like the button to appear:
{! modal_by_id;Id Value !} - Change ‘Id Value’ to be the Id number of the modal content holder created previously.
- Save the changes and review the edited page.