最近搜索


没有最近搜索

Katerina Benova's Avatar

Katerina Benova

已加入2021年4月15日

·

最后活动2022年2月14日

关注

0

关注者

0

活动总数

7

投票

0

订阅

2

活动概览

的最新活动 Katerina Benova

Katerina Benova 进行了评论,

社区评论 Q&A - Help center and community

It seems zendesk changed the behavior of API "articles/search.json" and now returns wildcard search

Now I'm using article API with parameter label_names

https://developer.zendesk.com/rest_api/docs/help_center/articles

/api/v2/help_center/{locale}/articles.json?label_names=TM_family

查看评论 · 已于 2019年5月06日 发布 · Katerina Benova

0

关注者

0

投票

0

评论


Katerina Benova 进行了评论,

社区评论 Q&A - Help center and community

@Charles, this is how I add list of all articles with a label "Project_family". For some reason I had to add the script directly to the article_page templatee (it didn't work when it was part of the script.js).

Here is a link to our pages: https://help.memsource.com/hc/en-us/articles/115003692212-Translation-Memories





{{#if article.labels}}

{{#each article.labels}}

{{#is identifier 'Project_family'}}

Articles related to Project:



class="related">

id="Project">





{{/is}}

{{/each}}

{{/if}}

查看评论 · 已于 2019年3月14日 发布 · Katerina Benova

0

关注者

1

投票

0

评论


Katerina Benova 进行了评论,

社区评论 Q&A - Help center and community

Thanks Nicole, that would be fantastic.

查看评论 · 已于 2018年7月30日 发布 · Katerina Benova

0

关注者

0

投票

0

评论


Katerina Benova 进行了评论,

社区评论 Q&A - Help center and community

Hi @Wes, thanks for the API suggestion. I was able to make it work in a separate HTML file, but I'm struggling with displaying the results in the template.

In the HTML file I simply added

    and the java script takes care of everything.

    Could you give me a hint how to get it to Article template? The function in the script is working ok (I do get a response in the developer's console)

    here is the HTML




      Articles by label


     

    Related Articles


     

       


       

      查看评论 · 已于 2018年7月13日 发布 · Katerina Benova

      0

      关注者

      0

      投票

      0

      评论


      Katerina Benova 创建了一个帖子,

      帖子 Q&A - Help center and community

      I'd like to use one article in more than one group of articles - for example, several different products use the same setting and I don't want to have the same content multiple times (and updating it multiple times when needed).

      But at the same time, I would like to display all articles for one product on one page. An article cannot have more than one section/category and I didn't find a way to tweak Related articles, so it seems the Labels are the only way.

      My goal is to:

      1. add 'Product1', 'Product2' labels to the "Settings" Article

      2. add label 'Product1' to "Product1 into" article and label 'Product2' to "Product2 intro" article (etc)

      3. When a user opens "Product1 into" there will be a list of all articles (clickable titles) with label 'Product1' (and vice versa for "Product2 intro")

      4. If a user opens the "Settings" Article, there will be two lists for each label.

      I tried Curlybars but I didn't get very far.

       

       

       

      已于 2018年6月29日 发布 · Katerina Benova

      0

      关注者

      13

      投票

      18

      评论