Does the fact the plugin is located in the /plugin/content directory mean it's restricted to com_content ?
I would like to use Mavik Thumbnail, or any other automatic thumbnail/popup generator for image.
Looking in the Mavik Thumbnail code, I can't see anything which would restrict to com content.
The class extends JPlugin, and in the class, there is the function :
function onBeforeDisplayContent( &$article, &$params, $limitstart ){
$this->article =& $article;
$this->articleParams =& $params;
$this->decorator->addHeader();
$regex = '##';
$article->text = preg_replace_callback($regex, array($this, "imageReplacer"), $article->text);
return '';
}
but, it doesn't in k2. Any idea ?
JoomlaWorks said:This means that the plugin is probably not published or that the plugin's code is restricted to com_content only.