Article page side navigation with Category, Sections and Articles | Community
Skip to main content

Article page side navigation with Category, Sections and Articles

  • June 26, 2024
  • 1 reply
  • 0 views

Keetha

I want to create a side navigation panel on the article page template (article_page.hbs).

It will have the Category of that article as the main link, all the sections as collapsible elements and all the articles listed inside each sections. (see the screenshot of my mockup below).

Is there a way for me to get the Category of the article + all the sections of that Category + all the articles of each of those sections inside article_page.hbs template?

1 reply

Ifra
  • June 28, 2024

Hi Keetha Aruboribaran,

 

Visit the given API docs and then use those APIs with custom JavaScript to get the categories, sections, and articles in the sidebar 

Go to the Category API: https://developer.zendesk.com/api-reference/help_center/help-center-api/categories/

Go to the Section API: https://developer.zendesk.com/api-reference/help_center/help-center-api/sections/

Go to the Article API: https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/

 

or you can visit the Zendesk marketplace.

 

Thanks