最近搜索


没有最近搜索

Change the order comments inside of tickets in end-user view

已回答


已于 2022年8月22日 发布

Is it possible to change the order in which End-users see comments for their tickets in "My activities" page. 

I want to change it, so the most recent comment is on the top.

Is it also possible to change where the exact date and time is displayed on the comments rather than "2 months ago"


2

15

15 条评论

6107228953370 that is actually a setting in Guide admin > Guide settings (gear icon) > Requests > Sort by newest comment to oldest. I didn't have to change the code.

0


Hi 1900355475404 ,

 

Are you able to share what your code setup looks like to have the newest comments appear at the top and oldest descending down the page?

0


Hi 6668973298714,

Sure thing. I just moved the form element inside the <div id='main-content" class="request-container> in right under {{satisfaction}} of the request_page.hbs. Here's a screenshot of where it's placed today in our help center. I also added a line break <hr> to divide the comment box from the most recent comment on the ticket. I'm using Templating API v3 (version 3.1.2 to be exact).

It took a bit of trial and error to make sure all other elements respond as expected but I think this did the trick. I hope this helps.

0


@ ivan  We have the same issue here, but I saw that you solved it with changing the html, you mind share what you did that made it work? 

 

/ Isabella

0


Yay! I'm glad to hear you were able to get it sorted. Feel free to reach back out in the Community if you need anything else.

0


Thanks, 1264158211329 I have looked into those resources in the past with no lunch. However, I figured it out by playing with the HTML elements until I got it right.  I appreciate the help.

0


Hi Ivan, 
 
You could attempt to do this by customizing your help center theme. I recommend taking a look at our Help Center customization and templating guides. Our Help Center cookbook does include how to add sorting options to the My Activities page for end users. 
 
Hope this helps!

0


Hi 1264158211329!

Not sure why the permalink to the comment doesn't work. It should have linked Holly's comment from Mar 29, 2023 above. However, looks like I can paste images now, here's what I was referring to.

We want to move the comment box to the top and the conversation order in descending order from newest to oldest (newest or most recent one on the top right below the comment box).

How could we accomplish that?

0


Hi Ivan! 
 
I'm sorry I can't seem to access your reference link. 
 
Have you looked into editing the code directly in the theme editor? 

0


Hi @Ifra,

 

Curious to know if there's a solution out there to move the “Add to conversation” comment box to the top of the comment list just under the ticket title for end users in “Requests." (for reference https://support.zendesk.com/hc/en-us/community/posts/4880925102746/comments/5538554709274)

In our case, we also have the conversation sorted “from newest to oldest” to prevent end users from going to the last page to view the latest comment on the ticket. I'm looking for a way to move the comment box to the top so it aligns with the comment order and to improve the end-user experience

Is there a way we can accomplish this through HTML/CSS/JS?

P.S. It seems the new Zendesk Support theme doesn't allow to attach screenshots :/

 

 

0


登录再写评论。

找不到所需的内容?

新建帖子