最近の検索
最近の検索はありません

Simon Andersson
参加日2021年5月28日
·
前回のアクティビティ2021年10月27日
フォロー中
0
フォロワー
0
合計アクティビティ
2
投票
0
サブスクリプション
1
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Simon Andersson
Simon Anderssonさんがコメントを作成しました:
@Wes - Hi Wes,
First off I want to thank you for all your articles in the Zendesk Community. I have been reading and applying a lot of them when setting up the Help Center for our company.
My question is related to this topic and the way you can limit the number of articles showing under each section in a category.
I want to separate the way the category lists the sections with it´s articles.
In one category I have added subsections in the listing and in that category I do not want any articles to show under each section. I have achieved this with the following code in the JS-section.
$(document).ready(function() {
if( document.location.href.indexOf('section') == -1 ) {
var categories = $('ul.article-list');
$(categories).hide();
var more = $('.see-all-articles');
$(more).hide();
}
This hides the articles from showing underneath each section in all my categories and my problem is that I now have one or more categories where i want to list articles underneath each section.
I am not sure this makes sense but if you check https://specter.zendesk.com/hc/sv and click on "Hjälptexter" you can see that this category does not have any articles showing unless you click on them. This is the way i want to have this listing. But if you click on "Vanliga frågor & svar" thats where i want to show articles underneath each section.
Hope you or anyone have some tips on how to solve this.
Thank you!
コメントを表示 · 投稿日時:2016年9月19日 · Simon Andersson
0
フォロワー
0
投票
0
コメント