Add feedback to custom pages
- Applies to:
- MindTouch (current)
- Role required:
- Draft Contributor
Custom page types that do not use default templates will not display article rating and feedback options by default. Use CSS to display article rating and feedback options.
- Configure article feedback as desired.
- Find the class name of your custom page type.
Custom page types inject a class name to the<body>
tag of each page they occur on. For example, if you have a custom page type set to "FAQ," the class name injected into the<body>
isfaq
. You need the class name to target the CSS in later steps. If you are unsure of the class name for your custom page type, find it via one of the following options:- Via developer tools (most browsers): Navigate to one of the custom pages on which you want the feedback form to appear. Right-click anywhere on the page and select Inspect.
- Via the control panel: Navigate to Control panel > System Settings > Classifications. Under the Page type classification, look for the custom page's tag value.
- Navigate to Control panel > Branding > Custom Site CSS and add the following CSS, replacing
faq
with your custom article class:.columbia-article-faq .mt-feedback-rating-container { display: block; }
- Click Save.
- Navigate to your custom page and verify the form displays.