Let's say that your company targets the French and English speaking markets. You would therefore like to have a different footer on your help center to provide different contact information based on your customer's language. Or maybe, for a better customer experience, you'd like to display the French support number only to French speaking customers. In this article, you'll learn how to set this up.
This article covers the following topics:
Creating a new dynamic content item
You need to be a Zendesk Support administrator to create dynamic content. In this example, you'll create a dynamic content item with a French variant and add the HTML code of the footer you'd like to be displayed for French speaking customers. Dynamic content allows you to choose a default language. A good best practice is to English if your customer selects a language for which you don't have a footer translation.
- In Admin
Center,
click
Workspaces in the sidebar, then select Agent tools > Dynamic Content.
- Click Add Item .
- Choose a name, such as footer or HC_footer to more easily find your help center related dynamic content later.
- Select a default language such as English.
- Paste the HTML code you want to display for English speaking customers in the content box.
- Click Create to save your dynamic content item.
- Notice the item's name between curly brackets. You'll use that later on.
- Now add one or more other translations. To do so, click Add Variant and follow steps 3-6 again.
Your dynamic content ready. Now, you can add it to your help center.
Modifying your help center theme
- In Guide, click the Customize design icon (
) in the sidebar.
- Click the theme you want to edit to open it.
- Click the options menu, then select Edit Code.
- This example modifies the footer so open the Footer template.
- Use the following syntax to insert the dynamic content item we created above: {{dc ' item_name '}}.
- Click Save and you'll be able to see the newly added footer.
- Click Publish changes.
Now, your custom footer on your help center and the text will be displayed based in the language your customers select on the homepage.
This article covered only the footer but you can go further than that. You could have a completely different look and feel based on your customer's language. Or maybe the product you're selling has a different name in French than in English; in this case you can use dynamic content to display a different logo based on the customer's language.
34 comments
Anne Ronalter
in this case, it should be possible to add the language variants to your account.
To do so, please open a ticket with Zendesk Support, so that we can work on that / investigate it.
0
Alexandra Weininger
I find this to be terribly hard for a user without coding experience to use. I'm trying to simply add a banner notification about the status of our product at the top of our page. References to dynamic content are added in by default when I do not want to use dynamic content.
When I open the theme settings>General page elements>notification content and add a basic banner message, no matter what I type the banner is preempted by this text
"Could not find the placeholder for dynamic content named"
Is there a way for me to remove this reference to dynamic content? I have no intention to customize this banner to users at the moment and want it to be a blanket statement to anyone visiting the site.
0
Moshe Anisman
I managed to add the Dynamic Content to the Guide. Normal Text/HTMl is working but when adding a placeholder it is not rendering and is displayed as a text for example it shows
"{{ticket.title}}" instead of the actual ticket title . Any clue ?
0
Mike DR
0