Edit "Your request was successfully submitted" confirmation

Respondida

42 Comentarios

  • Danny Cohen
    Acciones de comentarios Permalink

    Thanks for the help everyone! I was able to manually find all the strings in all the languages enabled using the inspect tool in Chrome. 

    I was just hoping that there was a key for this phrase in the t (translation) helper for the Help Center. 

    0
  • Nicolas Materne
    Acciones de comentarios Permalink

    Hello everyone,

    I would have liked to know if it was possible to add an element in the confirmation (for example a button, an img)?

    Thank you for your help !

    0
  • Devan
    Acciones de comentarios Permalink

    Hello Nicolas,

    This is possible but would require custom code development on your end. This article has information on how to customize your Help Center theme: 

    Customizing your Help Center Theme 

    Let us know if there is anything else we can assist with and have a great day.

    0
  • Sebastian
    Acciones de comentarios Permalink

    Is it possible to show your own success page? So rerouting not to the dashboard but to a new page telling the user everything is fine?
    We always had the problem that this small message on top was overseen by users. Now it's even worse. There is no message appearing at all anymore when the user is not logged in.
    I checked the sourcecode and found that the code is completely missing but instead, when I am logged in I see a small popup for some seconds. In grey. Which is even worse. Many will not see it.

    But the worst thing for now is that no message at all appears. Why is that? I noticed the popup code has some header:

     Greetings sourcecode lurker!

       This is for internal Zendesk and legacy usage,
       we don't support or guarantee any of these values
       so please don't build stuff on top of them.

    I think this code might be the reason that users do not receive a success message and send us multiple tickets at once.

    But we would like to make the success message better anyway.

    0
  • Jonathan Brown
    Acciones de comentarios Permalink

    The original fix answered for changing CSS appears to be broken as of the past few days. 

    .notification-notice
    selector no longer works.

    Zendesk seem to have changed something with this notification for whatever reason.
    (i don't know why they're made changes effecting non coppenhagen default themes but whatever)
     
    suggest using this css selector instead:
    div[data-test-id="notification"]
     
     
    0
  • Jessie
    Acciones de comentarios Permalink

    Hi Jonathan Brown , Is it possible to change the text only on submission of a specific form and not for all of them? i mean can i include form id in this

    <script>
    if ($('span.notification-text:contains("successfully")').length > 0) {
    $('span.notification-text').text("{{dc 'DC-ITEM-NAME'}}");
    }
    </script>

    P.S the code suggested above isn't working.

    0
  • Liam
    Acciones de comentarios Permalink

    Hi All,

    Is there a way to point the user to a specific page once they've filled out the form? Since Zendesk has changed the notification the customers often miss it or it doesn't appear at all, which means they just fill out another form.

    0
  • Jonathan Brown
    Acciones de comentarios Permalink

    Hi Jessie

    Unfortunately not that I've found, at least not without more effort than you should have to put in.

    You could take the ticket id from the URL and do an api call to get the details of it and you'd know what form it came from .

    Liam, you can use the If statement Jessie just uses and instead of changing the color do:
    window.location.href = 'wherever/you/want/to/go'

    0
  • Cole (Contractor)
    Acciones de comentarios Permalink

    This solution no longer works. It appears the default theme is moving toward a different architecture. The popup now appears in the upper right of the viewport and looks like this:

    The recommendation from Jonathan Brown almost works. It will retain the font-size (as you can see in the image) but discard the specified color. The compiled template is nearly impossible to deconstruct. The two primary questions that come up about this are: 

    1. How can I theme this? (Color, size, location, and fonts)
    2. How can I change the message?  

    Would it be possible to get a solution that addresses both of the above? Does Zendesk plan to release a Theme SDK based on the new template?

    0
  • Jessie
    Acciones de comentarios Permalink

    Did you find a solution to this?

    Jonathan Brown is there any workaround for changing the text? it doesn't seem to be working

    0
  • Liam
    Acciones de comentarios Permalink

    I've found the best solution for this is to redirect the user to a submission successful page once they've filled a new request. You can create a page as a normal article, but be sure to hide from the section. Also, you'll want to style that page so it doesn't look like an article.

    To set up a redirect add into the document_head.hbs file

    <script type="text/javascript">
    if ( window.location.href === "https://help.yourcompanyname.com/hc/en-us?return_to=%2Fhc%2Frequests"){
    window.location.href = "https://help.yourcompanyname.co.uk/hc/en-us/articles/36345615515-Submission-successful";
    }
    </script>
    0
  • Jessie
    Acciones de comentarios Permalink

    Thanks Liam , and did you find a solution for changing the request submitted text? That's where im stuck at i couldn't find a solution to this.

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk