Skip to content

Commit

Permalink
Update components/com_content/views/featured/view.html.php
Browse files Browse the repository at this point in the history
  • Loading branch information
krileon committed May 29, 2012
1 parent 6a40a87 commit 875414f
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions components/com_content/views/featured/view.html.php
Expand Up @@ -73,20 +73,16 @@ function display($tpl = null)

$dispatcher = JDispatcher::getInstance();

// Ignore content plugins on links.
if ($i < $numLeading + $numIntro)
{
$item->introtext = JHtml::_('content.prepare', $item->introtext, '', 'com_content.featured');
$item->introtext = JHtml::_('content.prepare', $item->introtext, '', 'com_content.featured');

$results = $dispatcher->trigger('onContentAfterTitle', array('com_content.article', &$item, &$item->params, 0));
$item->event->afterDisplayTitle = trim(implode("\n", $results));
$results = $dispatcher->trigger('onContentAfterTitle', array('com_content.article', &$item, &$item->params, 0));
$item->event->afterDisplayTitle = trim(implode("\n", $results));

$results = $dispatcher->trigger('onContentBeforeDisplay', array('com_content.article', &$item, &$item->params, 0));
$item->event->beforeDisplayContent = trim(implode("\n", $results));
$results = $dispatcher->trigger('onContentBeforeDisplay', array('com_content.article', &$item, &$item->params, 0));
$item->event->beforeDisplayContent = trim(implode("\n", $results));

$results = $dispatcher->trigger('onContentAfterDisplay', array('com_content.article', &$item, &$item->params, 0));
$item->event->afterDisplayContent = trim(implode("\n", $results));
}
$results = $dispatcher->trigger('onContentAfterDisplay', array('com_content.article', &$item, &$item->params, 0));
$item->event->afterDisplayContent = trim(implode("\n", $results));
}

// Preprocess the breakdown of leading, intro and linked articles.
Expand Down

0 comments on commit 875414f

Please sign in to comment.