View Full Version : Include Likes num. in Category list

10-05-2014, 11:42 AM

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, 08:11 AM

We will inform you if the feature will be implemented.

10-10-2014, 04: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, 04:27 PM
FYI: on synchronization votes are stored in likebtn_items table.