File: /template/[mytemplate]/html/com_content/category/blog.php page...
Code: Select all
// Hack to run content modules on cat description
$article =& new JObject();
$article->text = $this->category->description;
$dispatcher =& JDispatcher::getInstance();
JPluginHelper::importPlugin( 'content' );
$results = $dispatcher->trigger('onPrepareContent', array (& $article, array(), 0));
$this->category->description= $article->text;