Changing your Help Center design based on your end-user's language (Guide Professional and Enterprise)

Have more questions? Submit a request

38 Comments

  • Michele Italo D'Amato
    Comment actions Permalink

    @Trapta Thanks it worked.

    -1
  • Anton Van der meyden
    Comment actions Permalink

    Hello @Jacob J Christensen 

    On this comment that you left I cannot get it to work. Can you please help me out?

    Your placeholder in Zendesk support:

    {{dc.placeholder}}

    Your placeholder should look like this in the html templates:

    {{dc 'placeholder'}}

    Hope that helps you out!

     

    Here is the code I'm using:

    if(ticketForm == 360001513253) {
    $('.form-field.request_subject').hide(); 
    $('.form-field.request_description').hide(); 
    $('#request_subject').val('Your Deactivation Request Has Been Recieved'); 
    $('#request_description').val('{{dc'autosolve_pending_ticket-15_day_reminder-project_boost'}}');

    I have hidden the description field and subject field. I would like the dynamic content to pick up the requester language and display the content in the dynamic content to them.

    I'm doing this in the template called script.js

    Do you know what I'm missing?

     

     

     

    0
  • Trapta
    Comment actions Permalink

    Hi @Anton Van der meyden,

    This will not work in script.js file. You need to put the code at the bottom of new_request_page.hbs template under <script></script> element.

    Let me know if this solves your issue.

    Thanks

    1
  • Anton Van der meyden
    Comment actions Permalink

    Hello@Trapta,

    Thank you for your help.

    I tried my code on the template new_request_page.hbs

    Here is the code I added to the bottom of the template.

    <script>
    $(document).ready(function(){

    var ticketForm = location.search.split('ticket_form_id=')[1];

    if(ticketForm == 360001513253) {
    $('.form-field.request_subject').hide(); 
    $('.form-field.request_description').hide(); 
    $('#request_subject').val('Hello'); 
    $('#request_description').val('{{dc'autosolve_pending_ticket-15_day_reminder-project_boost'}}');

    }

    });

    </script>

    It gives the error the subject field and description field cannot be blank.

    Can you assist further with this please?

    Thank you.

     

     

     

    0
  • Anton Van der meyden
    Comment actions Permalink

    Hello @Trapta,

    I got it to work. There was an issue with the DC.

    Thank you for your help.

     

    0
  • David A
    Comment actions Permalink

    This is helpful. It would be great to be able to use dynamic content within a help center article. 

    Use Case: Mainly for screenshots that we embed in our help Centers. Recently we redesigned our User Interface so we had to go through our entire help center replacing and screenshots of our old interface, with the equivalent screenshot from our new interface. Many screenshots show up in more that one article, so dynamic content would reduce the amount of content we have to update and give us visibility into all the screenshots that are being used in our help center

    0
  • Adrien LE ROY
    Comment actions Permalink

    Hi,

    Is it possible to use the same logic for images and if so, how ?

    I have some images in the templates of my different pages (see screenshot) and I would like to be able to change this image depending on the language of the Guide. If possible I would also like to be able not to display an image for a specific language.

    Thanks !

    0
  • Brett - Community Manager
    Comment actions Permalink

    Hey Adrien,

    I wasn't able to find any tips specific to your use-case, however, it does look like one of our Community Moderators submitted a tip onHow to change the banner image of your Zendesk Help Center for each language. Perhaps this will point you in the right direction?

    Hopefully others can jump in and offer up some advice as well.

    Cheers!

    0

Please sign in to leave a comment.

Powered by Zendesk