HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Need portal to not show closed tickets when logged in


#1

The portal is working great with our staff members as they can check on tickets. Most of them log in to check ticket status. Being that they put in 5-10 tickets a day, they would like only open tickets to show up when they’re logged in. Is there a way to customize the portal to show only open tickets when logged in?


#2

Hi!

Sure, this is something you can accomplish by editing the portal templates, specifically template request.history.tpl.php.

Here is information on where to find the templates and how to edit them: https://support.helpspot.com/index.php?pg=kb.page&id=9

I’ve created a gist with what I believe would be what you’re looking for - it checks if the request is open or closed. If it’s not an open request, it skips displaying it: https://gist.github.com/fideloper/00718cbd9a96670e04b4c68370b1c788#file-request-history-tpl-php-L34

However you may need to adjust that if you want to check for business logic you use such as “is closed and status is ‘Resolved’”.


#3

Thank you chrisfidao. That worked perfectly.