Displaying articles with specific label on Home Page

5 댓글

  • veronica thompson

    Hi Kyle! 

    Did you ever find an answer for this? I'm trying to do something similar now.

    0
  • Vladan Jovic
    Community Moderator

    It's possible with the help of Zendesk API. Little coding is needed here.

     

    0
  • veronica thompson

    Vladan I'm comfortable in the code world. I checked out the api calls for article label here: https://developer.zendesk.com/rest_api/docs/help_center/labels .

    But I'd love to see how others have used the API within the Help Center - the restrictions of having to use the existing zendesk page templates has been a bit of a planning nightmare - I'm trying to create a "label" page within the help center framework if I can.

    0
  • Vladan Jovic
    Community Moderator

    Hi Veronica, this is all you need from api

    /api/v2/help_center/articles.json?label_names=photos

    *change "photos" with "video" or any your label name

    Later, with AJAX call you can pull article titles, description,... from provided json file. Is this helpful?

     

    1
  • Benjamin BAUDOUIN

    hi, do you have a code example please ?

     

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공