Alerts extension: How to use alerts

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

Installation Usage
  1. Unpack the downloaded zip file. There will be three files:

    • apidata-min.js
    • alerts-min.js
    • Readme.txt
  2. In Guide, click on the Customize design icon in the sidebar. The Theming Center page opens.

  3. Click the theme you want to edit to open it.

  4. Click the Edit code button.

  5. In the Assets section, click Add asset, then browse to select your files.

    Select the alerts-min.jsfile from the unpacked zip. The file is added to your list of asset files. If you don't use one of our themes, also upload the apidata-min.js file.

  6. In your theme code configuration page under the templates directory, click the document_head.hbs file.

  7. In the document_head.hbs file, paste the following snippets:
    <script src="{{asset 'apidata-min.js'}}"></script>
    <script src="{{asset 'alerts-min.js'}}"></script>
  8. Click Publish.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Have more questions?
Submit a request
Share it, if you like it.