Skip to main content
Solved

Adding category descriptions to knowledge base

  • Jan 24, 2024 1:37 AM UTC
  • 2 replies
  • 159 views

Patrick.C
Apprentice
Forum|alt.badge.img

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?

Best answer by Patrick.C

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>

View original

2 replies

Patrick.C
Apprentice
Forum|alt.badge.img
  • Author
  • Apprentice
  • Answer
  • Jan 25, 2024 12:14 AM UTC

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>


hemanth.ramya
Contributor
Forum|alt.badge.img+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,