Skip to main content

Hide Date on Articles


Does anyone know if there is a way to hide the "Modified On" that automatically shows up under the titles of Knowledge Base articles?

Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

  • Top Contributor
  • 40 replies
  • August 23, 2019

Hi Anja,


It'll depend on what plan you're on but basically you'll need to customise the HTML in your portal.


In Admin, go to Portal. Click on Customise Portal, Layout & Pages then Portal Pages. Choose "Article View".


From here you can edit the information on this page in the portal

image


In your case, deleting Line 17 would probably do it.




  • Author
  • Apprentice
  • 2 replies
  • August 26, 2019

This worked for me, thank you!


  • Community Debut
  • 1 reply
  • October 9, 2019

Is there a way to make 'Modified on' only viewable to agents and not the customer?



  • Top Contributor
  • 40 replies
  • October 9, 2019

I haven't tried it and am pretty bad with the Liquid syntax but if you have ability to edit your HTML then you could try making a conditional statement in Liquid like:

{% if portal.user.user_role ==  "Agent"

<div id = "ModifiedOn">

      <p>{% translate portal.article.modified_on %} {{ article.modified_on | short_day_with_time }}</p>

</div>

{% else %}

<!--display something else if user is not agent -->

{% endif %}


User access info for Liquid is all here:

https://support.freshdesk.com/support/solutions/articles/65043-managing-user-access