Recent searches
No recent searches
Show text on Guide only to staff
Answered
Posted Mar 25, 2024
Hi,
I am looking for a way to write text on the main page of the Copenhagen theme to the agents only.
0
2
Recent searches
No recent searches
Posted Mar 25, 2024
Hi,
I am looking for a way to write text on the main page of the Copenhagen theme to the agents only.
0
2 comments
Prashant
Hi raphael peguet,
Try to use below code in Home_page.hbs
<h4 class="show_text">Show text to agents<h4>
<script>
$( document ).ready(function() {
$(".show_text").css('display', 'none');
if(HelpCenter.user.role=='agent'){
$(".show_text").css('display', 'block');
}
}); </script>
1
Brett Bowser
Thanks for sharing your solution here Prashant!
0