Can I edit the error page in Help Center?

Have more questions? Submit a request

6 Comments

  • Sarah Driver
    Comment actions Permalink

    How can you edit the text that appears as a result of the inclusion of e.g. {{t 'nonexistent_page'}}? Is it possible?

    0
  • Trapta
    Comment actions Permalink

    Hi @Sarah,

    You can simply replace the component with TEXT you want to show so that, your code will look like <h2>TEXT</h2> from <h2>{{t 'nonexistent_page'}}</h2>.

    If you are on Professional or Enterprise plan then, you can also use dynamic content in place of TEXT.

    Thanks

    0
  • Robert
    Comment actions Permalink

    I have a Swedish Zendesk. Am I not able to edit the text at the root? I.e. go to the place where the "nonexistent_page" variable and the "mistyped_adress_or_moved_page" variable are defined and edit their texts there? 

    Our current text is not optimal. 

    0
  • Devan - Community Manager
    Comment actions Permalink

    Hello Robert,

    You should be able to edit this as well on your en by navigating via the following route. 

    guide manager > themes > select the theme to edit > edit code > error_page.hbs

    I've also included an article that goes into detail on how to make changes to your Help Center.

    Customizing your Help Center

    Best Regards!

    0
  • Robert
    Comment actions Permalink

    But my error_page.hbs looks like the code below. Where do I edit the "<p>{{t 'mistyped_address_or_moved_page'}}</p>? i.e. the content of mistyped_address_or_moved_page?

     

    <div class="container-divider"></div>
    <div class="error-page">
    <h1>{{t 'oops'}}</h1>

    {{#is error 'unauthorized'}}
    <h2>{{link 'sign_in'}}</h2>
    {{/is}}

    {{#is error 'forbidden'}}
    <h2>{{t 'not_authorized'}}</h2>
    {{/is}}

    {{#is error 'not_found'}}
    <h2>{{t 'nonexistent_page'}}</h2>
    <p>{{t 'mistyped_address_or_moved_page'}}</p>
    {{/is}}

    {{#link 'help_center'}}
    {{t 'back_to_homepage'}}
    {{/link}}
    </div>

    0
  • Sebastiaan Wijchers
    Comment actions Permalink

    Hello Robert,

    You cannot change the value/translation of mistyped_address_or_moved_page, so if your help center is just Swedish, I would just replace the whole '{{t 'mistyped_address_or_moved_page'}}' part with a text of your liking.

    With kind regards,

    Sebastiaan
    Sparkly ⭐

    P.S.
    In case you need a 'translatable' value, let me know. Then I'll propose another solution.

    0

Please sign in to leave a comment.

Powered by Zendesk