Solved

Adding category descriptions to knowledge base

  • 24 January 2024
  • 2 replies
  • 35 views

Badge

Hi all,

I am trying to modify our knowledge base view to show the category descriptions, but I cannot find instructions on how to include this. Is there custom code available to include the category description for each category when users are viewing all of our solution categories?

icon

Best answer by Patrick.C 25 January 2024, 01:14

View original

2 replies

Badge

Update: I was able to solve this query myself by adding this line of code:

<p>{{category.description}}</p>

 

I added it to the portal pages for ‘solutions home’ and ‘solutions category home’, immediately below this existing line of code:

<h2 class="heading">{{ category.name | h}}</h2>

Userlevel 5
Badge +9

Appreciate you sharing the solution here, @Patrick.C 

Feel free to add a note for any further queries and we would be happy to help. :)

 

Cheers,

Reply