public function onContentPrepare(&$article, &$context) { $this->params->message = ''; $area = isset($article->created_by) ? 'articles' : 'other'; nnFrameworkHelper::processArticle($article, $context, $this, 'processModules', array($area)); }
public function onContentPrepare(&$article, &$context) { nnFrameworkHelper::processArticle($article, $context, $this, 'replaceTags'); }