I found this page on how to implement a custom field in article:
and it works well, but only in
What should I do else, to make it show that custom field in each article, when in
category blog view?
I tried adding :
$dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('content', 'plg_content_rating'); $results = $dispatcher->trigger('onContentPrepare', array('com_content.category', & $this->item, &$this->item->params, 0));
category blog override file, but that didn't work.
there is a line like this:
$results = $dispatcher->trigger('onContentPrepare', array ('com_content.category', &$item, &$this->params, 0));
Shouldn't that already trigger all registered content plugins?
The similar line in
article's view.html.php file, works well for that