Please, i need your help in enabling voting/rating in article category blog layout instead of just displaying the rating score.
I want users to be able to vote from the category blog layout because there will be no link for the user to go to the full article where they could have voted.
After some digging
The code that determines the display of of the drop-down box for the selection of votes and voting in articles is this:
if ($this->app->input->getString('view', '') === 'article' && $row->state == 1)
found on line 131 of plugins\content\vote.php
When i changed the 'article' in the code above to 'category', the voting drop-down displayed on the category blog layout but when i selected a score and tried to vote, i got this error message:
Fatal error: Call to undefined method ContentModelCategory::storeVote() in http://site.com\components\com_content\controllers\article.php on line 349
Please, your inputs and possible solution is highly welcomed.
Thanks in advance.