Hi,
I think we found a bug within the code.
When authentified on our website, users can go to their profile and see their favorite items (i.e. videos, forum topics, articles...).
Favorite items are displayed through templates called default_list_ourApp_fav_item.php.
But since we migrated from Cobalt 7 to Cobalt 8, favorite items were not being displayed anymore and apparently the *_fav_* templates were not being included anymore.
In /www/components/com_cobalt/models/records.php file, we found what we think is a bug on line 714:
if($view_what == 'favorited')
We changed that to if($view_what == 'user_favorited')
and now the display of favorite items is done as it was before.
Regards
Hi,
I think we found a bug within the code.
When authentified on our website, users can go to their profile and see their favorite items (i.e. videos, forum topics, articles...). Favorite items are displayed through templates called default_list_ourApp_fav_item.php.
But since we migrated from Cobalt 7 to Cobalt 8, favorite items were not being displayed anymore and apparently the *_fav_* templates were not being included anymore.
In /www/components/com_cobalt/models/records.php file, we found what we think is a bug on line 714:
if($view_what == 'favorited')
We changed that to
if($view_what == 'user_favorited')
and now the display of favorite items is done as it was before.Regards