Skip to main content
Question

snippet problem

  • January 22, 2025
  • 1 reply
  • 17 views

donia_ats
Contributor
Forum|alt.badge.img

Hello,

I have a problem. I’m doing a redesign of the Freshdesk user portal based on the MINT theme. The old code to display tickets is as follows: 

“<section class="ticket-page">
  <div class="container">
    <div class="ticket-toolbar pull-right">
      <a href="{{ portal.ticket_export_url }}" data-target="#export-modal"
          id="ticket-export-button" rel="freshdialog" class="d-hide"
          data-submit-label="{% translate portal.tickets.submit_export %}"
          title="{% translate portal.tickets.export_ticket_data %}">
        {% translate portal.tickets.export %}
      </a>
    </div>
    <div id="ticket-filter-container">
      {% snippet ticket_filters %}
    </div>
    {% snippet ticket_list %}
  </div>
</section>”

 

When I copy and paste in the redesign of this part, the list of tickets is displayed well but the snippet of the filters appears but does not work. (Click in the void) Why ? 

 

Did this topic help you find an answer to your question?

1 reply

blockbench
Community Debut
  • Community Debut
  • 4 replies
  • February 27, 2025

The issue with the ticket filters not working in your redesigned Freshdesk portal could be due to JavaScript conflicts, missing event handlers, or CSS issues. Ensure that all necessary JavaScript files are loaded and check for any errors in the browser console. Additionally, verify that the event listeners for the filter elements are correctly initialized and there are no CSS rules preventing interaction. It’s also worth checking if the Freshdesk snippet is rendering the filters properly and that there are no caching issues in the browser.


Reply