Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
I would like to know if couch has a way of creating functional "like" buttons that we can use to like comments, blog entries, images e.tc... and can be viewed from the admin panel also. If yes, how is it used?
Here is the logic to code it:

Naturally, "like" buttons should work without page refresh. So, make it happen with JS and AJAX. <cms:is_ajax > will help to manage the ajax code in the template. Saving the new number comes to updating a simple text field in CMS with <cms:db_persist />, and code with this tag is triggered by your ajax request.
trendoman, I'm virtually new to couch and have no idea how to implement the solution you just gave me. Will be very grateful if you can lend a helping hand. Thank you
Ok. Have you got JS-AJAX experience? It's not couch-related, but essential for this.
Perhaps using the 'votes' module would save some effort - viewtopic.php?f=5&t=8133
It comes without a front end GUI, so @trendoman's AJAX suggestion would still be applicable.
@trendoman, no I don't have js/ajax experience but I know some jquery.

@KK, ok thank you. Will have a,look at the link you sent
6 posts Page 1 of 1