HC Tip: Add "Promoted Articles" to front page + modify text in multiple languages

8 Comments

  • Lanna L.
    Comment actions Permalink

    @Andrea, This is very helpful. I also like the organization of your help site in 4 clickable tabs. Was this placeholder code  or a theme that Zendesk provided or did you have someone do this inhouse. I have only been using the new Help Center for a short while so I am trying to figure out my customization options. Thanks for your help

    0
  • Andrea Saez
    Comment actions Permalink

    Hi Lanna,

    We did this in-house. 

    You can check the document I wrote here: https://support.zendesk.com/entries/25627507-Adding-Navigation-Images-to-Help-Center-with-use-of-dynamic-content-

    Best of luck!

    0
  • Wes Drury
    Comment actions Permalink

    Great tip Andrea and thanks for sharing!

    0
  • Varun Juneja
    Comment actions Permalink

    Hi Andrea

     

    I followed your tip and modified the CSS as the handlebar was already there on the home page

    But it doesnt show the articles bulleted. There are no bullet points showing up for me

    0
  • sylvain.egger
    Comment actions Permalink

    Hi!

    The post is quite old but I'm trying to get my promoted article always on top on the homepage by reproducing your tip and here is the error I get when modifying my homepage code:

    Thanks for your help!

    0
  • Trapta
    Comment actions Permalink
     
     
    You are right, this post is quite old and is outdated now. Please use the below code to show the list of promoted articles instead of one mention in this post.
     
    {{#if promoted_articles}}
    <section class="articles">
    <h2>Popular Question</h2>
    <ul class="article-list promoted-articles {{#isnt settings.custom_block_visibility 'show'}}update-width{{/isnt}}">
    {{#each promoted_articles}}
    <li class="promoted-articles-item">
    <a href="{{url}}">
    {{title}}
    </a>
    </li>
    {{/each}}
    </ul>
    </section>
    {{/if}}

    Let me know if you face any issue.

    Thanks

    Team Diziana

    0
  • Shay McElroy
    Comment actions Permalink

    This is what I'm getting.

    1 error

    Not possible to access `custom_block_visibility` in `settings.custom_block_visibility`

    0
  • Trapta
    Comment actions Permalink

    Hi @Shay,
    Can you provide little more details on it? Where are you putting this component? Are you trying to put it in the promoted_articles component?
    An screenshot of your template will be of great help.

    Thanks
    Team Diziana

    0

Post is closed for comments.

Powered by Zendesk