最近の検索


最近の検索はありません

Amy Gracer's Avatar

Amy Gracer

参加日2021年4月15日

·

前回のアクティビティ2022年2月14日

フォロー中

0

フォロワー

0

合計アクティビティ

44

投票

12

受信登録

18

アクティビティの概要

さんの最近のアクティビティ Amy Gracer

Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi Lawrence,

I think the problem is the Table class. Make sure that in your HTML source, you have set 

If you do not, your table will look like this:

 

After adding the class, it looks like this:

The HTML of the table above is
























AlphNumericDate 
b25/12/2020 
d11/12/2019 

 

コメントを表示 · 投稿日時:2020年5月27日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Q&A - Help center and community

@... 

Try eliminating the and tags and limit to just paragraph and character styles.

コメントを表示 · 投稿日時:2020年5月13日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Q&A - Help center and community

@...

This is working on my site in Chrome and Explorer. I am only using it on the section page, but I imagine Category should be the same, just replacing section with category.

$('section.description').html( $('section.description').text() );

If it doesn't want on your category, try the section as above and see if that works. If that fails, too, then we might have it narrowed down to your IE settings?

コメントを表示 · 投稿日時:2020年3月05日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんが投稿を作成しました:

投稿 Discussion - Tips and best practices from the community
You can add sorting to your HTML tables in guide using the Jquery TableSorter plug-in. Although this script includes many options and customizations, only basic sorting is described below for simplicity. 
 
I used the download and documentation provided on the following site: Sorting Tables with Tablesorter. There are many other resources as well. Review the documentation and download the tablesorter-master.zip. 
 
Now you can modify your Help Center.
  1. First, edit your theme and add the following plug-in assets:
    • jquery.tablesorter.js
    • theme.blue.css (or whatever theme you choose)

    To learn how to add assets, see Using your own theme assets

  2. Next you need to instruct Zendesk to use the tablesorter plug-in for all of your tables.
    1. Edit your theme. 
    2. Open the template document_head.hbs.
    3. Under your stylesheet links, add the following lines, and save. 


  3. Now under assets, open your Script.js file, and add the following:
    //table sort
    $(function(){ $('table').tablesorter();
    theme: 'blue' });

    This will apply sorting to all tables.

  4. At this point, tables will sortable, but there will be no visual indication that the sorting is available. To add these visual cues, you must apply the tablesorter class your table as follows:

    Notice the sorting arrows in the column headers. 

     

     
     

投稿日時:2020年1月10日 · Amy Gracer

0

フォロワー

8

投票

11

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Finding lots of misspellings in my search results, so I wanted to give this a try. I added it to my JS, but still not getting the synonym results. 

Any tip on what I might have done wrong?

//Synonyms

$(document).ready(function() {
InitializeSynonyms()
});

var synonymsets = new Array();
function NewSynonymSet(key, synonyms) {
var synonym = new Object();
synonym.primary = key;
synonym.keywords = synonyms;
synonymsets.push(synonym);
}

function ChangeSearch(val)
{
var q = $(val).val();
var query = q.toLowerCase().split(' ');
for (var i = 0; i < query.length; i++) {
for (var x = 0; x < synonymsets.length; x++) {
var primary = synonymsets[x].primary;
var keywords = synonymsets[x].keywords;
if ($.inArray(query[i], keywords) > -1) {
query[i] = primary;
}
}
}
var newQuery = '';
for (var i = 0; i < query.length; i++) {
newQuery += ' ' + query[i];
}
$('#query').val(newQuery.substring(1));
}

function InitializeSynonyms() {
//always lowercase and can handle misspellings too.
//Enter as many of these lines below as needed with different synonym sets
NewSynonymSet('receiving', ['recieving', 'receivings', 'recievings',]);
NewSynonymSet('commission', ['commissions', 'comission', 'comissions', 'commision', 'commisions']);

$('#query').on('keyup', function () {
ChangeSearch(this);
});
$('#query').on('paste', function () {
ChangeSearch(this);
});
}

//End synonyms

コメントを表示 · 投稿日時:2019年11月06日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

@Heather. Thank you! I will look into what you have, compare to my implementation, and update article as necessary. I'm sorry you ran into some trouble with it the first time around, but glad you got it working well!

コメントを表示 · 投稿日時:2019年7月10日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Discussion - Tips and best practices from the community

Hi Rebecca,

I have since changed my code around a bit. 

I suggest you delete the offending {{else}} and see if it allows you to publish. 

If not, please take a look at my updated code below, starting from the section-content (beneath the section description). 

Please let me know how this works for you. I will also review the Tip above and modify the code if needed. 

Hope this helps....


{{#if section.articles}}



    {{#each section.articles}}


  • {{#if promoted}}

    {{/if}}
    {{title}}

    {{#if internal}}

    {{/if}}


  • {{/each}}

{{/if}}


{{pagination}}


{{#each section.sections}}



{{name}}



{{#if articles}}


    {{#each articles}}


  • {{#if promoted}}

    {{/if}}
    {{title}}

    {{#if internal}}

    {{/if}}


  • {{/each}}


{{#if more_articles}}

{{t 'show_all_articles' count=article_count}}

{{/if}}


{{/if}}



{{/each}}







 

コメントを表示 · 投稿日時:2019年4月18日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Q&A - Help center and community

@Team Diziana Is there a way to use this for sections in section?

コメントを表示 · 投稿日時:2019年2月27日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Q&A - Help center and community

@Team Diziana: That did it! Thank you!

 

コメントを表示 · 投稿日時:2019年2月27日 · Amy Gracer

0

フォロワー

0

投票

0

コメント


Amy Gracerさんがコメントを作成しました:

コミュニティのコメント Q&A - Help center and community

Hi Dan,

Here is my super modified version - with flexible hierarchies by default:

https://ddisys.zendesk.com/hc/en-us/articles/360018618634-Set-up-product-lines. 

It appears collapsed. 

 

But if I view the article in the copenhagen theme with no modifications, it appears expanded.

 

But the code for that collapsible sidebar is exactly the same in copenhagen and my modified theme. 

 

コメントを表示 · 投稿日時:2019年2月26日 · Amy Gracer

0

フォロワー

0

投票

0

コメント