최근 검색
최근 검색 없음

Naomi Papoushado
가입한 날짜: 2021년 5월 13일
·
마지막 활동: 2021년 10월 22일
팔로잉
0
팔로워
0
총 활동 수
3
투표 수
0
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Naomi Papoushado
Naomi Papoushado님이 에 댓글을 입력함
+1
Trying (unsuccessfully) to follow Colin's advice from 6(!) years ago, can anyone help me?
1 - In the article, I added:
This text can only be seen by managers and agents: Internal test
2 - In the theme's script.js, I added:
// Show div html based on role
if (HelpCenter.user.role=="end_user"){
$("div.enduser").show();
}
if (HelpCenter.user.role=="agent"){
$("div.manager").show();
}
if (HelpCenter.user.role=="manager"){
$("div.manager").show();
}
if (HelpCenter.user.role=="anonymous"){
$("div.anonymous").show();
}
3 - In the theme's style.css I added:
.internal.manager {
display: none;
}
But I can't see the text under preview as any of the user types....what am I doing wrong?
댓글 보기 · 2020년 12월 15일에 게시됨 · Naomi Papoushado
0
팔로워
0
투표 수
0
댓글