Exit this Page Button
Applying the exit button to individual pages
The "per page" version of the script lets you choose exactly which pages you want the button button to appear on.
1. Create a "quick exit" metadata value
We will use the CSS body modifier functionality to apply a class to the
- Open the metadata library in iCM
- Either select an existing body metadata property or create a new one
- Add the following metadata value to your property: qe
2. Apply the script and metadata to a subsite
Apply the per-page script and the body metadata property to the subsite.
- Make sure you are accessing iCM via the enterprise link on www.my-website.com/enterprise/icm
- Navigate to the subsite definition section of iCM Management and select the subsite where you want to apply the button
- In the Look and Feel section, find the Style Modifier Metadata section
- Choose the body metadata property you added earlier
- In the Miscellaneous section, find the Custom JavaScripts section
- Select the Per Page script media item
- Click Save this subsite in the left menu to save your changes
3. Apply the quick exit metadata to a page
Next you'll need to apply the metadata to the pages where you want the button to appear.
- Find the article you want to add the button to
- In the Related Content section, select the qe metadata value created earlier
- Submit your article
Once this is done, the button should appear on the selected article, as well as on any other pages with the qe metadata value.
Last modified on November 14, 2024