Using the Help Center templating language (Guide Professional) Follow



  • Avatar
    Will Strohl

    Where can I find a list of the various handlebar tokens that Zendesk provides in each view?  I've looked and looked and can't find any.  All I get are very specific, beginner examples of editing themes.

  • Avatar
    Jessie Schutz

    Hi Will!

    You can find our complete Curlybars documentation here:

    Please let us know if you have any other questions!

  • Avatar
    Will Strohl

    Thanks, Jessie.  I found that on multiple occasions, but I don't see where it defines which properties are available to which views, and which properties those properties have.

  • Avatar
    Charles Nadeau

    Hi Will,

    Click any object links in the "Available properties" tables in the template-specific docs. For example, in the Section page doc, clicking the article object link for the promoted_article property will take you to the object's reference doc.

    Is this what you're looking for?


  • Avatar
    Will Strohl

    Thanks, Charles.  This is exactly what I'm looking for.

  • Avatar

    Hi, people!

    Please tell, is it possible to use a helper which is not available in some particular template? For example, I'd like to display the user name in the Header: 'Hello, {{}}, nice to meet you!"

  • Avatar
    Mario Landa

    Is there a developer mode that would allow me to modify the raw HTML? Or do I have to use the templating engine no matter what?

  • Avatar
    Nicole Relyea

    Hey Mario - 

    The templating engine should give you access to the HTML code; there's not a separate mode. 

  • Avatar

    quick question... is it possible to use multiple #is statements with an else statement? I tried the following, but it throws a syntax error. 

    {{#is name 'Get Verified'}}<span class="section-name"><i class="fa fa-shield" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'Member Login'}}<span class="section-name"><i class="fa fa-sign-in" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'Orders & Shipping'}}<span class="section-name"><i class="fa fa-truck" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'Returns & Exchanges'}}<span class="section-name"><i class="fa fa-reply-all" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'Tickets & Travel'}}<span class="section-name"><i class="fa fa-ticket" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'General Help'}}<span class="section-name"><i class="fa fa-handshake-o" aria-hidden="true"></i>{{name}}</span>
    {{#is name 'Customer Support'}}<span class="section-name"><i class="fa fa-info-circle" aria-hidden="true"></i>{{name}}</span>
    {{else}}<span class="section-name">{{name}}</span>{{/is}}

    Is there a better way to tackle this?

  • Avatar
    Charles Nadeau

    You'll need to set up some kind of  #if condition:

    {{#if condition}}
      This is rendered if the condition is true.
      This is rendered if the condition is false.

Please sign in to leave a comment.

Powered by Zendesk