Showing results for 
Show  only  | Search instead for 
Did you mean: 

Labels Component on Category Pages

Hello Lithosphere,

We would like to have a Labels component on our category pages, to display the labels used on all boards within that category, which can be clicked to filter content from those boards with that label.


This Li Doc states that labels are board specific:

Has anyone figured out a way to get the Labels component to work in the context of a Category?

Have there been any updates to this functionality, or are there any workarounds to achieve this?

Thank you,


7 Replies 7

@jeremylatimer - Unfortunately, labels component works under board page context.   Also, by default lithium doesn't show threads on the category page, if you have created a custom component to show thread on the category page, you have to create a custom component for labels as well. 

Below is the approach you can achieve this. 

1. Get the boards list for current category using LITHIUM API. 

2.  Get predefined labels for each board and store in an array. 

3. Loop through labels array and use below query to get the count of threads against each label. 

SELECT count(*) messages where labels.text = 'label name' AND = '${}'


Give kudos if you find my posts helpful or mark solution if it answers your query.

I can't find it, but I swear that Lithium has this under development and even in beta for customers that want to try it out -- I may be completely imagining this though as I can't find the source post I read this in.

Thanks Tariq,

This method just might work for us. Definitely a good idea to look into.

Thank you,


Thanks Stan, good to know, that would be great if that's the case.


Hi Stan,

I entered a Li Support Case to ask about any feature developments related to this, and the closest thing they found was related to Category Subscriptions:




@jeremylatimer - Ah, good call - That explains why I couldn't find it 😄

Not applicable

Isn't it 

SELECT count(*) FROM messages 

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.