Is it possible to show total entry votes value? Is there something like {{entry.total_vote}}? For now, I use entry.vote_rate but I don't think this is the correct way to show the total votes for an entry. Let's say upvote and downvote rates are 1 and if there is 5 upvotes and 2 downvotes for an entry, I would like to show 3 for the entry.
If the answer is yes for the first question, then how can I update this value dynamically without browser refreshing. e.g. when user clicks the upvote or downvote, the entry's total vote value will be updated in the html without any browser refresh.
I have two questions.
Is it possible to show total entry votes value? Is there something like
{{entry.total_vote}}
? For now, I useentry.vote_rate
but I don't think this is the correct way to show the total votes for an entry. Let's say upvote and downvote rates are 1 and if there is 5 upvotes and 2 downvotes for an entry, I would like to show 3 for the entry.If the answer is yes for the first question, then how can I update this value dynamically without browser refreshing. e.g. when user clicks the upvote or downvote, the entry's total vote value will be updated in the html without any browser refresh.