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

Serhii Danchuk
参加日2021年12月29日
·
前回のアクティビティ2022年1月12日
フォロー中
0
フォロワー
0
合計アクティビティ
12
投票
6
サブスクリプション
1
アクティビティの概要
バッジ
記事
投稿
コミュニティへのコメント
記事へのコメント
アクティビティの概要
さんの最近のアクティビティ Serhii Danchuk
Serhii Danchukさんがコメントを作成しました:
Daniel Dobrzensky Thank you very much it worked!)
コメントを表示 · 投稿日時:2022年1月11日 · Serhii Danchuk
0
フォロワー
1
投票
0
コメント
Serhii Danchukさんがコメントを作成しました:
Thanks for the help! Option 2 suits me and I tried to do it earlier. But I tried these options and they don't work. It is work:
{{#if categories}}
{{#each categories}}
{{#if (compare "4409347111442" "==" ../settings.category_first)}}
ok
{{/if}}
{{/each}}
{{/if}}
But i need dynamic id and try this(your option 2):
{{#if categories}}
{{#each categories}}
{{#if (compare "id" "==" ../settings.category_first)}}
ok
{{/if}}
{{/each}}
{{/if}}
and this
{{#if categories}}
{{#each categories}}
{{#if (compare "id" "=" ../settings.category_first)}}
ok
{{/if}}
{{/each}}
{{/if}}
and this
{{#if categories}}
{{#each categories}}
{{#if (compare id "==" ../settings.category_first)}}
ok
{{/if}}
{{/each}}
{{/if}}
and this
{{#if categories}}
{{#each categories}}
{{#if (compare id "=" ../settings.category_first)}}
ok
{{/if}}
{{/each}}
{{/if}}
and this
{{#if (compare category.id "==" ../settings.category_first)}}
ok
{{/if}}
it is not work for me, maybe I'm doing something wrong?
i read documentation and i not find answer for my question:(
コメントを表示 · 投稿日時:2022年1月02日 · Serhii Danchuk
0
フォロワー
0
投票
0
コメント
Serhii Danchukさんがコメントを作成しました:
Thanks, but I would like to use the dynamic id that is take from the category and compare with the settings value.
Like this:
{{#if categories}}
{{#each categories}}
{{#is ../settings.category_first "dynamic category.id" }}
{{some code to render when true}}
{{/is}}
{{/each}}
{{/if}}
コメントを表示 · 投稿日時:2021年12月30日 · Serhii Danchuk
0
フォロワー
1
投票
0
コメント
Serhii Danchukさんが投稿を作成しました:
Hi Zendesk.
I wont to show category by id. I add to setting category.id
and i wont to show this category by id, but helper "is" not work width settings.
I also tried other helpers but they don't work the way I need.
How can i show categories by id from settings?
Thank you.
Serhii Danchuk
投稿日時:2021年12月29日 · Serhii Danchuk
1
フォロワー
5
投票
15
コメント