Solved

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

  • 12 July 2021
  • 1 reply
  • 26 views

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. 

 

 

icon

Best answer by hemanth.ramya 12 July 2021, 14:08

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

1 reply

Userlevel 3

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