Guide Search Needs to show date of last article update

6 Comments

  • Sam
    Community Moderator

    Hi SCORE Staff!

    To change this, you will want to do the following:

    1. Go to Guide Admin -> Customize Design -> Customize (for whichever theme you're working with)
    2. On the customization page, select Edit code in the bottom-right
    3. On the code editing page, select search_results.hbs on the left sidebar
    4. In the search_results.hbs code, locate the following line: <span class="meta__item">{{date created_at}}</span>
    5. Either update the created_at part to be updated_at, or you can use <span class="meta__item">{{date updated_at}}</span> if you'd like to have both, etc.

    There are two variables you can use - one is edited_at, the other is updated_at. Unfortunately, the documentation is not great at explaining the difference between the two. Hope the above helps!

    -1
  • CJ

    Is there any way to make the update_date reflect only the update for the language being searched/viewed? Currently it seems it shows the most recent update date for any translation of the article. 

    0
  • Dane
    Zendesk Engineering
    Hi CJ,
     
    I have tried to use {{date edited_at}} and it's not showing the translation of the articles I have. Unfortunately, we can't directly help you on this concern as this is considered a form of customization that is outside our scope.
    -1
  • Info

    Is it possible to NOT show the 'last updated date' in the articles? 

    0
  • Gabriel
    Zendesk Customer Care
    Hi there,
     
    The code that displaying the date of the articles creation and update is located in the article-author div on theunder aritcle_page.pbs. You will find the below code, that contains all of the information displayed in an article including author, date, or timestamp on Help Center articles.
     
    Remove this content or modify it to display the information that you would like.


    For more information, please see this article: Editing the article's author, date, and timestamp
     
    0
  • Jenny Bracy

    This is not helpful! Come on Zen. You should make this easier for end users. It's a simple need that many of us have. Think about your end users.

    0

Please sign in to leave a comment.

Powered by Zendesk