Recent searches
No recent searches
Displaying promoted articles from a particular section on the Help Center home page
Posted Oct 28, 2015
Hi Everyone,
We're currently building out our help center which is a really exciting time for us.
One thing we're looking to do is something similar to Zendesk have on the home page of their own help center. We want to include a "Troubleshooting" section, visible on the home page, which displays a list of all promoted articles from that very specific section, within a category.
I'm having a real hard time figuring out how to do this, although I'm sure it must be possible. I tried this code:
{{#is section.id '201697321'}}
{{#each article.promoted}}
<li><a href="{{article.url}}">{{article.title}}</a></li>
{{/each}}
{{/is}}
Only to be given a "invalid reference: {{article.promoted}} at line 14" error message.
I'm very new to working with Handlebars, and the Zendesk help center in general, so I really hope this is something small and me just being a newbie, but does anybody have any suggestions on how I can achieve this?
Thanks,
Paul.
0
31 comments