Extensions

Alerts

This extension provides simple, customizable, and responsive notifications for your Help Center.

InstallationUsage
  1. Unpack the downloaded zip file. Extract the contents of the zip file, which includes the following files:

    • lotus-alerts.js
    • Readme.md
  2. In Guide, click on the Customize design icon in the sidebar. The Theming Center page will be opened.

  3. Click the theme you want to modify.

  4. Click the Edit code button.

  5. Add the extension assets. In theAssets section, click Add asset. Browse to the location of your unzipped file and select lotus-alerts.js.

    The file will now appear in your list of assets.

  6. Insert the script. In the theme code editor, locate and open the document_head.hbs file under the templates directory.

  7. Paste the following snippet to the document_head.hbs:
    <script src="{{asset 'lotus-alerts.js'}}"></script>
  8. Publish your changes. Once you’re done, click Publish to update your theme.