Pesquisas recentes


Sem pesquisas recentes

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

Respondido


Publicado 05 de abr. de 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 comentários

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação