최근 검색
최근 검색 없음

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
댓글