Skip to main content
Solved

Customise Article Voting text "Did you find it helpful? Yes No"

  • July 12, 2021
  • 1 reply
  • 262 views

  • Apprentice
  • 1 reply

Hello 

 

How can we customise the ‘Article Voting’ text (see below image for what I am referring to). We simply want to change the text to “Was this article helpful? Yes No”. Can you provide a Liquid snippet of code to get us started and we can achieve this ourselves from there. 

 

 

Our existing liquid code for the Article View is just: 

        …..

       <hr />    
        {{article | article_attachments}}

        {{article | article_voting }}
        
</section>

 

Also how can we customise the ‘Article Voting Feedback Form’? See the below image for what I am referring to. We want to change the text on this form and add different checkboxes. Can you provide a Liquid snippet of code to get us started and we can achieve this ourselves from there. 

 

 

Best answer by hemanth.ramya

Hello Sam,

 

For your portal customization requirements, we can see that a ticket has been raised with us. To change the feedback text “Was this article helpful? Yes No”, please try the code snippet that our agent suggested (adding below for reference):

<script>
let new_t = jQuery("p.article-vote").html().replace("it helpful", "this help article helpful");
jQuery("p.article-vote").html(new_t);
</script> 

Also, to change the text in the feedback form options, let us check the feasibility of the requirement and reach back to you via the ticket. 

 

Thank you,

Freshdesk Community Team

View original
Did this topic help you find an answer to your question?
40% found this helpful

1 reply

hemanth.ramya
Community Manager
Forum|alt.badge.img+9
  • Community Manager
  • 626 replies
  • Answer
  • July 12, 2021

Hello Sam,

 

For your portal customization requirements, we can see that a ticket has been raised with us. To change the feedback text “Was this article helpful? Yes No”, please try the code snippet that our agent suggested (adding below for reference):

<script>
let new_t = jQuery("p.article-vote").html().replace("it helpful", "this help article helpful");
jQuery("p.article-vote").html(new_t);
</script> 

Also, to change the text in the feedback form options, let us check the feasibility of the requirement and reach back to you via the ticket. 

 

Thank you,

Freshdesk Community Team


Reply