Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Plugins by

I want to have the favorite icon on question lists for each question as well.

is there a way to modify the code to get that to work ?

if (isset($favorite)) {
$this->output('<DIV CLASS="qa-favoriting" '.@$favorite['favorite_tags'].'>');
It seems that the needed parameters could be listed as needed for the function
function qa_user_favorite_set($userid, $handle, $cookieid, $entitytype, $entityid, $favorite)
As always, any hint is welcome !
Q2A version: 1.5.2

1 Answer

0 votes

See qa-page-favorites.php for how to retrieve the full list of favorited questions for a user. Having that list, you could then modify the question list output via an advanced theme or layer.