I created a custom Joomla plugin and I want to display my custom data on content in category blog. I use oncontentprepare event for display data. But in category blog only show all data on first article. My sample code this is:
public function oncontentprepare ($context , &$article , &$params , $page=0)
{
$attribs = json_decode($article->attribs);
echo $attribs->customData;
}
when echo my data only show on first article in category blog. I want display data by using my plugin and without use template overwrite or regular expression.
How can do it? it's possible? thank you