Extensions

Prev next buttons

The Prev Next extension adds buttons at the end of articles, which forward to the previous or the next page. This makes working with Help Center easy. There is no need to go back to the list of articles to look for the next article to open it.

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

    • apidata-min.js
    • prevnext-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 prevnext-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 'prevnext-min.js'}}"></script>
  8. If you are not using our themes. In the article_page.hbs file, paste the following snippet in the place where you want to display the extension:
    <div data-prevnext></div>
  9. Click Publish. The Prev Next buttons are displayed in articles.