Hello,
in K 6.0.1.1 (J 4.1.5) i've an issue with a content plugin (not tested if the issue is with other content plugins, too, i need only this one).
The plugin works fine on com_content and even with other extensions (Community Answers and Hikashop), but Kunena seems to ignore onPrepareContent event.
Of course i've enabled Kunena system plugin, set "Joomla Content Plugin Support" to "Yes" and "Run plugins on" to everything.
Just in case, the content plugin begins with:
Code:
<?php
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\CMSPlugin;
class plgContentJoomLaTeX extends CMSPlugin {
function plgContentJoomLaTeX(&$subject, $params) {
parent::__construct($subject, $params);
$this->_plugin =& JPluginHelper::getPlugin( 'content', 'joomlatex');
}
public function onContentPrepare($context, &$article, &$params, $limitstart) {
return $this->onPrepareContent( $article, $params, $limitstart);
}
function onPrepareContent( &$article, &$params, $page=0 ) {
{{{ ... plugin stuff ... }}}
Could you address me to the solution of the issue? Need i to enable/configure any other Joomla
native plugin (there are hundreds!) in order to make things work?
Thank you!