View Full Version : Include Likes num. in Category list

10-05-2014, 12:42 PM

I would like to show the number of likes in a Category List (i.e. Article list). It does not need to include the possibility of liking/disliking in the category, but it should at least show the number. I would also like it to be possible to sort based on the liking "rate", similar to the standard voting system from Joomla.

It would be a major plus to replicate this functionality in the Authors profile in Community Builder, but this could be secoundary.

Thank you very much for your support.

10-06-2014, 09:11 AM

We will inform you if the feature will be implemented.

10-10-2014, 05:06 PM
So I am thinking about how to do this and (even though I know little about PHP), I am thinking maybe we could create a field in the Article and then assign the value of the likes to it. Then, it would be a matter of being able to display this on the Category list, but that's another problem.

Do you know which is the lines of code we should use to obtain this number and assign it to a certain variable/article field? (in fact we would need 2, one for the Likes and another one for the Unlikes).


10-10-2014, 05:27 PM
FYI: on synchronization votes are stored in likebtn_items table.