Skip to main content

Hide Date on Articles

  • July 1, 2019
  • 4 replies
  • 296 views

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

This topic has been closed for replies.

4 replies

  • Active Contributor
  • 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
  • August 26, 2019

This worked for me, thank you!


  • Community Debut
  • October 9, 2019

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



  • Active Contributor
  • 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