Recherches récentes


Pas de recherche récente

Can you customize the "searches with no results" page?

Avec réponse


Publication le 05 avr. 2023

If someone searches in our Help Center and doesn't get a result, they currently see text that says:

"Try searching another keyword. Browse Help Center"

Is it possible to customize what appears on that page? I'm not sure how to find that code to edit it. Any insights are appreciated. Thank you!


1

2

2 commentaire

Hey 

We created an article for not found that contained information and then added this to the script.js. We could then add our own content to it. It required being at the top of the script.js and we use a custom marketplace template.

$(document).ready(function() {
  if ( window.location.href.indexOf('articles') > -1 && $(".not-found").length > 0 ) {
window.location.href = 'New Article URL';
}

 

Hope this helps.

0


image avatar

Brett Bowser

Zendesk Community Manager

Awesome solution Oliver! Thanks for taking the time to share this with everyone!

0


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication